自动化立体仓库 - WCS系统
#
Junjie
2023-09-20 a18ed78675d0f7745ed1ebe519bfe0aa64c97dfe
src/main/java/com/zy/core/model/protocol/LiftProtocol.java
@@ -115,7 +115,14 @@
    /**
     * 作业标记
     */
    private Boolean pakMk = true;
    private Boolean pakMk = false;
    /**
     * 独占令牌
     * 未被任务占据,令牌为0
     * 被任务占据,将任务号赋值给令牌
     */
    private Integer token = 0;
    /**
     * 任务命令
@@ -152,7 +159,7 @@
        boolean res = (this.taskNo == 0 || this.taskNo.intValue() == taskNo.intValue())
                && !this.busy
                && this.model
                && this.pakMk.equals(true)
                && !this.pakMk
                && !this.deviceError
                ;
        return res;
@@ -172,7 +179,7 @@
        boolean res = this.taskNo == 0
                && !this.busy
                && this.model
                && this.pakMk.equals(true)
                && !this.pakMk
                && !this.deviceError
                ;
        return res;
@@ -191,7 +198,7 @@
        boolean res = !this.busy
                && this.model
                && this.pakMk.equals(true)
                && !this.pakMk
                && !this.deviceError
                ;
        return res;