Represents a Loconet packet that moves a slot.

Namespace: RRAutoLib.Loconet
Assembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4420.16901

Syntax

C#
[SerializableAttribute]
public class PkSlotMove : Packet
Visual Basic
<SerializableAttribute> _
Public Class PkSlotMove _
	Inherits Packet

Remarks

One of two packet responses is expected:

Examples

This example demonstrates how PkSlotMove is used to purge a slot:
CopyVB.NET
'assumes objLoconetService has been previously initialized and started


'slot being released
Dim bytSlot As Byte = 5

'set slot speed to 0
objLoconetService.TxPacket(New PkSetSlotSpeed(bytSlot, 0))  

'set slot status
objLoconetService.TxPacket(New PkStatus(bytSlot, SlotActivity.Idle, ConsistType.NoConsist, SpeedSteps.DCC_128_SS))

'do a slot move to special slot 0
objLoconetService.TxPacket(New PkSlotMove(bytSlot, 0))

Inheritance Hierarchy

System..::..Object
  RRAutoLib.Loconet..::..Packet
    RRAutoLib.Loconet..::..PkSlotMove

See Also