| | |
| | | package com.example.agvcontroller.protocol; |
| | | |
| | | import com.example.agvcontroller.action.BackPaddle; |
| | | import com.example.agvcontroller.action.ForceStopAction; |
| | | import com.example.agvcontroller.action.ForceSwitchAction; |
| | | import com.example.agvcontroller.action.ForwardBackAction; |
| | | import com.example.agvcontroller.action.FrontPaddle; |
| | | import com.example.agvcontroller.action.HandExtendCollect; |
| | | import com.example.agvcontroller.action.HandForkRotatopn; |
| | | import com.example.agvcontroller.action.HandInAction; |
| | | import com.example.agvcontroller.action.HandLift; |
| | | import com.example.agvcontroller.action.HandOutAction; |
| | | import com.example.agvcontroller.action.RotatopnLeftRight; |
| | | import com.example.agvcontroller.action.SingleSwitchAction; |
| | | import com.example.agvcontroller.action.SingleSwitchRunAction; |
| | | |
| | | public enum HandleCmdType { |
| | | |
| | | HAND_OUT(0x00, "推出手动模式", HandOutAction.class), |
| | | HAND_OUT(0x00, "退出手动模式", HandOutAction.class), |
| | | |
| | | HAND_IN(0x01, "进入手动模式", HandInAction.class), |
| | | |
| | | FORCE_SWITCH(0x80, "开启/关闭强制", ForceSwitchAction.class), |
| | | |
| | | SINGLE_SWITCH(0x8C , "单轴使能", SingleSwitchAction.class), |
| | | |
| | | SINGLE_SWITCH_RUN(0x8C , "强制单轴点动", SingleSwitchRunAction.class), |
| | | |
| | | FORCE_STOP(0xF0, "急停", ForceStopAction.class), |
| | | |
| | | FORWARD_BACK(0x81, "点动前进(后退)", ForwardBackAction.class), |
| | | |
| | | ROTATOPN_LEFT_RIGHT(0x82, "点动旋转(底盘)", RotatopnLeftRight.class), |
| | | |
| | | HAND_LIFT(0x86, "手动控制升降", HandLift.class), |
| | | |
| | | HAND_FORK_ROTATOPN(0x87, "手动控制货叉旋转", HandForkRotatopn.class), |
| | | |
| | | HAND_EXTEND_COLLECT(0x88, "手动控制伸缩", HandExtendCollect.class), |
| | | |
| | | FRONT_PADDLE(0x89, "手动控制前拨杆", FrontPaddle.class), |
| | | |
| | | BACK_PADDLE(0x8A, "手动控制后拨杆", BackPaddle.class), |
| | | |
| | | |
| | | ; |
| | | |
| | | public int cmdCode; |