Junjie
2023-06-27 00d9f3f5cf3b046cb42098c9bc13f2313a435f53
src/main/java/com/zy/core/model/protocol/LiftProtocol.java
@@ -268,8 +268,30 @@
        return res;
    }
    // 是否处于空闲待命状态,不判断任务号
    public Boolean isIdleNoTask() {
        if(this.taskNo == null
                || this.liftLock == null
                || this.ready == null
                || this.running == null
                || this.mode == null
                || this.pakMk == null
        ){
            return false;
        }
        boolean res = !this.liftLock
//                && this.ready
                && !this.running
                && this.mode
                && this.pakMk
                && !this.securityMk
                ;
        return res;
    }
    public void setPositionArrivalFeedback(Short position) {
        Short lev = 1;
        Short lev = null;
        switch (position) {
            case 1:
                lev = 1;