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"; } }