src/main/java/com/zy/core/model/protocol/SteProtocol.java
@@ -82,7 +82,7 @@ /** * 满电 */ public Boolean fullCharge; public Boolean fullCharge = false; /** * 低电量 @@ -322,7 +322,7 @@ } else { // 电量 try { String chargeLine = SpringUtils.getBean(BasSteService.class).selectById(this.steNo).getChargeLine(); String chargeLine = SpringUtils.getBean(BasSteService.class).getById(this.steNo).getChargeLine(); return charge > Float.parseFloat(chargeLine); } catch (Exception e) { News.error("fail", e);