DlmsProprietaryAttribute Class

User defined attribute of a DLMS object. It has a negative ID.

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

Constructors

DlmsProprietaryAttribute Constructor without parameter for serialization.
DlmsProprietaryAttribute(SByte, String, DlmsType) Initializes a new instance of DlmsProprietaryAttribute class.

Properties

AttributeId Attribute ID of the proprietary attribute. Has to be negative.
AttributeName Custom name of the attribute.
Value Value of the proprietary attribute.

Methods

Equals Returns true, if the attribute ID of obj is same as the ID of the instance.
(Overrides ObjectEquals(Object))
GetHashCode Implementation of GetHashCode which is required by implementation of Equeals.
(Overrides ObjectGetHashCode)

See Also