cpT
2025-06-19 c1ef2d1fc4c0dae2bc8452924dcd77a0ff3a1ef5
src/main/java/com/zy/asrs/domain/vo/CrnListVo.java
@@ -1,6 +1,7 @@
package com.zy.asrs.domain.vo;
import com.zy.asrs.utils.Utils;
import com.zy.core.enums.CrnStatusType;
import lombok.Data;
@Data
@@ -8,6 +9,7 @@
    // 堆垛机号
    private Integer crnNo;
    private Integer laneNo;
    // 模式
    private String statusType = "-";
@@ -52,7 +54,7 @@
    private Short workNo = 0;
    // 任务状态
    private String wrkStatus = "-";
    private Integer wrkStatus;
    // 异常码
    private String warnCode = "-";
@@ -105,6 +107,13 @@
    // 设备状态
    private String deviceStatus = "-";
    // 可入
    private String inEnable;
    // 可出
    private String outEnable;
    private String errorCrn;
    public void setXspeed(Float xspeed) {
        this.xspeed = Utils.scale(xspeed);
    }
@@ -133,4 +142,10 @@
        this.yduration = Utils.scale(yduration);
    }
    public String getWrkStatus$() {
        if (this.wrkStatus == null) {
            return "-";
        }
        return CrnStatusType.get(this.wrkStatus.shortValue()).desc;
    }
}