DlmsTypeProtectionStatus Class

Represents protection_status 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 DlmsTypeProtectionStatus : DlmsTypeEnum
Inheritance
Object    DlmsType    DlmsTypeSimple    DlmsTypeEnum    DlmsTypeProtectionStatus

Constructors

DlmsTypeProtectionStatus Creates a new instance of DlmsTypeProtectionStatus. This constructor is used by XmlSerializer.
DlmsTypeProtectionStatus(Byte) Creates a new instance of DlmsTypeProtectionStatus 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

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

See Also