From 7c7c26161435045bf3449a4e4436084eb2ee9d33 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期四, 13 七月 2023 14:49:25 +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