src/main/java/com/zy/core/model/protocol/ShuttleProtocol.java
@@ -54,7 +54,7 @@ private String sourceLocNo; /** * 目标库位f * 目标库位 */ private String locNo; @@ -84,7 +84,7 @@ /** * 电池温度 */ private Short batteryTemp; private Integer batteryTemp; /** * 错误编号 @@ -149,7 +149,7 @@ /** * 当前的电压值 */ private Short currentVoltage; private Integer currentVoltage; /** * 当前的模拟量值 @@ -246,6 +246,9 @@ // 电量 try { Integer chargeLine = SpringUtils.getBean(BasShuttleService.class).selectById(this.shuttleNo).getChargeLine(); if (chargeLine == null) { return false; } return this.getBatteryPower$() > chargeLine; } catch (Exception e) { News.error("fail", e);