| | |
| | | if (steProtocol.getMode() == 0 |
| | | || !steProtocol.statusType.equals(SteStatusType.IDLE) |
| | | || basSte.getPakMk().equals("Y") |
| | | || basSte.getAutoCharge().equals("N") |
| | | // || steProtocol.getChargeStatus() == 1 |
| | | ) { |
| | | continue; |
| | |
| | | * 小车从充电桩 至 待机库位 |
| | | */ |
| | | public synchronized void steFromChargeToIdleLoc() { |
| | | for (SteChargeType value : SteChargeType.values()) { |
| | | Integer steNo = basSteService.hasCarOfLocNo(value.locNo); |
| | | if (steNo != null) { |
| | | SteThread steThread = (SteThread) SlaveConnection.get(SlaveType.Ste, steNo); |
| | | SteProtocol steProtocol = steThread.getSteProtocol(); |
| | | BasSte basSte = basSteService.selectById(steNo); |
| | | if (Cools.isEmpty(steProtocol, basSte)) { |
| | | continue; |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |