#
Junjie
2 天以前 76f70e9b4cac4a0dc9b02274de3fa7152c7921f4
src/main/java/com/zy/core/action/LiftAction.java
@@ -129,15 +129,15 @@
            LiftCommand lastCommand = commands.get(commandStep - 1);
            if (lastCommand.getMode() == LiftTaskModeType.PICK_PUT.id) {
                if (liftProtocol.getLev() == lastCommand.getPut()) {
                if (liftProtocol.getLev() == lastCommand.getPutLev()) {
                    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);
                }
            }