From 8bd2d11de3a3493078225c874fdc9a57c4eac12c Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期五, 07 十一月 2025 10:23:08 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/action/LiftAction.java | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/main/java/com/zy/core/action/LiftAction.java b/src/main/java/com/zy/core/action/LiftAction.java
index 81a20b7..fa61265 100644
--- a/src/main/java/com/zy/core/action/LiftAction.java
+++ b/src/main/java/com/zy/core/action/LiftAction.java
@@ -129,15 +129,16 @@
LiftCommand lastCommand = commands.get(commandStep - 1);
if (lastCommand.getMode() == LiftTaskModeType.PICK_PUT.id) {
- if (liftProtocol.getLev() == lastCommand.getPut()) {
- lastCommand.setComplete(true);
- }
+// if (liftProtocol.getLev() == lastCommand.getPutLev()) {
+// lastCommand.setComplete(true);
+// }
+ lastCommand.setComplete(true);
} else if (lastCommand.getMode() == LiftTaskModeType.SHUTTLE_SWITCH.id) {
- if (liftProtocol.getLev() == lastCommand.getPut()) {
+ if (liftProtocol.getLev() == lastCommand.getPutLev()) {
lastCommand.setComplete(true);
}
} else if (lastCommand.getMode() == LiftTaskModeType.MOVE.id) {
- if (liftProtocol.getLev() == lastCommand.getPut()) {
+ if (liftProtocol.getLev() == lastCommand.getPutLev()) {
lastCommand.setComplete(true);
}
}
--
Gitblit v1.9.1