| | |
| | | SteChargeType first = SteChargeType.FIRST; |
| | | locNo = first.locNo; |
| | | if (basSteService.hasCarOfLocNo(locNo) == null |
| | | && wrkChargeService.selectWorkingOfCharge(first.ssbm) != null) { |
| | | && wrkChargeService.selectWorkingOfCharge(first.ssbm) == null) { |
| | | steCharge = first; |
| | | break; |
| | | } |
| | |
| | | SteChargeType second = SteChargeType.SECOND; |
| | | locNo = second.locNo; |
| | | if (basSteService.hasCarOfLocNo(locNo) == null |
| | | && wrkChargeService.selectWorkingOfCharge(second.ssbm) != null) { |
| | | && wrkChargeService.selectWorkingOfCharge(second.ssbm) == null) { |
| | | steCharge = second; |
| | | break; |
| | | } |
| | |
| | | SteChargeType third = SteChargeType.THIRD; |
| | | locNo = third.locNo; |
| | | if (basSteService.hasCarOfLocNo(locNo) == null |
| | | && wrkChargeService.selectWorkingOfCharge(third.ssbm) != null) { |
| | | && wrkChargeService.selectWorkingOfCharge(third.ssbm) == null) { |
| | | steCharge = third; |
| | | break; |
| | | } |
| | |
| | | if (steProtocol.getCharge() < 99) { |
| | | continue; |
| | | } |
| | | if (steProtocol.getMode() == 0) { |
| | | continue; |
| | | } |
| | | if (!steProtocol.getStatusType().equals(SteStatusType.IDLE)) { |
| | | continue; |
| | | } |
| | | // // 1号充电桩 |
| | | // if (value.equals(SteChargeType.FIRST) && devpThread.charge0) { |
| | | // continue; |