DlmsTypeSimple Class

Represents a simple value dlms type. In addition to DlmsType it should parse/return value as raw data.

Definition

Constructors

DlmsTypeSimple Paramaterless constructor used by XmlSerializer. Simple types are stored as LSB hex string raw data.

Properties

TypeName Name of the type according to BB 4.1.5.
(Inherited from DlmsType)
ValueAsDateTime If it is possible returns a dat/time representation of the value.
(Inherited from DlmsType)
ValueAsDouble If it is possible returns a number representation of the value. It could be applied also for integer values.
(Inherited from DlmsType)
ValueAsInvariantString Represents a simple type value as an invariant string used to store a value into xml file.
ValueAsRawData Represents a simple type value as a sequence of bytes that can be sent to a meter.
ValueAsString Returns a string representation of the data
(Inherited from DlmsType)
ValueIsDateTime This property should return true if ValueAsDateTime is available, otherwise it should return false.
(Inherited from DlmsType)
ValueIsMax Returns true if the value is equal to its maximal possible value which can indicate null for some meter types.
(Inherited from DlmsType)
ValueIsNumber This property should return true if ValueAsDouble is available, otherwise it should return false. It indicated if this value can be stored and treated as number.
(Inherited from DlmsType)

Methods

ToString Returns string representation of the value. It returns ValueAsString.
(Inherited from DlmsType)

See Also