![]() |
rodbus (.NET API) 1.6.0-RC1
|
Callbacks received when reading coils or discrete inputs More...
Inherited by rodbus.BitReadCallback.
Public Member Functions | |
| void | OnComplete (System.Collections.Generic.ICollection< BitValue > result) |
| Invoked when the asynchronous operation completes successfully More... | |
| void | OnFailure (RequestError error) |
| Invoked when the asynchronous operation fails More... | |
Callbacks received when reading coils or discrete inputs
On success, the iterator yields exactly the requested number of values in ascending, contiguous address order, beginning at the start of the requested AddressRange. A response containing too few or too many values fails the request.
| void rodbus.IBitReadCallback.OnComplete | ( | System.Collections.Generic.ICollection< BitValue > | result | ) |
Invoked when the asynchronous operation completes successfully
| result | Iterator over the values read from the server, in ascending address order |
| void rodbus.IBitReadCallback.OnFailure | ( | RequestError | error | ) |
Invoked when the asynchronous operation fails
| error | Enumeration indicating which error occurred |