src/main/java/com/zy/core/model/protocol/SteProtocol.java
@@ -253,7 +253,9 @@ boolean res = this.statusType.equals(SteStatusType.IDLE) && this.pakMk.equals("N") && !isAlarm() && this.chargeStatus == 0; && this.chargeStatus == 0 && isEnable() ; if (!res) { return res; } else { @@ -273,4 +275,23 @@ return this.alarm > 1; } public Boolean isEnable() { if (Cools.isEmpty(row)) { if (row == 0) { return false; } } if (Cools.isEmpty(bay)) { if (bay == 0) { return false; } } if (Cools.isEmpty(lev)) { if (lev == 0) { return false; } } return true; } }