| | |
| | | private CrnSlave slave; |
| | | private CrnProtocol crnProtocol; |
| | | private boolean resetFlag = false; |
| | | |
| | | @Value("${wms.url}") |
| | | private String wmsUrl; |
| | | public static final List<Short> rowOne = new ArrayList<Short>() {{ |
| | |
| | | } |
| | | ApiLogService apiLogService = SpringUtils.getBean(ApiLogService.class); |
| | | apiLogService.save("Wms任务完成接口" |
| | | ,wmsUrl+"/wcsManager/wcsInterface/taskStatusFeedback" |
| | | ,"10.32.53.195:8080"+"/wcsManager/wcsInterface/taskStatusFeedback" |
| | | ,null |
| | | ,"127.0.0.1" |
| | | ,JSON.toJSONString(taskOverToWms) |
| | |
| | | } |
| | | array[1] = command.getTaskNo(); |
| | | array[2] = command.getTaskMode(); |
| | | |
| | | array[3] = command.getSourcePosZ(); |
| | | |
| | | array[4] = command.getSourcePosX(); |
| | | |
| | | array[5] = command.getSourcePosY(); |
| | | |
| | | array[6] = command.getDestinationPosZ(); |
| | | |
| | | array[7] = command.getDestinationPosX(); |
| | | |
| | | array[8] = command.getDestinationPosY(); |
| | | array[9] = command.getCommand(); |
| | | |
| | | |
| | | |
| | | // 作业信息 |
| | | OperateResult result = siemensNet.Write("DB100.0", array); |
| | | // 日志记录 |