DlmsCredit Class

Represents a COSEM class Credit, class_id = 112.

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

Constructors

DlmsCredit Constructor used by XML serializer.
DlmsCredit(DlmsTypeLong) Initializes a new instance of DlmsCredit class.
DlmsCredit(DlmsTypeOctetString) Initializes a new instance of DlmsCredit class.
DlmsCredit(DlmsTypeLong, DlmsTypeOctetString) Initializes a new instance of DlmsCredit class.

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 COSEM class id of specified object.
(Overrides DlmsObjectClassId)
CreditAvailableThreshold Attribute credit_available_threshold.
CreditConfiguration Attribute credit_configuration.
CreditStatus Attribute credit_status.
CreditType Attribute credit_type.
CurrentCreditAmount Attribute current_credit_amount.
DisplayDescription Returns description of all attributes for displaying. It should return null or empty string if object is empty (not read). Returns string values of all attributes at this level. If a descendant has attributes with huge values such as structures or arrays, it should override this property to display values.
(Overrides DlmsObjectDisplayDescription)
LastAttributeId ID of last defined attribute.
(Overrides DlmsObjectLastAttributeId)
Limit Attribute limit.
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)
PresetCreditAmount Attribute preset_credit_amount.
Priority Attribute priority.
WarningThreshold Attribute warning_threshold.

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
(Inherited from DlmsObject)
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.
(Inherited from DlmsObject)
GetCreditStatusDescription Returns a description of credit status.
GetCreditTypeDescription Returns a description of credit type.
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

CLASS_ID ID of COSEM class Credit.
METHOD_INVOKE_CREDIT 
METHOD_SET_AMOUNT_TO_VALUE 
METHOD_UPDATE_AMOUNT 
ProprietaryAttributes List of user defined attributes.
(Inherited from DlmsObject)

See Also