Method WriteOutputStateAsync
WriteOutputStateAsync(DigitalOutputs, CancellationToken)
Asynchronously writes a value to the OutputState register.
public Task WriteOutputStateAsync(DigitalOutputs value, CancellationToken cancellationToken = default)
Parameters
valueDigitalOutputsThe value to be stored in the register.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.