#
Junjie
2025-08-27 190201789934d7b2b4344e0eba6b4a0c2e38f54e
src/main/java/com/zy/core/model/protocol/LiftProtocol.java
@@ -39,12 +39,22 @@
    /**
     * 任务状态
     */
    private Integer protocolStatus = LiftProtocolStatusType.NONE.id;
    private Integer protocolStatus = LiftProtocolStatusType.IDLE.id;
    /**
     * 任务状态枚举
     */
    private LiftProtocolStatusType protocolStatusType = LiftProtocolStatusType.NONE;
    private LiftProtocolStatusType protocolStatusType = LiftProtocolStatusType.IDLE;
    /**
     * 设备状态
     */
    private Integer deviceStatus = LiftDeviceStatusType.NONE.id;
    /**
     * 设备状态枚举
     */
    private LiftDeviceStatusType deviceStatusType = LiftDeviceStatusType.NONE;
    /**
     * 任务模式
@@ -190,14 +200,6 @@
        return this.taskNo == null ? 0 : this.taskNo;
    }
    public synchronized void setSyncTaskNo(Integer taskNo) {
        RedisUtil redisUtil = SpringUtils.getBean(RedisUtil.class);
        if (null != redisUtil) {
            redisUtil.set(RedisKeyType.LIFT_FLAG.key + this.liftNo, taskNo);
            this.taskNo = taskNo;
        }
    }
    public String getModel$() {
        if (this.model == null) {
            return "";
@@ -222,6 +224,14 @@
        return LiftProtocolStatusType.get(this.protocolStatus).desc;
    }
    public String getDeviceStatus$() {
        if (this.deviceStatus == null) {
            return "";
        }
        return LiftDeviceStatusType.get(this.deviceStatus).desc;
    }
    public String getTaskMode$() {
        if (this.taskMode == null) {
            return "";