The LocoInfo type exposes the following members.


Public propertyAddress
Locomotive address.
Public propertyDirection
Direction of travel. True = forwards, false = backwards.
Public propertyIsFree
True if the locomotive is free to be operated. False if the locomotive is being controlled by another Xpressnet device.
Public propertySpeed
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.
Public propertyStatusF0toF4
Status of function outputs F0 to F4 as bits of a byte (0 0 0 F0 F4 F3 F2 F1).
Public propertyStatusF5toF12
Status of function outputs F5 to F12 as bits of a byte (F12 F11 F10 F9 F8 F7 F6 F5).
Public propertySteps
Number of speed steps. Possible values: 14/27/28/128.

See Also