DlmsMBusPortSetup Class

Abstract COSEM M-Bus port setup 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 DlmsMBusPortSetup : DlmsObject
Inheritance
Object    DlmsObject    DlmsMBusPortSetup

Constructors

DlmsMBusPortSetup Creates new instance of class DlmsMBusPortSetup. This constructor is used by XmlSerializer.
DlmsMBusPortSetup(DlmsTypeOctetString) Creates new instance of class DlmsMBusPortSetup using its logical name. This constructor is used for create DlmsAssociationSN after object_list is read using LN referencing.
DlmsMBusPortSetup(DlmsTypeLong, DlmsTypeOctetString) Creates new instance of class DlmsMBusPortSetup. 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)
ClassId Returns 1 as class id of COSEM Data object.
(Overrides DlmsObjectClassId)
DeviceType Carries the Device type identification element of the Data Header as specified in EN 13757-3:2013 sub-clause 5.8, Table 6.
DisplayDescription Returns description of all attributes fo displaying.
(Overrides DlmsObjectDisplayDescription)
IdentificationNumber Carries the Identification Number element of the Data Header as specified in sub-clause 5.5.
LastAttributeId ID of last defined attribute.
(Overrides DlmsObjectLastAttributeId)
ListeningWindow Defines the time points when the point-to-point communication window(s) become active (start_time) and inactive (end_time).The start_time implicitly defines the period.
LogicalName Logical name of the object used for LN refernecing. It corresponds to logical_name attribute defined in BB 4.2
(Inherited from DlmsObject)
ManufacturerId Carries the Manufacturer Identification element of the Data Header as specified in EN 13757-3:2013 sub-clause 5.6.
MaxPduSize Contains length capability available from M-Bus lower layers (expressed in bytes).
MBusDataHeaderType Carries the type of the M-Bus Data Header, derived from the CITL value from the current communication.
MBusPortCommunicationState Carries the communication status of the M-Bus node.
MBusProfileSelection References an M-Bus communication port setup object describing the physical capabilities for wired or wireless communication. The referenced object is either an “M-Bus slave port setup” object (class_id = 25) or a “Wireless Mode Q channel” object (class_id = 73).
MethodAccess Stored access rights to all methods. This property is filled after this object is created during reading object list.
(Inherited from DlmsObject)
PrimaryAddress Carries the primary address of the M-Bus slave device.
Version Carries the Version element of the Data Header as specified in EN 13757-3:2013 sub-clause 5.7.

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))
GetCommunicationStateDescription Gets descriptiono of control mode by its identificaion value.
GetDataHeaderTypeDescription Gets descriptiono of control mode by its identificaion value.
GetMethodIds Gets list of method IDs that are defined for the DLMS object.
(Inherited from DlmsObject)
GetMethodName Gets name of a method with a ID.
(Inherited from DlmsObject)
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