The PkLocoIO type exposes the following members.

Constructors

  Name Description
Public method PkLocoIO()()()()
Initializes a new instance of the PkLocoIO class
Protected method PkLocoIO(SerializationInfo, StreamingContext)
Used to inherit custom serialization from Packet because constructors are not inherited.

Methods

  Name Description
Public method Static member BroadcastAddress
Sends a broadcast messages to all LocoIO devices seen on the network.
Public method BytesToString
Converts the Bytes into a readable string.
(Inherited from Packet.)
Public method Clone
Creates a copy of the packet.
(Inherited from Packet.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected method GetObjectData (Inherited from Packet.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Read
Reads requested data, returned from the LocoIO.
Public method Static member RequestConfig
Sends a message to a LocoIO device requesting configuration data.
Public method Static member RequestSetup
Sends a message to a LocoIO device requesting setup data.
Public method Static member RequestStates
Sends a message to a LocoIO device requesting states data.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public method ValidPacketResponse (Overrides Packet..::..ValidPacketResponse(Packet).)
Public method Static member WriteConfig
Sends three messages to a LocoIO device writting configuration data.
Public method Static member WriteSetup
Sends a message to a LocoIO device writting setup data.
Public method Static member WriteStates
Sends a messages to a LocoIO device writting state data.

Fields

  Name Description
Protected field _blnIsEchoe
Exposed through IsEchoe property.
(Inherited from Packet.)
Protected field _bytaBytes
Exposed through Bytes property.
(Inherited from Packet.)
Protected field _dblTimeStamp
Exposed through TimeStamp property.
(Inherited from Packet.)
Protected field _delCallBackOnEcho
Exposed through CallBackOnEcho property.
(Inherited from Packet.)
Protected field _delCallBackOnResponse
Exposed through CallBackOnResponse property.
(Inherited from Packet.)
Protected field _objTag
Exposed through Tag property.
(Inherited from Packet.)
Protected field _sctID
Exposed through ID property.
(Inherited from Packet.)
Protected field _sctReqID
Exposed through ReqID property.
(Inherited from Packet.)

Properties

  Name Description
Public property Address
Target address of the LocoIO device this packet is being sent to.
Public property Bytes
Gets the bytes that makes up a Loconet packet message.
(Inherited from Packet.)
Public property CallBackOnEcho
Gets or sets callback parameters to invoke upon successfull packet transmission.
(Inherited from Packet.)
Public property CallBackOnResponse
Gets or sets callback parameters to invoke upon receipt of the response packet.
(Inherited from Packet.)
Public property Command
The action this LocoIO packet will perform.
Public property Data
Gets or sets the 8 bytes to be moved.
(Inherited from PkPeerXfer.)
Public property Description
Gets a user friendly description of the packet.
(Overrides PkPeerXfer..::..Description.)
Public property ID
Gets the unique identifier of the packet.
(Inherited from Packet.)
Public property IsEchoe
Gets value indicating if the packet is an echoe.
(Inherited from Packet.)
Public property MultiMask
Ports to be affected by a multiport write.
Public property MultiState
Port state values for a multiport write.
Public property NeedsPacketResponse (Overrides Packet..::..NeedsPacketResponse.)
Public property OpCode
Gets the Loconet operation code associated with the packet.
(Inherited from PkPeerXfer.)
Public property ParmsDesc
Gets a user friendly parameter description of the packet.
(Overrides PkPeerXfer..::..ParmsDesc.)
Public property ReadData
Values returned from the LocoIO's memory registers.
Public property Register
The memory register to be read or written to in a LocoIO device.
Public property ReqID
Gets the unique identifier of the requesting packet.
(Inherited from Packet.)
Public property SourceID
Gets or sets the source identifier of the byte move.
(Inherited from PkPeerXfer.)
Public property SubAddress
Target sub-address of the LocoIO device this packet is being sent to.
Public property Tag
Gets or sets an arbitrary object that is associated with the packet.
(Inherited from Packet.)
Public property TargetHighAdr
Gets or sets the target's high address of the byte move.
(Inherited from PkPeerXfer.)
Public property TargetLowAdr
Gets or sets the target's low address of the byte move.
(Inherited from PkPeerXfer.)
Public property TimeStamp
Gets an event time stamp of the packet's echo or arrival.
(Inherited from Packet.)
Public property WriteData
Value to be written to a LocoIO's memory register.

See Also