From c13fe87d70e81d7dcb604f8f1227de8f313cbefc Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期三, 10 七月 2024 09:26:51 +0800 Subject: [PATCH] # --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java index ae8097c..a6a4cfb 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java +++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java @@ -92,8 +92,13 @@ //----------璇诲彇鎻愬崌鏈虹姸鎬�----------- //妯″紡 liftProtocol.setModel(true); + + boolean runningState = data.getInteger("runningState") == 1; + if (!data.getInteger("completeTaskNo").equals(data.getInteger("taskNo"))) { + runningState = true;//宸ヤ綔鍙蜂笉涓�鑷达紝璁や负澶勪簬杩愯涓� + } //杩愯鐘舵�� - liftProtocol.setRun(data.getInteger("runningState") == 1); + liftProtocol.setRun(runningState); //灏辩华鐘舵�� liftProtocol.setReady(data.getInteger("readyState") == 1); //鏈夋墭鐩� -- Gitblit v1.9.1