自动化立体仓库 - WCS系统
Junjie
2023-11-07 6017ff0fac73ee771282f8c4711f20ec9ca67bd7
src/main/java/com/zy/asrs/domain/vo/ShuttleStateTableVo.java
@@ -129,7 +129,7 @@
    /**
     * 当前的电压值
     */
    private Double currentVoltage;
    private Integer currentVoltage;
    /**
     * 当前的模拟量值
@@ -210,7 +210,17 @@
    }
    public String getStatus$() {
        if (this.status == null) {
            return ShuttleProtocolStatusType.OFFLINE.desc;
        }
        return ShuttleProtocolStatusType.get(this.status).desc;
    }
    public String getCurrentVoltage$() {
        if (this.currentVoltage == null) {
            return "";
        }
        return (this.currentVoltage / 1000.0) + "V";
    }
}