| | |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | @GetMapping("/api/robot/reporter/task1") |
| | | public void reporterTask1(){ |
| | | Integer sourceStaNo = 307; |
| | | SiemensDevpThread siemensDevpThread = (SiemensDevpThread) SlaveConnection.get(SlaveType.Devp, 1); |
| | | StaProtocol staProtocol = siemensDevpThread.getStation().get(sourceStaNo).clone(); |
| | | boolean result = MessageQueue.offer(SlaveType.Devp, 1, new com.zy.core.model.Task(3, staProtocol)); |
| | | // log.info("AGV放货完成,给站点写9991工作号,下发任务:{},站点:{},agv任务号:{}", result, task.getStaNo(), task.getTaskNo()); |
| | | } |
| | | |
| | | } |