OcaUnitOfMeasure¶
-
class
OcaUnitOfMeasure
()¶ Enumeration of units of measure that can be used in OCA classes. Only SI (base or derived) units are specified, so that internal calculations will not need to convert. If conversion is needed it should only be done in user interfaces. The datatype of a reading expressed in one of these units of measure is FLOAT.
-
OcaUnitOfMeasure.
Ampere
¶ type: OcaUnitOfMeasure
Singleton object corresponding to the entry with value
4
.
-
OcaUnitOfMeasure.
DegreeCelsius
¶ type: OcaUnitOfMeasure
Singleton object corresponding to the entry with value
2
.
-
OcaUnitOfMeasure.
Hertz
¶ type: OcaUnitOfMeasure
Singleton object corresponding to the entry with value
1
.
-
OcaUnitOfMeasure.
None
¶ type: OcaUnitOfMeasure
Singleton object corresponding to the entry with value
0
.
-
OcaUnitOfMeasure.
Ohm
¶ type: OcaUnitOfMeasure
Singleton object corresponding to the entry with value
5
.
-
OcaUnitOfMeasure.
Volt
¶ type: OcaUnitOfMeasure
Singleton object corresponding to the entry with value
3
.
-