src/main/java/com/zy/core/model/protocol/SteProtocol.java
@@ -185,6 +185,11 @@ */ public Short crnAllowRun; /** * 充电状态 1:在充电;0:不在充电 */ private Short chargeStatus; public void setStatus(Short status){ this.status = status; this.statusType = SteStatusType.get(status); @@ -247,7 +252,8 @@ public Boolean isIdle() { boolean res = this.statusType.equals(SteStatusType.IDLE) && this.pakMk.equals("N") && !isAlarm(); && !isAlarm() && this.chargeStatus == 0; if (!res) { return res; } else {