The LocoInfo type exposes the following members.


Public methodLocoInfo()()()()
Default constructor.
Public methodLocoInfo(Int32, Boolean, Int32, Int32, Byte, Byte, Boolean)
Full constructor.


Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFunctionStatus
Returns boolean representation of the current status of a given function output.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)


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