Specifies the OpCode as defined by Loconet.
Namespace: RRAutoLib.LoconetAssembly: RRAutoLib (in RRAutoLib.dll) Version: 1.4.4420.16901
Syntax
| C# |
|---|
public enum OpCodes |
| Visual Basic |
|---|
Public Enumeration OpCodes |
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | Used by PkUnknown packet class. | |
| IDLE | 1 | Used by PkSetEmergStop packet class. | |
| GPON | 2 | Used by PkSetPowerOn packet class. | |
| GPOFF | 3 | Used by PkSetPowerOff packet class. | |
| BUSY | 4 | Used by PkBusy packet class. | |
| LOCO_ADR | 5 | Used by PkSetLocoAdr packet class. | |
| SW_ACK | 6 | Not implemented. | |
| SW_STATE | 7 | Used by PkGetSwitchState packet class. | |
| RQ_SL_DATA | 8 | Used by PkReqSlotData packet class. | |
| MOVE_SLOTS | 9 | Used by PkSlotMove packet class. | |
| LINK_SLOTS | 10 | Used by PkSlotLink packet class. | |
| UNLINK_SLOTS | 11 | Used by PkSlotUnlink packet class. | |
| CONSIST_FUNC | 12 | Not implemented. | |
| SLOT_STAT1 | 13 | Used by PkStatus packet class. | |
| LONG_ACK | 14 | Used by PkLongAck packet class. | |
| INPUT_REP | 15 | Used by PkInput packet class. | |
| SW_REP | 16 | Used by PkSwitchInput packet class. | |
| SW_REQ | 17 | Used by PkSetSwitch packet class. | |
| LOCO_F912 | 18 | Used by PkSetSlotFunc9to12 packet class. | |
| LOCO_SND | 19 | Used by PkSetSlotFunc5to8 packet class. | |
| LOCO_DIRF | 20 | Used by PkSetSlotDirFunc packet class. | |
| LOCO_SPD | 21 | Used by PkSetSlotSpeed packet class. | |
| MULTI_SENSE | 22 | Used by PkMultiSense packet class. | |
| WR_SL_DATA | 23 | Used by PkRdWrSlotData packet class. | |
| SL_RD_DATA | 24 | Used by PkRdWrSlotData packet class. | |
| PEER_XFER | 25 | Used by PkPeerXfer packet class. | |
| THROT_STAT | 26 | Not implemented. | |
| FIND | 27 | Used by PkFind packet class. | |
| SE | 28 | Used by PkSecurityElem packet class. | |
| IMM_PACKET | 29 | Used by PkImmediate packet class. | |
| SPCL_OEM | 30 | Used by PkSpecialOem packet class. |
Remarks
This enumeration is used by Packet classes. It represents a code identifier which defines a packet type and its command function as it relates to Loconet.