DlmsProtocolReadTime Method

Reads Time attrebute of DlmsClock object. DLMS association must be created before this method is called. Association can be created by CreateAssocitation method.

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Protocols.Dlms (in OddPrg.Protocols.Dlms.dll) Version: 2.0.0.13 (2.0.0.13)
C#
public void ReadTime(
	DlmsClock obj,
	DlmsDataParsed nextDataParsed,
	CancellationToken cancellationToken,
	bool ignoreDataResultError = false
)

Parameters

obj  DlmsClock
nextDataParsed  DlmsDataParsed
Callback method used to return next value while receiving block data.
cancellationToken  CancellationToken
ignoreDataResultError  Boolean  (Optional)
If true, exception is not thrown when meter does not return success for some attribute but continues reading next attribute.

See Also