自动化立体仓库 - WCS系统
#
Junjie
2023-10-01 80523e92e25ba762a3fe737ef7997f7e831890a0
#
1个文件已修改
5 ■■■■■ 已修改文件
src/main/java/com/zy/core/thread/NyShuttleThread.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/core/thread/NyShuttleThread.java
@@ -446,8 +446,9 @@
        }
        if (shuttleProtocol.getFree() == ShuttleStatusType.BUSY.id) {
            //停止充电
            if(!(command.getRequest().getBody().get("requestType").equals("stopCharge") && shuttleProtocol.getChargState() == 1)){
            String requestType = command.getRequest().getBody().get("requestType").toString();
            //停止充电 管制命令
            if(!(requestType.equals("stopCharge") && shuttleProtocol.getChargState() == 1) && !requestType.equals("resume")){
                return false;//小车状态忙,禁止执行命令
            }
        }