DlmsProtocolReadProfile Method
Reads attribute buffer of generic profile. If communication fails, returned data are partially parsed and filled in obj and exception is then re-thrown.
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Protocols.Dlms (in OddPrg.Protocols.Dlms.dll) Version: 2.0.0.13 (2.0.0.13)
public void ReadProfile(
DlmsProfileGeneric obj,
DateTime dtFrom,
DateTime dtTo,
DlmsTypeObjectDefinition clockDefinition,
DlmsTypeObjectDefinitionList selectedColumns,
bool ignoreDst,
bool parsePartialResponse,
DlmsDataParsed nextDataParsed,
CancellationToken cancellationToken
)
Parameters
- obj DlmsProfileGeneric
- Profile to read.
- dtFrom DateTime
- Time to read buffer from.
- dtTo DateTime
- Time to read buffer to.
- clockDefinition DlmsTypeObjectDefinition
- selectedColumns DlmsTypeObjectDefinitionList
-
Restriction to read only selected columns or empty DlmsTypeObjectDefinitionList object to read all columns (note that some meters does not support to read selected columns).
- ignoreDst Boolean
- parsePartialResponse Boolean
- If true, obj will contain partial data if communication ends with an error.
- nextDataParsed DlmsDataParsed
- cancellationToken CancellationToken