The PkLocoIO type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
PkLocoIO()()()() |
Initializes a new instance of the PkLocoIO class
|
|
|
PkLocoIO(SerializationInfo, StreamingContext) |
Used to inherit custom serialization from Packet because constructors are not inherited.
|
Methods
| Name | Description | |
|---|---|---|
|
|
BroadcastAddress |
Sends a broadcast messages to all LocoIO devices seen on the network.
|
|
|
BytesToString |
Converts the Bytes into a readable string. (Inherited from Packet.) |
|
|
Clone |
Creates a copy of the packet. (Inherited from Packet.) |
|
|
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.) |
|
|
GetObjectData | (Inherited from Packet.) |
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
|
Read |
Reads requested data, returned from the LocoIO.
|
|
|
RequestConfig |
Sends a message to a LocoIO device requesting configuration data.
|
|
|
RequestSetup |
Sends a message to a LocoIO device requesting setup data.
|
|
|
RequestStates |
Sends a message to a LocoIO device requesting states data.
|
|
|
ToString | (Inherited from Object.) |
|
|
ValidPacketResponse | (Overrides Packet..::..ValidPacketResponse(Packet).) |
|
|
WriteConfig |
Sends three messages to a LocoIO device writting configuration data.
|
|
|
WriteSetup |
Sends a message to a LocoIO device writting setup data.
|
|
|
WriteStates |
Sends a messages to a LocoIO device writting state data.
|
Fields
| Name | Description | |
|---|---|---|
|
|
_blnIsEchoe |
Exposed through IsEchoe property. (Inherited from Packet.) |
|
|
_bytaBytes |
Exposed through Bytes property. (Inherited from Packet.) |
|
|
_dblTimeStamp |
Exposed through TimeStamp property. (Inherited from Packet.) |
|
|
_delCallBackOnEcho |
Exposed through CallBackOnEcho property. (Inherited from Packet.) |
|
|
_delCallBackOnResponse |
Exposed through CallBackOnResponse property. (Inherited from Packet.) |
|
|
_objTag |
Exposed through Tag property. (Inherited from Packet.) |
|
|
_sctID |
Exposed through ID property. (Inherited from Packet.) |
|
|
_sctReqID |
Exposed through ReqID property. (Inherited from Packet.) |
Properties
| Name | Description | |
|---|---|---|
|
|
Address |
Target address of the LocoIO device this packet is being sent to.
|
|
|
Bytes |
Gets the bytes that makes up a Loconet packet message. (Inherited from Packet.) |
|
|
CallBackOnEcho |
Gets or sets callback parameters to invoke upon successfull packet transmission. (Inherited from Packet.) |
|
|
CallBackOnResponse |
Gets or sets callback parameters to invoke upon receipt of the response packet. (Inherited from Packet.) |
|
|
Command |
The action this LocoIO packet will perform.
|
|
|
Data |
Gets or sets the 8 bytes to be moved. (Inherited from PkPeerXfer.) |
|
|
Description |
Gets a user friendly description of the packet. (Overrides PkPeerXfer..::..Description.) |
|
|
ID |
Gets the unique identifier of the packet. (Inherited from Packet.) |
|
|
IsEchoe |
Gets value indicating if the packet is an echoe. (Inherited from Packet.) |
|
|
MultiMask |
Ports to be affected by a multiport write.
|
|
|
MultiState |
Port state values for a multiport write.
|
|
|
NeedsPacketResponse | (Overrides Packet..::..NeedsPacketResponse.) |
|
|
OpCode |
Gets the Loconet operation code associated with the packet. (Inherited from PkPeerXfer.) |
|
|
ParmsDesc |
Gets a user friendly parameter description of the packet. (Overrides PkPeerXfer..::..ParmsDesc.) |
|
|
ReadData |
Values returned from the LocoIO's memory registers.
|
|
|
Register |
The memory register to be read or written to in a LocoIO device.
|
|
|
ReqID |
Gets the unique identifier of the requesting packet. (Inherited from Packet.) |
|
|
SourceID |
Gets or sets the source identifier of the byte move. (Inherited from PkPeerXfer.) |
|
|
SubAddress |
Target sub-address of the LocoIO device this packet is being sent to.
|
|
|
Tag |
Gets or sets an arbitrary object that is associated with the packet. (Inherited from Packet.) |
|
|
TargetHighAdr |
Gets or sets the target's high address of the byte move. (Inherited from PkPeerXfer.) |
|
|
TargetLowAdr |
Gets or sets the target's low address of the byte move. (Inherited from PkPeerXfer.) |
|
|
TimeStamp |
Gets an event time stamp of the packet's echo or arrival. (Inherited from Packet.) |
|
|
WriteData |
Value to be written to a LocoIO's memory register.
|