| | |
| | | |
| | | if (time3 > 0 && time3 < (1000* 60 * 10)) { |
| | | |
| | | List<AgvWrkMast> agvWrkMasts = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>().like("loc_no", "02F1").like("source_loc_no", "F1")); |
| | | List<AgvWrkMast> agvWrkMasts = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>().like("loc_no", "02F1").like("source_loc_no", "F1").eq("io_type",12)); |
| | | if (maxTansk <= agvWrkMasts.size()){ |
| | | return; |
| | | } |
| | |
| | | if (LocMast.getLev1() != 2) { |
| | | throw new CoolException("目标楼层不是吸塑二楼"); |
| | | } |
| | | List<AgvWrkMast> agvWrkMasts = agvWrkMastService.selectList(new EntityWrapper<AgvWrkMast>().like("loc_no", "02F1").like("source_loc_no", "F1").eq("io_type", 12)); |
| | | if (agvWrkMasts.size() >= maxTansk) { |
| | | throw new CoolException("自动移库任务已到设定最大值:" + maxTansk); |
| | | } |
| | | //生成工作档 |
| | | AgvWrkMast mast = new AgvWrkMast(); |
| | | //工作状态 |