自动化立体仓库 - WMS系统
pang.jiabao
3 天以前 74863c38a407b1e0f36250dfa0c63e5da7fe5f66
src/main/java/com/zy/asrs/service/impl/RcsServiceImpl.java
@@ -487,13 +487,13 @@
                            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: {
@@ -527,6 +527,9 @@
                        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;