Junjie
2023-06-20 e74708ae35b2ad051af052bf542741bf7cd01ec4
src/main/java/com/zy/core/thread/LiftThread.java
@@ -421,12 +421,6 @@
                liftOptService.insert(opt);
            }
            try {
                Thread.sleep(1000);//命令下发完成后休眠1s
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
            //判断数据是否执行完成
            if (commandStep < size - 1) {
                //更新redis数据
@@ -442,8 +436,7 @@
                //对主线程抛出等待确认状态waiting
                liftProtocol.setProtocolStatus(LiftProtocolStatusType.WAITING);
                News.info("提升机任务执行完成等待确认中,提升机号={},任务数据={}", command.getLiftNo(), JSON.toJSON(command));
                News.info("提升机任务执行下发完成等待执行结束,提升机号={},任务数据={}", command.getLiftNo(), JSON.toJSON(command));
            }
        }