| | |
| | | mesService.outStation(apply); |
| | | // agv继续执行 |
| | | // 源站点是产线,离站完成后给rcs反馈继续执行 |
| | | if(task.getSourceStaNo().contains("TOOL")) { |
| | | TransInOutStationAllow inOutStationAllow = new TransInOutStationAllow(); |
| | | inOutStationAllow.setTaskno(robotTaskCode); |
| | | inOutStationAllow.setStatus("Y"); |
| | | inOutStationAllow.setAgvCode(singleRobotCode); |
| | | mesService.allowOutStation(inOutStationAllow); |
| | | } |
| | | // if(task.getSourceStaNo().contains("TOOL")) { |
| | | // TransInOutStationAllow inOutStationAllow = new TransInOutStationAllow(); |
| | | // inOutStationAllow.setTaskno(robotTaskCode); |
| | | // inOutStationAllow.setStatus("Y"); |
| | | // inOutStationAllow.setAgvCode(singleRobotCode); |
| | | // mesService.allowOutStation(inOutStationAllow); |
| | | // } |
| | | } |
| | | } break; |
| | | case ARRIVE_ON_STATION: { |
| | |
| | | if(transType.equals("01") && arrivalStation.getStationID().contains("XL") || arrivalStation.getStationID().contains("TOOL")) { |
| | | path = "ToolArrivalNotice"; |
| | | } |
| | | if (arrivalStation.getStationID().startsWith("LG") || arrivalStation.getStationID().startsWith("LT")) { |
| | | path = "Aprs/" + path; |
| | | } |
| | | mesService.arriveOnStation(arrivalStation,path); |
| | | } break; |
| | | default: {} break; |