DlmsRegisterActivation Class

Abstract COSEM Register Activation class defined in BB

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 DlmsRegisterActivation : DlmsObject
Inheritance
Object    DlmsObject    DlmsRegisterActivation

Constructors

DlmsRegisterActivation Creates new instance of class DlmsRegisterActivation. This constructor is used by XmlSerializer.
DlmsRegisterActivation(DlmsTypeOctetString) Creates new instance of class DlmsRegisterActivation using its logical name. This constructor is used for create DlmsAssociationSN after object_list is read using LN referencing.
DlmsRegisterActivation(DlmsTypeLong, DlmsTypeOctetString) Creates new instance of class DlmsRegisterActivation. This constructor is used for create DlmsAssociationSN after object_list is read using SN referencing.

Properties

ActiveMask Defines the currently active mask. The mask is defined by its mask_name (see mask_list).
AttributeAccess Stored access rights to all attributes. this property is filled after this object is created during reading object list.
(Inherited from DlmsObject)
BaseName Base name of the object used for SN referencing.
(Inherited from DlmsObject)
ClassId Class ID
(Overrides DlmsObjectClassId)
DisplayDescription Returns description of all attributes fo displaying.
(Overrides DlmsObjectDisplayDescription)
LastAttributeId ID of last defined attribute.
(Overrides DlmsObjectLastAttributeId)
LogicalName Logical name of the object used for LN refernecing. It corresponds to logical_name attribute defined in BB 4.2
(Inherited from DlmsObject)
MaskList Specifies a list of register activation masks. Each entry (mask) is identified by its mask_name and contains an array of indices referring to the registers assigned to the mask (the first object in register_assignment is referenced by index 1, the second object by index 2,…).
MethodAccess Stored access rights to all methods. This property is filled after this object is created during reading object list.
(Inherited from DlmsObject)
RegisterAssignment Specifies an ordered list of COSEM objects assigned to the “Register activation” object. The list may contain different kinds of COSEM objects, for example “Register”, “Extended register” or “Demand register”.

Methods

AddProprietaryAttribute Guarantees that the DLMS object will have a proprietary attribute with attributeIndex or attributeName
(Inherited from DlmsObject)
ClassVersionSupported Checks if this object implements particular class version.
(Overrides DlmsObjectClassVersionSupported(Byte))
GetAttributeAccess Returns attribute access rights of attribute with given id. It uses AttributeAccess property which is filled during reading an object list.
(Inherited from DlmsObject)
GetAttributeId Gets the attribute index from the short name used in SN referencing
(Overrides DlmsObjectGetAttributeId(UInt16))
GetAttributeIds Returns a list of COSEM attribute IDs this object contains and are implemented.
(Inherited from DlmsObject)
GetAttributeName Gets name of the attribute.
(Overrides DlmsObjectGetAttributeName(SByte))
GetAttributeValue Gets a value of COSEM attribute with specified name.
(Overrides DlmsObjectGetAttributeValue(SByte))
GetAttributeVariableName Returns a variable name used in SN referencing of a given attribute. Attribute short name offsets are defined in BB.
(Overrides DlmsObjectGetAttributeVariableName(SByte))
GetMethodIds Gets list of method IDs that are defined for the DLMS object.
(Overrides DlmsObjectGetMethodIds)
GetMethodName Gets name of a method with a ID.
(Overrides DlmsObjectGetMethodName(SByte))
SetAttributeValue Sets a value to COSEM attribute of specified name.
(Overrides DlmsObjectSetAttributeValue(SByte, DlmsType))
ToString Returns string representation of the object.
(Inherited from DlmsObject)

Fields

See Also