The LocoInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LocoInfo()()()() |
Default constructor.
| |
LocoInfo(Int32, Boolean, Int32, Int32, Byte, Byte, Boolean) |
Full constructor.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FunctionStatus |
Returns boolean representation of the current status of a given function output.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
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.
|