DlmsAssociationLN Class

COSEM class Association LN defined in BB 4.4.2.

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

Constructors

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

Properties

ApplicationContextName In the COSEM environment, it is intended that an application context pre-exists and is referenced by its name during the establishment of an AA. This attribute contains the name of the application context for that AA.
AssociatedPartnersId Attribute associated_partners_id defined in BB 4.4.2.
AssociationStatus Current association status
AttributeAccess Stored access rights to all attributes. this property is filled after this object is created during reading object list.
(Inherited from DlmsObject)
AuthenticationMechanismName Contains the name of the authentication mechanism for the AA.
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)
CurrentUser Holds the identifier of the current user.
DisplayDescription Returns information about association for 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)
MethodAccess Stored access rights to all methods. This property is filled after this object is created during reading object list.
(Inherited from DlmsObject)
ObjectList Attribute object_list defined in BB 4.4.2.
Secret Contains the secret for the LLS or HLS authentication process.
SecuritySetupReference References a “Security setup” object by its logical name. The referenced object manages security for a given “Association LN” object instance.
UserList Contains the list of users allowed to use the AA managed by the given instance of the “Association LN” IC.
XDlmsContextInfo Contains all the necessary information on the xDLMS context for the given AA.

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))
CreateObjectListClassSelector Creates a selective access descriptor for "object_list" attribute Reads only classes with desired IDs.
GetApplicationContextId Gets app context name according to the current settings.
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))
GetSecurityLevel Gets authentication mechanism according to current settings.
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