PkImmediate Class |
Namespace: RRAutoLib.Loconet
<SerializableAttribute> Public Class PkImmediate Inherits Packet
The PkImmediate type exposes the following members.
| Name | Description | |
|---|---|---|
| PkImmediate | Initializes a new instance of the PkImmediate class | |
| PkImmediate(SerializationInfo, StreamingContext) | Used to inherit custom serialization from Packet because constructors are not inherited. |
| Name | Description | |
|---|---|---|
| Bytes | Gets the bytes that makes up a Loconet packet message. (Inherited from Packet.) | |
| DccAddress | Gets or sets the DCC address encoded in the DccBytesByte. | |
| DccByteCount | Gets or sets the number of significant bytes in the DccBytesByte not including the checksum byte. | |
| DccBytes | Gets or sets the bytes that make up the DCC packet payload. | |
| DccFunctions | Gets or sets the data encoded in the DccBytesByte related to function change requests. | |
| DccInstruction | Gets or sets the DCC instruction encoded in the DccBytesByte. | |
| Description | User friendly description of the packet. (Overrides PacketDescription.) | |
| ID | Gets the unique identifier of the packet. (Inherited from Packet.) | |
| IsDccLongAdr | Gets the length type of the DCC address encoded in the DccBytesByte. | |
| IsEchoe | Gets value indicating if the packet is an echoe. (Inherited from Packet.) | |
| NeedsPacketResponse | Gets value indicating if this packet expects a response packet. (Inherited from Packet.) | |
| OpCode | Gets the Loconet operation code associated with the packet. (Overrides PacketOpCode.) | |
| ParmsDesc | User friendly description of the most significant packet parameters. (Overrides PacketParmsDesc.) | |
| PostTxWait | Gets or sets the time in milliseconds to wait after sending this packet before performing the next step. (Inherited from Packet.) | |
| RepeatCount | Gets or sets the number of times to repeat the DCC packet transmission. | |
| RxPacket | Gets the received response packet post transmit. (Inherited from Packet.) | |
| Tag | Gets or sets an arbitrary object that is associated with the packet. (Inherited from Packet.) | |
| TimeStamp | Gets an event time stamp of the packet's echo or arrival. (Inherited from Packet.) |
| Name | Description | |
|---|---|---|
| BytesToString | Converts the Bytes into a readable string. (Inherited from Packet.) | |
| Clone | Creates a copy of the packet. (Inherited from Packet.) | |
| GetObjectData | (Inherited from Packet.) | |
| ValidPacketResponse | (Overrides PacketValidPacketResponse(Packet).) |
| 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.) | |
| _objRxPacket | Exposed through RxPacket property. (Inherited from Packet.) | |
| _objTag | Exposed through Tag property. (Inherited from Packet.) | |
| _sctID | Exposed through ID property. (Inherited from Packet.) | |
| _srtPostTxWait | Exposed through PostTxWait property. (Inherited from Packet.) |
'assumes LoconetService (locServ) has been previously initialized and started locServ.TxPacket(New PkImmediate() With { .DccAddress = 813, .DccInstruction = PkImmediate.DccInstrType.Func21To28, .DccFunctions = {1, 0, 0, 0, 1, 0, 0, 0} })