#
whycq
2024-08-19 756933610f922ae828bd1df34693463bfad33605
app/src/main/java/com/example/agvcontroller/protocol/HandleCmdType.java
@@ -1,16 +1,33 @@
package com.example.agvcontroller.protocol;
import com.example.agvcontroller.action.ForceStopAction;
import com.example.agvcontroller.action.ForceSwitchAction;
import com.example.agvcontroller.action.ForwardBackAction;
import com.example.agvcontroller.action.HandInAction;
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),
    ;
    public int cmdCode;