#
qlsxk
1 天以前 ba9270a11c3811624ebc0dc4c9ce34bb786c6f34
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);
                }
            }