DlmsTypeVisibleString Class

Represents an ordered sequence of ASCII characters

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
C#
public class DlmsTypeVisibleString : DlmsTypeSimple
Inheritance
Object    DlmsType    DlmsTypeSimple    DlmsTypeVisibleString

Constructors

DlmsTypeVisibleString Paramaterless constructor used by XmlSerializer.
DlmsTypeVisibleString(ByteBuffer) Initializes a new instance of the DlmsTypeVisibleString class. The data string will be created using the ASCII encoding.
DlmsTypeVisibleString(DlmsTypeOctetString) Initializes a new instance of the DlmsTypeVisibleString class.
DlmsTypeVisibleString(String) Initializes a new instance of the DlmsTypeUTF8String class.

Properties

TypeName Returns name of the type according to BB 4.1.5.
(Overrides DlmsTypeTypeName)
ValueAsASCIIString Returns a ASCII representation of octet-string value for displaying.
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 String representation of visible-string value used to store a value in xml.
(Overrides DlmsTypeSimpleValueAsInvariantString)
ValueAsRawData Returns value as bytes that can be sent to the server (meter).
(Overrides DlmsTypeSimpleValueAsRawData)
ValueAsString String representation of visible-string value used for displaying.
(Overrides DlmsTypeValueAsString)
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)

Fields

TYPE_ID COSEM type ID

See Also