Provides an abstract base class for all Loconet packet types.

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

Syntax

C#
[SerializableAttribute]
[KnownTypeAttribute(typeof(PkFastClock))]
[KnownTypeAttribute(typeof(PkSlotMove))]
[KnownTypeAttribute(typeof(PkReqSlotData))]
[KnownTypeAttribute(typeof(PkUnknown))]
[KnownTypeAttribute(typeof(PkSpecialOem))]
[KnownTypeAttribute(typeof(PkImmediate))]
[KnownTypeAttribute(typeof(PkSecurityElem))]
[KnownTypeAttribute(typeof(PkFind))]
[KnownTypeAttribute(typeof(PkLocoIO))]
[KnownTypeAttribute(typeof(PkPeerXfer))]
[KnownTypeAttribute(typeof(PkComStatOps))]
[KnownTypeAttribute(typeof(PkDccProgram))]
[KnownTypeAttribute(typeof(PkLocoSlot))]
[KnownTypeAttribute(typeof(PkRdWrSlotData))]
[KnownTypeAttribute(typeof(PkMultiSense))]
[KnownTypeAttribute(typeof(PkSetSlotSpeed))]
[KnownTypeAttribute(typeof(PkSetSlotDirFunc))]
[KnownTypeAttribute(typeof(PkSetSlotFunc5to8))]
[KnownTypeAttribute(typeof(PkSetSlotFunc9to12))]
[KnownTypeAttribute(typeof(PkSetSwitch))]
[KnownTypeAttribute(typeof(PkSetEmergStop))]
[KnownTypeAttribute(typeof(PkInput))]
[KnownTypeAttribute(typeof(PkLongAck))]
[KnownTypeAttribute(typeof(PkStatus))]
[KnownTypeAttribute(typeof(PkSlotUnlink))]
[KnownTypeAttribute(typeof(PkSlotLink))]
[KnownTypeAttribute(typeof(PkSwitchInput))]
[KnownTypeAttribute(typeof(PkGetSwitchState))]
[KnownTypeAttribute(typeof(PkSetLocoAdr))]
[KnownTypeAttribute(typeof(PkBusy))]
[KnownTypeAttribute(typeof(PkSetPowerOff))]
[KnownTypeAttribute(typeof(PkSetPowerOn))]
public abstract class Packet : ISerializable, 
	ICloneable
Visual Basic
<SerializableAttribute> _
<KnownTypeAttribute(GetType(PkFastClock))> _
<KnownTypeAttribute(GetType(PkSlotMove))> _
<KnownTypeAttribute(GetType(PkReqSlotData))> _
<KnownTypeAttribute(GetType(PkUnknown))> _
<KnownTypeAttribute(GetType(PkSpecialOem))> _
<KnownTypeAttribute(GetType(PkImmediate))> _
<KnownTypeAttribute(GetType(PkSecurityElem))> _
<KnownTypeAttribute(GetType(PkFind))> _
<KnownTypeAttribute(GetType(PkLocoIO))> _
<KnownTypeAttribute(GetType(PkPeerXfer))> _
<KnownTypeAttribute(GetType(PkComStatOps))> _
<KnownTypeAttribute(GetType(PkDccProgram))> _
<KnownTypeAttribute(GetType(PkLocoSlot))> _
<KnownTypeAttribute(GetType(PkRdWrSlotData))> _
<KnownTypeAttribute(GetType(PkMultiSense))> _
<KnownTypeAttribute(GetType(PkSetSlotSpeed))> _
<KnownTypeAttribute(GetType(PkSetSlotDirFunc))> _
<KnownTypeAttribute(GetType(PkSetSlotFunc5to8))> _
<KnownTypeAttribute(GetType(PkSetSlotFunc9to12))> _
<KnownTypeAttribute(GetType(PkSetSwitch))> _
<KnownTypeAttribute(GetType(PkSetEmergStop))> _
<KnownTypeAttribute(GetType(PkInput))> _
<KnownTypeAttribute(GetType(PkLongAck))> _
<KnownTypeAttribute(GetType(PkStatus))> _
<KnownTypeAttribute(GetType(PkSlotUnlink))> _
<KnownTypeAttribute(GetType(PkSlotLink))> _
<KnownTypeAttribute(GetType(PkSwitchInput))> _
<KnownTypeAttribute(GetType(PkGetSwitchState))> _
<KnownTypeAttribute(GetType(PkSetLocoAdr))> _
<KnownTypeAttribute(GetType(PkBusy))> _
<KnownTypeAttribute(GetType(PkSetPowerOff))> _
<KnownTypeAttribute(GetType(PkSetPowerOn))> _
Public MustInherit Class Packet _
	Implements ISerializable, ICloneable

Remarks

This class contains the base properties and methods that are common to all packet (classes with the Pk prefix) types.

Inheritance Hierarchy

See Also