DfsSimpleType Enumeration |
Enum for data types.
Compatible with TSobject, TimeSeries.idl (see comments on enum members)
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 DfsSimpleType
Public Enumeration DfsSimpleType
public enum class DfsSimpleType
Members
| Member name | Value | Description |
---|
| Float | 1 |
data type: float, in TSObject: Type_Float
dfs enum: UFS_FLOAT = 1
|
| Double | 2 |
data type: double, in TSObject: Type_Double
dfs enum: UFS_DOUBLE = 2
|
| Byte | 3 |
data type: byte, in TSObject: Type_Char
Be aware of the difference to the ufs: In UFS this is type char, but
since C# uses 16 bit chars and C++ uses 8 bit chars, we have to use byte (8 bit) in C#
dfs enum: UFS_CHAR = 3
|
| Int | 4 |
data type: int, in TSObject: Type_Int
dfs enum: UFS_INT = 4
|
| UInt | 5 |
data type: uint, in TSObject: Type_Unsigned
dfs enum: UFS_UNSIGNED = 5
|
| Short | 6 |
data type: short, in TSObject: Type_Short
dfs enum: UFS_SHORT = 6
|
| UShort | 7 |
data type: ushort, in TSObject: Type_Unsigned_Short
dfs enum: UFS_USHORT = 7
|
Remarks
From ufs.h.
This does not include the file control tags in the ufs dll, as it
is assumed that these are not returned by the ufs API. The total list
is:
UFS_BAD = -4, // file control tag: bad
UFS_MIN_VALUE = -3, // file control tag: For internal use only
UFS_BLOCK = -2, // file control tag: For internal use only
UFS_TERMINATOR = -1, // file control tag: For internal use only
UFS_EOF = 0, // file control tag: end-of-file
UFS_FLOAT = 1, // data type: float, in TSObject: Type_Float
UFS_DOUBLE = 2, // data type: double, in TSObject: Type_Double
UFS_CHAR = 3, // data type: byte, c++ type char, in TSObject: Type_Char
UFS_INT = 4, // data type: int, in TSObject: Type_Int
UFS_UNSIGNED = 5, // data type: uint, in TSObject: Type_Unsigned
UFS_SHORT = 6, // data type: short, in TSObject: Type_Short
UFS_USHORT = 7, // data type: ushort, in TSObject: Type_Unsigned_Short
UFS_MAX_VALUE = 8, // file control tag: For internal use only
See Also