class ConversionAttribute
Parents | |
|
The attribute to specify the conversion rule for the measurement unit.
The attribute is applied on enumeration fields which describe one unit of the measurement (e.g. "meter")
One of the enumeration fields must always be attributed as a base value.
The operation defined is the conversion from the unit to the base unit.
Public Properties | |
The numeric factor for the first operation |
|
The first operation to be performed in order to convert the unit into base value |
|
The numeric factor for the second operation |
|
The second operation to be performed in order to convert the unit into base value |
Public Constructors | |
The constructor to specify the base unit |
|
The constructor to specify a custom conversion |
|
The constructor to specify one operation conversion |
|
The constructor to specify two-operation conversion |