Junjie
2023-06-19 936a3f961de4e7de9e2b28d6cb36dadb1efa57e1
src/main/java/com/zy/core/model/protocol/ShuttleProtocol.java
@@ -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);