The LoconetService type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
LoconetService |
Initializes a new instance of the LoconetService class
|
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.) |
|
|
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.) |
|
|
Start |
Starts the Loconet service and connects to the serial port.
|
|
|
Stop |
Stops the Loconet service and disconnects from the serial port.
|
|
|
ToString | (Inherited from Object.) |
|
|
TxPacket |
Transmits a packet asynchronously with normal priority.
|
|
|
TxPriorityPacket |
Transmits a packet asynchronously with high priority.
|
|
|
TxPrioritySpeed |
Transmits a locomotive speed control packet asynchronously with high priority.
|
|
|
TxSyncPacket |
Transmits a packet synchronously with normal priority.
|
Properties
| Name | Description | |
|---|---|---|
|
|
BaudRate |
Gets or sets the baud rate speed of the Loconet interface.
|
|
|
ComPort |
Gets or sets the communication port number of the Loconet interface.
|
|
|
FlowControl |
Gets or sets whether flow control should be used with the Loconet interface.
|
|
|
IsStarted |
Indicates whether the Loconet service has been started.
|
|
|
SyncContext |
Gets or sets the SyncContext object on whose thread events are raised.
|
Events
| Name | Description | |
|---|---|---|
|
|
RxPacketOnSyncThread |
Occurs when a Loconet packet is received.
|
|
|
RxPacketOnWorkerThread |
Occurs when a Loconet packet is received.
|