Junjie
2023-06-29 0c9b8fe24e495da1f5e3362fa6b36acc41617cb7
src/main/java/com/zy/core/thread/ShuttleThread.java
@@ -804,6 +804,10 @@
            }
        }
        if (commands.size() == 0) {
            return false;
        }
        //取出命令
        ShuttleCommand command = commands.get(commandStep);
@@ -1069,8 +1073,13 @@
    }
    private boolean executeLift(LiftThread liftThread, LiftProtocol liftProtocol, ShuttleRedisCommand redisCommand, Integer shuttleLocNoLev) {//调度提升机
        if (liftProtocol.getRunning()) {
            //提升机运行中,禁止下发
        if (!liftProtocol.isIdle()) {
            //提升机不空闲禁止下发
            return false;
        }
        if (liftProtocol.getPlatShuttleCheck()) {
            //提升机内有车禁止下发
            return false;
        }