DlmsProfileGeneric Class

Abstract COSEM Profile Generic class defined in BB 4.3.1.

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

Constructors

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

Properties

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)
Buffer Contains a sequence of entries. Each entry contains values of the captured objects (as they would be returned to a GET.request or Read. request).
CaptureObjects Specifies the list of capture objects that are assigned to the object instance. Upon a call of the capture (data) method or automatically in defined intervals, the selected attributes are copied into the buffer of the profile.
CapturePeriod >= 1: Automatic capturing assumed. Specifies the capturing period in seconds. 0: No automatic capturing; capturing is triggered externally or capture events occur asynchronously.
ClassId Returns 1 as class id of COSEM Data object.
(Overrides DlmsObjectClassId)
DisplayDescription Returns description of all attributes fo displaying.
(Overrides DlmsObjectDisplayDescription)
EntriesInUse Counts the number of entries stored in the buffer. After a call of the reset () method, the buffer does not contain any entries, and this value is zero. Upon each subsequent call of the capture () method, this value will be incremented up to the maximum number of entries that will get stored (see profile_entries).
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)
MethodAccess Stored access rights to all methods. This property is filled after this object is created during reading object list.
(Inherited from DlmsObject)
ProfileEntries Specifies how many entries shall be retained in the buffer.
SortMethod Sort method of the profile
SortObject If the profile is sorted, this attribute specifies the register or clock that the ordering is based upon.

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))
CreateBufferEntrySelector Gets the parameters for creating selective access reading of the buffer attribute of the Profile object with entry specification
CreateBufferRangeSelector Gets the parameters for creating selective access reading of the buffer attribute of the Profile object with range specification
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