DlmsTypeMethodAccessMode Class

Enumeration that represents method access mode defined in BB 4.4.2.

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

Constructors

DlmsTypeMethodAccessMode Paramaterless constructor used by XmlSerializer.
DlmsTypeMethodAccessMode(DlmsTypeBoolean) Creates a new instance of DlmsTypeMethodAccessMode using source enumeration returned by the server. This constructor is used when meter uses Aoociation LN version 0.
DlmsTypeMethodAccessMode(DlmsTypeEnum) Creates a new instance of DlmsTypeMethodAccessMode using source enumeration returned by the server. This constructor is used when meter uses Aoociation LN version 1.

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 represenation for dispaying using current culture info.
(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

GetAccessModeDescription Returns a description of method access mode.
ToString Returns string representation of the value. It returns ValueAsString.
(Inherited from DlmsType)

See Also