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