From b5dad5bca39b68fdaaaf844e38fcc55e94bb34f1 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 14 四月 2023 15:23:50 +0800 Subject: [PATCH] 地图处于其他楼层时无法显示提升机口站点问题 --- src/main/java/com/zy/core/thread/LiftThread.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/core/thread/LiftThread.java b/src/main/java/com/zy/core/thread/LiftThread.java index d6e574d..0e31dee 100644 --- a/src/main/java/com/zy/core/thread/LiftThread.java +++ b/src/main/java/com/zy/core/thread/LiftThread.java @@ -412,10 +412,20 @@ liftProtocol.setShuttleNo((short) 0); liftProtocol.setProtocolStatus(LiftProtocolStatusType.IDLE); liftProtocol.setPakMk(true); + liftProtocol.setSecurityMk(false); } News.info("鎻愬崌鏈烘墜鍔ㄤ换鍔℃墽琛屽畬鎴愶紝鎻愬崌鏈哄彿={}锛屼换鍔℃暟鎹�={}", command.getLiftNo(), JSON.toJSON(command)); } + //涓嬪彂涓�鏉℃彁鍗囨満瑙i攣鍛戒护 + LiftCommand liftCommand = new LiftCommand(); + liftCommand.setRun((short) 0); + liftCommand.setLiftNo(command.getLiftNo()); + liftCommand.setLiftLock(false); + if (write(liftCommand)) { + News.info("鎻愬崌鏈虹姸鎬佸凡瑙i攣锛屾彁鍗囨満鍙�={}锛屼换鍔℃暟鎹�={}", command.getLiftNo(), JSON.toJSON(command)); + } + } } -- Gitblit v1.9.1