DlmsAttributeDescriptor Class

Class that describes the attrribute in GET request. GET request is used to read attribute values using LN referencing.

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 DlmsAttributeDescriptor
Inheritance
Object    DlmsAttributeDescriptor

Constructors

DlmsAttributeDescriptor Creates new instance of class DlmsAttributeDescriptor.

Properties

AttributeId COSEM attribute ID of an attribute whose value is requested. You can use GetAttributeID method of specified class if you know the attribute name.
ClassId COSEM class ID, to which the attribute belongs. You can use CLASS_ID constant of specified class.
InstanceId Logical name of instance, to wchich the attribute belongs. You can use DlmsTypeOctetString.CreateFromDelimitedString method or some of DlmsTypeOctetString constructors to create tis value. According to DLMS standard it should containg 6 bytes.

Methods

Create Creates request part of attribute descriptor. It can be included in get request and sent to a server (meter).
GetSizeInBytes Returns the size in bytes of attribute descriptor in GET request.

See Also