DlmsClock Class

Abstract COSEM Clock class defined in BB 4.3.1.

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

Constructors

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

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)
ClockBase Defines where the basic timing information comes from. It corresponds to clock_base attribute of the clock object defined in BB 4.3.3.
ClockBaseValues Available set of Clock bases.
DaylightSavingsBegin Defines the local switch date and time when the local time has to be deviated from the normal time. It corresponds to daylight_savings_begin attribute of the clock object defined in BB 4.3.3.
DaylightSavingsDeviation Contains the number of minutes by which the deviation in generalized time must be corrected at daylight savings begin. It corresponds to daylight_savings_deviation attribute of the clock object defined in BB 4.3.3.
DaylightSavingsEnabled True if DST enabled It corresponds to daylight_savings_enabled attribute of the clock object defined in BB 4.3.3.
DaylightSavingsEnd Analogic meaning as DaylightSavingsBegin property. It corresponds to daylight_savings_end attribute of the clock object defined in BB 4.3.3.
DisplayDescription Returns description of all attributes fo 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)
Status The status is equal to the status read in time. It corresponds to status attribute of the clock object defined in BB 4.3.3.
Time Contains the meter’s local date and time, its deviation to UTC and the status.
TimeZone The deviation of local, normal time to UTC in minutes. It correspomds to time_zone attribute of the clock object defined in BB 4.3.3.

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))
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

See Also