#[repr(i32)]pub enum UnitSymbolKind {
Show 35 variants
None = 0,
Meter = 2,
Gram = 3,
Amp = 5,
Deg = 9,
Rad = 10,
DegC = 23,
Farad = 25,
Sec = 27,
Henry = 28,
V = 29,
Ohm = 30,
Joule = 31,
Newton = 32,
Hz = 33,
W = 38,
Pa = 39,
M2 = 41,
Siemens = 53,
Va = 61,
VAr = 63,
WPerVa = 65,
VAh = 71,
Wh = 72,
VArh = 73,
HzPerS = 75,
WPerS = 81,
Other = 100,
Ah = 106,
Min = 159,
Hour = 160,
M3 = 166,
WPerM2 = 179,
DegF = 279,
Mph = 500,
}
Expand description
The units defined for usage in the CIM.
Variants§
None = 0
Dimension less quantity, e.g. count, per unit, etc.
Meter = 2
Length in meter.
Gram = 3
Mass in gram.
Amp = 5
Current in ampere.
Deg = 9
Plane angle in degrees.
Rad = 10
Plane angle in radians.
DegC = 23
Relative temperature in degrees Celsius. In the SI unit system the symbol is ºC. Electric charge is measured in coulomb that has the unit symbol C. To distinguish degree Celsius form coulomb the symbol used in the UML is degC. Reason for not using ºC is the special character º is difficult to manage in software.
Farad = 25
Capacitance in farad.
Sec = 27
Time in seconds.
Henry = 28
Inductance in Henry.
V = 29
Voltage in volt.
Ohm = 30
Resistance in ohm.
Joule = 31
Energy in joule.
Newton = 32
Force in newton.
Hz = 33
Frequency in hertz.
W = 38
Active power in watt.
Pa = 39
Pressure in pascal (n/m2).
M2 = 41
Area in square meters.
Siemens = 53
Conductance in siemens.
Va = 61
Apparent power in volt ampere.
VAr = 63
Reactive power in volt ampere reactive.
WPerVa = 65
Power factor
VAh = 71
Apparent energy in volt ampere hours.
Wh = 72
Real energy in what hours.
VArh = 73
Reactive energy in volt ampere reactive hours.
HzPerS = 75
MISSING DOCUMENTATION!!!
WPerS = 81
MISSING DOCUMENTATION!!!
Other = 100
Other enum not listed
Ah = 106
Amp hour
Min = 159
Time in minutes.
Hour = 160
Time in hours.
M3 = 166
Volume in cubic meters.
WPerM2 = 179
Watts per square meter
DegF = 279
Relative temperature in degree fahrenheit.
Mph = 500
Mile per hour
Implementations§
Trait Implementations§
Source§impl Clone for UnitSymbolKind
impl Clone for UnitSymbolKind
Source§fn clone(&self) -> UnitSymbolKind
fn clone(&self) -> UnitSymbolKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more