From 073ba7c8afcbeedcc7dad4f0f7c1d1b6eaa82daf Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期四, 13 七月 2023 15:04:12 +0800
Subject: [PATCH] #提升机移动数据更新

---
 src/main/java/com/zy/core/model/protocol/ShuttleProtocol.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/core/model/protocol/ShuttleProtocol.java b/src/main/java/com/zy/core/model/protocol/ShuttleProtocol.java
index 065926c..7c57f24 100644
--- a/src/main/java/com/zy/core/model/protocol/ShuttleProtocol.java
+++ b/src/main/java/com/zy/core/model/protocol/ShuttleProtocol.java
@@ -264,7 +264,8 @@
         boolean res = this.busyStatusType.equals(ShuttleStatusType.IDLE)
                 && this.pakMk.equals(true)
                 && this.errorCodeType.equals(ShuttleErrorCodeType.NORMAL)
-                && (this.taskNo == 0 || this.taskNo == taskNo)
+                && (this.taskNo == 0 || this.taskNo.intValue() == taskNo.intValue())
+                && this.protocolStatus.intValue() == ShuttleProtocolStatusType.IDLE.id
                 ;
         if (!res) {
             return res;

--
Gitblit v1.9.1