The LocoInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
Address |
Locomotive address.
| |
Direction |
Direction of travel. True = forwards, false = backwards.
| |
IsFree |
True if the locomotive is free to be operated. False if the locomotive is being controlled by another Xpressnet device.
| |
Speed |
Current speed of the locomotive. Possible values: 0 = speed step 0, 1 = emergency stop, 2 = speed step 1, 3 = speed step 2 and so on.
| |
StatusF0toF4 |
Status of function outputs F0 to F4 as bits of a byte (0 0 0 F0 F4 F3 F2 F1).
| |
StatusF5toF12 |
Status of function outputs F5 to F12 as bits of a byte (F12 F11 F10 F9 F8 F7 F6 F5).
| |
Steps |
Number of speed steps. Possible values: 14/27/28/128.
|