| | |
| | | // 入库到固定列,指定车来接 |
| | | String locNo = wrkMast.getLocNo(); |
| | | int bay = Utils.getBay(locNo); |
| | | if (locNo.startsWith("01") && bay == 21) { |
| | | if ((locNo.startsWith("01") && bay == 21) || (locNo.startsWith("02") && bay >= 25 && bay <= 28)) { |
| | | startRoute.setRobotType("ROBOTS"); |
| | | startRoute.setRobotCode(Collections.singletonList("15")); |
| | | } else if (!locNo.startsWith("01") && bay >= 25 && bay <= 28) { |
| | | } else if ((locNo.startsWith("03") || locNo.startsWith("04"))&& bay >= 25 && bay <= 28) { |
| | | startRoute.setRobotType("ROBOTS"); |
| | | startRoute.setRobotCode(Collections.singletonList("14")); |
| | | } |