Represents a Loconet packet that moves a slot.

Namespace:  RRAutoLib.Loconet
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 1.3.3371.40749 (1.3.0.0)

Syntax

Visual Basic (Declaration)
<ComVisibleAttribute(False)> _
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 holds an instance of the LoconetService class


'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