#
Junjie
1 天以前 98e6dd8f3597a36512699151a7f74b6cf733268f
src/main/java/com/zy/core/thread/ShuttleThread.java
@@ -6,6 +6,7 @@
import com.zy.common.model.NavigateNode;
import com.zy.core.ThreadHandler;
import com.zy.core.enums.ShuttleProtocolStatusType;
import com.zy.core.enums.ShuttleRequireChargeType;
import com.zy.core.enums.ShuttleTaskNoType;
import com.zy.core.model.CommandResponse;
import com.zy.core.model.command.ShuttleCommand;
@@ -42,7 +43,7 @@
    boolean isDeviceIdle(ExecuteSupport support);//设备是否空闲
    boolean isRequireCharge();//是否满足充电状态
    ShuttleRequireChargeType isRequireCharge();//是否满足充电状态
    boolean isCharging();//是否充电中
@@ -82,6 +83,8 @@
    ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed, List<NavigateNode> nodes);//获取移动命令
    ShuttleCommand getMoveLiftCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed, List<NavigateNode> nodes, Boolean moveIn);//获取移动命令
    ShuttleCommand getLiftCommand(Integer taskNo, Boolean lift);//顶升命令 true=>顶升 false=>下降
    ShuttleCommand getChargeCommand(Integer taskNo, Boolean charge);//充电开关命令 true=>开 false=>关