| | |
| | | continue; |
| | | } |
| | | |
| | | if (shuttleProtocol.getVoltage() < 5630) { |
| | | continue;//电压不够继续充电 |
| | | //***************判断是否满充校准*************** |
| | | EntityWrapper<Config> wrapper1 = new EntityWrapper<>(); |
| | | wrapper.eq("code", "shuttleMaxPowerVerify"); |
| | | Config config1 = configService.selectOne(wrapper1); |
| | | if (config1 != null) { |
| | | if (!Boolean.parseBoolean(config1.getValue())) { |
| | | continue;//没有开启满充校准 |
| | | } |
| | | |
| | | if (shuttleProtocol.getVoltage() < 5630) { |
| | | continue;//电压不够继续充电 |
| | | } |
| | | } |
| | | //***************判断是否满充校准*************** |
| | | |
| | | //小车满电,结束充电任务 |
| | | NyShuttleHttpCommand chargeCommand = NyHttpUtils.getChargeCommand(shuttle.getId(), wrkCharge.getWrkNo(), false); |