PkLocoIOWriteStates Method |
Sends a messages to a LocoIO device writting state data.
Namespace:
RRAutoLib.Loconet
Assembly:
RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntaxpublic static void WriteStates(
LoconetService objLoconetService,
byte bytLocoIOAdr,
bool[] blnaMultiMask,
bool[] blnaMultiState
)
Parameters
- objLoconetService
- Type: RRAutoLib.LoconetLoconetService
A LoconetService instance that will service the command. - bytLocoIOAdr
- Type: SystemByte
LocoIO address to be assigned. Valid values are 1-79 and 81-127 with a default of 81. 80 is reserved for the PC. - blnaMultiMask
- Type: SystemBoolean
A Boolean 16 element array containing a mask indicating which of the 16 states should be written. - blnaMultiState
- Type: SystemBoolean
A Boolean 16 element array containing the state values to be written. Values masked out will be ignored.
RemarksThe LocoIO device being written will respond with a
PkPeerXfer packet as a write confirmation.
See Also