Click or drag to resize

UnitConversionType Enumeration

Type of unit conversion, when reading item data and axis.

Namespace:  DHI.Generic.MikeZero.DFS
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public enum UnitConversionType
Members
  Member nameValueDescription
NoConversion0 Do not convert

(dfs enum: F_NO_CONVERSION = 0)

UbgConversion1 Convert to/from UBG (Unit Base Group)

(dfs enum: F_UBG_CONVERSION = 1)

FreeConversion2 Convert to/from user defined unit, which must also be provided with this type.

(dfs enum: F_FREE_CONVERSION = 2)

FirstRegisteredUnitConversion3 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)

See Also