DlmsDemandRegister Class

Abstract COSEM Dlms Demand register 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 DlmsDemandRegister : DlmsExtendedRegister
Inheritance
Object    DlmsObject    DlmsData    DlmsRegister    DlmsExtendedRegister    DlmsDemandRegister

Constructors

DlmsDemandRegister Creates new instance of class DlmsLimiter. This constructor is used by XmlSerializer.
DlmsDemandRegister(DlmsTypeOctetString) Creates new instance of class DlmsLimiter using its logical name. This constructor is used for create DlmsAssociationSN after object_list is read using LN referencing.
DlmsDemandRegister(DlmsTypeLong, DlmsTypeOctetString) Creates new instance of class DlmsLimiter. 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)
CaptureTime Date/Time of register value. It correspomds to capture_time attribute of the register object defined in BB 4.3.3.
(Inherited from DlmsExtendedRegister)
ClassId Returns 1 as class id of COSEM Data object.
(Overrides DlmsExtendedRegisterClassId)
DisplayDescription Returns description of all attributes fo displaying.
(Inherited from DlmsExtendedRegister)
LastAttributeId ID of last defined attribute.
(Overrides DlmsExtendedRegisterLastAttributeId)
LastAverageValue Provides the value of the energy accumulated (over the last number_of_periods*period) divided by number_of_periods*period. The energy of the current (not terminated) period is not considered by the calculation.
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)
NumberOfPeriods The number of periods used to calculate the last_average_value. number_of_periods >= 1 number_of_periods > 1 indicates that the last_average_value represents “sliding demand”. number_of_periods = 1 indicates that the last_average_value represents "block demand".
Period Period is the interval between two successive updates of the last_average_value. (number_of_periods*period is the denominator for the calculation of the demand).
ScalerUnit Scaler and unit of the register. It correspomds to scaler_unit attribute of the register object defined in BB 4.3.2.
(Inherited from DlmsRegister)
StartTimeCurrent Provides the date and time when the measurement of the current_average_value has been started.
Status Status of the register. It correspomds to status attribute of the register object defined in BB 4.3.3.
(Inherited from DlmsExtendedRegister)
Value Value of Data object. It corresponds to value attribute defined in BB 4.3.1.
(Inherited from DlmsData)
ValueAsString Displays Value as string. If necessary, the value is corrected with scaler from ScalerUnit.
(Inherited from DlmsRegister)
ValueWithUnit Gets the value attribute with the unit.
(Inherited from DlmsExtendedRegister)

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 DlmsExtendedRegisterClassVersionSupported(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 DlmsExtendedRegisterGetAttributeId(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 DlmsExtendedRegisterGetAttributeName(SByte))
GetAttributeValue Gets a value of COSEM attribute with specified name.
(Overrides DlmsExtendedRegisterGetAttributeValue(SByte))
GetAttributeVariableName Returns a variable name used in SN referencing of a given attribute. Attribute short name offsets are defined in BB.
(Overrides DlmsExtendedRegisterGetAttributeVariableName(SByte))
GetMethodIds Gets list of method IDs that are defined for the DLMS object.
(Overrides DlmsRegisterGetMethodIds)
GetMethodName Gets name of a method with a ID.
(Overrides DlmsRegisterGetMethodName(SByte))
GetScaledValueAsString Gets value in parameter as string. If necessary, the value is corrected with scaler from ScalerUnit.
(Inherited from DlmsRegister)
GetScaledValueWithUnitAsString Gets value in parameter as string. If necessary, the value is corrected with scaler from ScalerUnit. Also unit is displayed.
(Inherited from DlmsRegister)
SetAttributeValue Sets a value to COSEM attribute of specified name.
(Overrides DlmsExtendedRegisterSetAttributeValue(SByte, DlmsType))
ToString Returns string representation of the object.
(Inherited from DlmsObject)

Fields

See Also