17 "electric_field_strength",
19 ::comms::Icons::mdi::arrow_expand_horizontal,
20 ::comms::Colors::mui::amber[400])
27 "magnetic_field_strength",
29 ::comms::Icon::from(
"ph:magnet"),
30 ::comms::Colors::mui::indigo[300])
36 "coulomb per kilogram",
37 "ionizing_radiation_exposure",
39 ::comms::Icons::mdi::radioactive_circle_outline,
40 ::comms::Colors::mui::pink[700])
49 ::comms::Icons::mdi::sine_wave,
50 ::comms::Colors::mui::deep_orange[300])
56 "volt-ampere reactive",
59 ::comms::Icons::mdi::sine_wave,
60 ::comms::Colors::mui::deep_orange[200])
69 ::comms::Icons::mdi::battery_high,
70 ::comms::Colors::mui::deep_orange[600])
79 ::comms::Icons::mdi::battery,
80 ::comms::Colors::mui::amber[800])
89 ::comms::Icons::mdi::chart_timeline_variant,
90 ::comms::Colors::mui::amber[300])
99 ::comms::Icons::mdi::resistor,
100 ::comms::Colors::mui::brown[500])
109 ::comms::Icons::mdi::resistor_nodes,
110 ::comms::Colors::mui::brown[600])
119 ::comms::Icon::from(
"mdi:capacitor"),
120 ::comms::Colors::mui::brown[200])
129 ::comms::Icon::from(
"mdi:coil"),
130 ::comms::Colors::mui::brown[700])
139 ::comms::Icon::from(
"material-symbols:electric-bolt-rounded"),
140 ::comms::Colors::mui::amber[400])
149 ::comms::Icon::from(
"mdi:capacitor"),
150 ::comms::Colors::mui::brown[300])
159 ::comms::Icons::mdi::resistor,
160 ::comms::Colors::mui::brown[400])
169 ::comms::Icons::mdi::resistor_nodes,
170 ::comms::Colors::mui::brown[500])
179 ::comms::Icon::from(
"mdi:coil"),
180 ::comms::Colors::mui::brown[600])
186 "coulomb per second",
189 ::comms::Icon::from(
"material-symbols:electric-bolt-rounded"),
190 ::comms::Colors::mui::amber[600])
Macros that expand into a CRTP unit/measure struct and a runtime auto-registration for it.
#define DIMVAL_DEFINE_UNIT(Tag, Id, Symbol, ShortName, LongName, Kind, Factor, Icon, Color,...)
Define a unit struct in ::dimval and auto-register its descriptor at static-init time.
Definition define.hpp:72