DlmsTypeProtectionMode Class

Represents protection_mode enumeration that is used in DlmsComProtection object.

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 DlmsTypeProtectionMode : DlmsTypeEnum
Inheritance
Object    DlmsType    DlmsTypeSimple    DlmsTypeEnum    DlmsTypeProtectionMode

Constructors

DlmsTypeProtectionMode Creates a new instance of DlmsTypeProtectionMode. This constructor is used by XmlSerializer.
DlmsTypeProtectionMode(Byte) Creates a new instance of DlmsTypeProtectionMode using a byte value.

Properties

TypeName Returns name of the type according to BB 4.1.5.
(Inherited from DlmsTypeEnum)
Value Current value of enum
(Inherited from DlmsTypeEnum)
ValueAsDateTime If it is possible returns a dat/time representation of the value.
(Inherited from DlmsType)
ValueAsDouble Returns a number representation of enum value.
(Inherited from DlmsTypeEnum)
ValueAsInvariantString String representation of enum value used to store a value in xml.
(Inherited from DlmsTypeEnum)
ValueAsRawData Returns value as bytes that can be sent to the server (meter).
(Inherited from DlmsTypeEnum)
ValueAsString Returns a string description of protection mode enumeration value.
(Overrides DlmsTypeEnumValueAsString)
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 Indicates that ValueAsDouble is available.
(Inherited from DlmsTypeEnum)

Methods

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

See Also