#
luxiaotao1123
2022-09-20 f4cae4647f5439a3ca83b187e0bf7fd6a1ab313f
src/main/java/com/zy/core/model/protocol/SteProtocol.java
@@ -36,7 +36,7 @@
    /**
     * 任务号
     */
    public Integer taskNo = 0;
    public Short taskNo = 0;
    /**
     * 正在执行任务
@@ -223,7 +223,7 @@
        if (alarm!=null) {
            basSte.setSteErr(alarm.longValue());
        }
        basSte.setWrkNo(taskNo);
        basSte.setWrkNo(taskNo.intValue());
        return basSte;
    }
@@ -236,7 +236,7 @@
    // 是否处于报警状态
    public Boolean isAlarm() {
        return this.alarm > 0;
        return this.alarm > 1;
    }
}