Method WriteDO4ThresholdAsync
WriteDO4ThresholdAsync(short, CancellationToken)
Asynchronously writes a value to the DO4Threshold register.
public Task WriteDO4ThresholdAsync(short value, CancellationToken cancellationToken = default)
Parameters
value
shortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.