zjj
2024-11-25 0f69561e397093b5165c4aac58530721d5c62178
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/ShuttleThread.java
@@ -6,6 +6,7 @@
import com.zy.asrs.wcs.core.model.command.ShuttleCommand;
import com.zy.asrs.wcs.core.model.enums.MotionCtgType;
import com.zy.asrs.wcs.rcs.entity.Device;
import com.zy.asrs.wcs.rcs.model.CommandResponse;
import com.zy.asrs.wcs.rcs.model.enums.ShuttleProtocolStatusType;
import com.zy.asrs.wcs.rcs.model.protocol.ShuttleProtocol;
@@ -19,17 +20,17 @@
    Device getDevice();//获取设备信息
    boolean movePath(List<NavigateNode> nodes, Integer taskNo);//路径下发
    CommandResponse movePath(List<NavigateNode> nodes, Integer taskNo);//路径下发
    boolean move(ShuttleCommand command);//移动
    CommandResponse move(ShuttleCommand command);//移动
    boolean lift(ShuttleCommand command);//顶升
    CommandResponse lift(ShuttleCommand command);//顶升
    boolean charge(ShuttleCommand command);//充电开关
    CommandResponse charge(ShuttleCommand command);//充电开关
    boolean reset(ShuttleCommand command);//复位开关
    CommandResponse reset(ShuttleCommand command);//复位开关
    boolean updateLocation(ShuttleCommand param);//更新坐标
    CommandResponse updateLocation(ShuttleCommand command);//更新坐标
    boolean isIdle();
@@ -57,6 +58,8 @@
    boolean enableMoveLoc(ShuttleMoveLocParam param, boolean enable);
    boolean requestWaiting();
    //***************获取命令*****************
    ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed, List<NavigateNode> nodes);//获取移动命令