The XpressnetConnectorRoco type exposes the following members.



Public methodAccessoryInformation
Obtains information about an accessory (turnout) with a given address.
Public methodAccessoryOperate
Sets given output of the turnout on/off.
Public methodAccessoryOperateMomentary
Operates given turnout output momentarily (turns it on and then off after a given time).
Public methodConnect
Open the serial port for communication.
Public methodDisconnect
Closes the serial port.
Public methodEmergencyStop
Executes emergency stop (stops all locomotives, doesn't turn the track voltage off).
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 methodFireUnrequestedMessageEvent
Helper method for firing the UnrequestedMessageReceived event.
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.)
Public methodLocoInformation
Returns information about the current status of a given locomotive.
Public methodLocoLights
Turns the locomotive lights on or off.
Public methodLocoSetFunction
Sets given function active/inactive.
Public methodLocoSetSpeedAndDirection
Operates the given locomotive.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResumeOperation
Resumes locomotive operation after emergency stop.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)


Public propertyIsConnected
True if the serial port is opened.


Public eventUnrequestedMessageReceived
Event fired when PC receives a message that is not requested by any of the methods.

See Also