| | |
| | | } |
| | | private ReturnT<String> doHandMove2(AgvWrkMast agvWrkMast) { |
| | | Date now = new Date(); |
| | | AgvBasDevp devpNo = agvCommonService.getDevpNo(3, 1, "Y", "Y"); |
| | | String lev1 = agvWrkMast.getSourceLocNo().substring(agvWrkMast.getSourceLocNo().length() - 4).substring(0, 2); |
| | | AgvBasDevp devpNo = new AgvBasDevp(); |
| | | if ("01".equals(lev1)) { |
| | | devpNo = agvCommonService.getDevpNo(3, 1, "Y", "Y"); |
| | | } else { |
| | | devpNo = agvCommonService.getDevpNo(3, 5, "Y", "Y"); |
| | | } |
| | | |
| | | if (Cools.isEmpty(devpNo)) { |
| | | throw new CoolException("暂无空闲接驳位"); |
| | | } |