| | |
| | | RobotUtils.sendTask(staProtocol303.getWorkNo().toString(), wrkDetls.size(), "303"); |
| | | } |
| | | } |
| | | }else if (staProtocol317.isAutoing() && staProtocol317.isLoading() && staProtocol317.getWorkNo() != 0) { |
| | | } |
| | | |
| | | if (staProtocol317.isAutoing() && staProtocol317.isLoading() && staProtocol317.getWorkNo() != 0) { |
| | | //调度机械臂 |
| | | //查询是否有工作档 |
| | | WrkMast wrkMast = wrkMastMapper.selectByWorkNo(staProtocol317.getWorkNo().intValue()); |
| | |
| | | continue; |
| | | } |
| | | |
| | | if (shuttleProtocol.getVoltage() < 5630) { |
| | | continue;//电压不够继续充电 |
| | | //***************判断是否满充校准*************** |
| | | EntityWrapper<Config> wrapper1 = new EntityWrapper<>(); |
| | | wrapper.eq("code", "shuttleMaxPowerVerify"); |
| | | Config config1 = configService.selectOne(wrapper1); |
| | | if (config1 != null) { |
| | | if (config1.getValue().equals("true")) { |
| | | if (shuttleProtocol.getVoltage() < 5630) { |
| | | continue;//电压不够继续充电 |
| | | } |
| | | } |
| | | } |
| | | //***************判断是否满充校准*************** |
| | | |
| | | //小车满电,结束充电任务 |
| | | NyShuttleHttpCommand chargeCommand = NyHttpUtils.getChargeCommand(shuttle.getId(), wrkCharge.getWrkNo(), false); |