Method | Description | |
---|---|---|
CommitChanges ( bool force = false ) : void | ||
FetchState ( ) : void |
Compares the peeked state and the previous state and fires events if the state has changed. This method calls method PeekState automatically if the state is not peeked.
|
|
GetCommittedState ( ) : byte[] | ||
GetState ( ) : byte[] | ||
PeekState ( ) : void |
Reads the current state from the port expander but does not fire any events. Call FetchState after all port expanders are polled (peeked) to fire the events.
|
|
SetState ( byte state ) : void |
Method | Description | |
---|---|---|
CCToolsBoardBase ( DeviceId id, IPortExpanderDriver portExpanderDriver ) : System | ||
GetPort ( int number ) : |
Method | Description | |
---|---|---|
GetPortState ( int pinNumber ) : BinaryState | ||
JsonValueToByteArray ( JsonArray value ) : byte[] | ||
SetPortState ( int pinNumber, BinaryState state ) : void |
protected CCToolsBoardBase ( DeviceId id, IPortExpanderDriver portExpanderDriver ) : System | ||
id | DeviceId | |
portExpanderDriver | IPortExpanderDriver | |
return | System |
public CommitChanges ( bool force = false ) : void | ||
force | bool | |
return | void |
protected GetPort ( int number ) : |
||
number | int | |
return |