#
Junjie
2024-05-10 14a6067ac871ed3c0d73ee1d1939db7a7aefe13a
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/ShuttleThread.java
@@ -1,6 +1,7 @@
package com.zy.asrs.wcs.rcs.thread;
import com.zy.asrs.wcs.common.ExecuteSupport;
import com.zy.asrs.wcs.core.domain.param.ShuttleMoveLocParam;
import com.zy.asrs.wcs.core.model.NavigateNode;
import com.zy.asrs.wcs.core.model.command.ShuttleCommand;
import com.zy.asrs.wcs.core.model.enums.MotionCtgType;
@@ -12,7 +13,9 @@
public interface ShuttleThread extends ThreadHandler{
    ShuttleProtocol getStatus();//获取四向穿梭车状态
    ShuttleProtocol getStatus(boolean clone);//获取四向穿梭车状态
    ShuttleProtocol getStatus();//获取四向穿梭车状态-默认clone
    Device getDevice();//获取设备信息
@@ -32,6 +35,8 @@
    boolean isDeviceIdle();//设备是否空闲
    boolean isDeviceIdle(ExecuteSupport support);//设备是否空闲
    boolean isRequireCharge();//是否满足充电状态
    boolean isCharging();//是否充电中
@@ -48,9 +53,11 @@
    boolean setPakMk(boolean pakMk);//设置标记
    boolean enableMoveLoc(ShuttleMoveLocParam param);
    //***************获取命令*****************
    ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed);//获取移动命令
    ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed, List<NavigateNode> nodes);//获取移动命令
    ShuttleCommand getLiftCommand(Integer taskNo, Boolean lift);//顶升命令 true=>顶升 false=>下降