DlmsProtocolWriteAttributes Method
Writes the values to the attributes of the object with selective access option
The arrays passed as the parameters must have the same length.
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Protocols.Dlms (in OddPrg.Protocols.Dlms.dll) Version: 2.0.0.13 (2.0.0.13)
public void WriteAttributes(
DlmsObject obj,
DlmsAttributeInfo[] attributeInfo,
DlmsType[] values,
CancellationToken cancellationToken,
bool broadcast = false
)
Parameters
- obj DlmsObject
- attributeInfo DlmsAttributeInfo
- Information about attributes to write. It includes attribute names and optionally selective access params.
- values DlmsType
- Values to write
- cancellationToken CancellationToken
- broadcast Boolean (Optional)
-
Indicates if broadcast transfer will be used, i.e. no response is expected. If block or with-list transfer is needed, exception is thrown.