UnitConversionType Enumeration |
Namespace: DHI.Generic.MikeZero.DFS
Member name | Value | Description | |
---|---|---|---|
NoConversion | 0 |
Do not convert
(dfs enum: F_NO_CONVERSION = 0) | |
UbgConversion | 1 |
Convert to/from UBG (Unit Base Group)
(dfs enum: F_UBG_CONVERSION = 1) | |
FreeConversion | 2 |
Convert to/from user defined unit, which must
also be provided with this type.
(dfs enum: F_FREE_CONVERSION = 2) | |
FirstRegisteredUnitConversion | 3 |
Converts to/from the first registered unit for the given item type.
This parameter is mostly used by engines/tools that is based on the first registered unit. The engine/tool can then provide data in the usual (first registered) unit, and still provide a file in another unit. The first registered unit need not be base unit (SI), in case the base unit is not specified as an allowed unit for an item. (dfs enum: F_1ST_REGISTERED_UNIT_CONVERSION = 3) |