DlmsTypeConformanceBlock Class

Represents conformance block bit mask - 3 Bytes = 24 bits. It correcponds to Conformance type from abstract DLMS/COSEM syntax.

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 DlmsTypeConformanceBlock : DlmsTypeBitString
Inheritance
Object    DlmsType    DlmsTypeSimple    DlmsTypeBitString    DlmsTypeConformanceBlock

Constructors

DlmsTypeConformanceBlock Creates a new instance of DlmsTypeConformanceBlock. This constructor is used by XmlSerializer.
DlmsTypeConformanceBlock(Boolean) Creates a new instance of DlmsTypeConformanceBlock using values of conformance bits.
DlmsTypeConformanceBlock(ByteBuffer) Creates a new instance of DlmsTypeConformanceBlock using raw data.

Properties

Count Returns the count of items in the array.
(Inherited from DlmsTypeBitString)
Item Default read-only indexer which returns items of the array
(Inherited from DlmsTypeBitString)
TypeName Returns name of the type according to BB 4.1.5.
(Inherited from DlmsTypeBitString)
ValueAsArray Returns the value as an array of boolean values
(Inherited from DlmsTypeBitString)
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 Returns a string representation of bit-string value.
(Inherited from DlmsTypeBitString)
ValueAsRawData Returns value as bytes that can be sent to the server (meter).
(Inherited from DlmsTypeBitString)
ValueAsString Returns a string representation of the value for displaying
(Overrides DlmsTypeBitStringValueAsString)
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

CreateDefaultLNConformanceBlock Creates the client conformance block for LN referencing. It can be sent to the server in AARQ.
CreateDefaultSNConformanceBlock Creates the client conformance block for SN referencing. It can be sent to the server in AARQ.
GetName Returns name of a bit with specified index
ToString Returns string representation of the value. It returns ValueAsString.
(Inherited from DlmsType)

Fields

INDEX_ACTION LN - action
INDEX_ATTRIBUTE0_SUPPORTED_WITH_GET LN - attribute0-supported-with-get
INDEX_ATTRIBUTE0_SUPPORTED_WITH_SET LN - attribute0-supported-with-set
INDEX_BLOCK_TRANSFER_WITH_ACTION LN - block-transfer-with-action
INDEX_BLOCK_TRANSFER_WITH_GET_OR_READ LN/SN - block-transfer-with-get-or-read
INDEX_BLOCK_TRANSFER_WITH_SET_OR_WRITE LN/SN - block-transfer-with-set-or-write
INDEX_EVENT_NOTIFICATION LN - event-notification
INDEX_GET LN - get
INDEX_INFORMATION_REPORT SN - information-report
INDEX_MULTIPLE_REFERENCES LN/SN - multiple-references
INDEX_PARAMETRIZED_ACCESS SN - parametrized-access
INDEX_PRIORITY_MGMT_SUPPORTED LN - priority-mgmt-supported
INDEX_READ SN - read
INDEX_SELECTIVE_ACCESS LN - selective-access
INDEX_SET LN - set
INDEX_UNCONFIRMED_WRITE SN - unconfirmed-write
INDEX_WRITE SN - write

See Also