Click or drag to resize

PkReqSlotData Class

Represents a Loconet packet that requests a slot's data.
Inheritance Hierarchy

Namespace:  RRAutoLib.Loconet
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
<SerializableAttribute>
Public Class PkReqSlotData
	Inherits Packet

The PkReqSlotData type exposes the following members.

Constructors
  NameDescription
Public methodPkReqSlotData
Initializes a new instance of the PkReqSlotData class
Protected methodPkReqSlotData(SerializationInfo, StreamingContext)
Used to inherit custom serialization from Packet because constructors are not inherited.
Public methodPkReqSlotData(UInt16, Boolean)
Initializes a new instance of the PkReqSlotData class
Top
Properties
  NameDescription
Public propertyBytes
Gets the bytes that makes up a Loconet packet message.
(Inherited from Packet.)
Public propertyDescription
User friendly description of the packet.
(Overrides PacketDescription.)
Public propertyExpanded
Indicates that the newer expanded slot format is expected as response.
Public propertyID
Gets the unique identifier of the packet.
(Inherited from Packet.)
Public propertyIsEchoe
Gets value indicating if the packet is an echoe.
(Inherited from Packet.)
Public propertyNeedsPacketResponse
Gets value indicating if this packet expects a response packet.
(Inherited from Packet.)
Public propertyOpCode
Gets the Loconet operation code associated with the packet.
(Overrides PacketOpCode.)
Public propertyParmsDesc
User friendly description of the most significant packet parameters.
(Overrides PacketParmsDesc.)
Public propertyPostTxWait
Gets or sets the time in milliseconds to wait after sending this packet before performing the next step.
(Inherited from Packet.)
Public propertyRxPacket
Gets the received response packet post transmit.
(Inherited from Packet.)
Public propertySlot
Gets or sets the command stations's slot number.
Public propertyTag
Gets or sets an arbitrary object that is associated with the packet.
(Inherited from Packet.)
Public propertyTimeStamp
Gets an event time stamp of the packet's echo or arrival.
(Inherited from Packet.)
Top
Methods
  NameDescription
Public methodBytesToString
Converts the Bytes into a readable string.
(Inherited from Packet.)
Public methodCode exampleClone
Creates a copy of the packet.
(Inherited from Packet.)
Protected methodGetObjectData (Inherited from Packet.)
Public methodValidPacketResponse (Overrides PacketValidPacketResponse(Packet).)
Top
Fields
  NameDescription
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_objRxPacket
Exposed through RxPacket 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_srtPostTxWait
Exposed through PostTxWait property.
(Inherited from Packet.)
Top
Remarks
The packet responses depend on the following:
  • Normal slot 1-120 requests will receive a PkLocoSlot packet.
  • Normal slot 123 request will receive a PkFastClock packet.
  • Normal slot 124 request will receive a PkDccProgram packet.
  • Normal slot 127 request will receive a PkComStatOps packet.
  • Other normal slots requests will receive a generic PkRdWrSlotData packet.
  • Expanded slot requests, will receive a PkRdWrSlotDataExp packet.
  • Uhlenbrock's Intellibox uniquely responds with a PkLongAck packet for slots it doesn't support.
  • See Also