|
@ -363,8 +363,8 @@ public class XgagvDeviceDriver extends AbstractOpcDeviceDriver implements Device |
|
|
jo.put("device_code", this.device_code); |
|
|
jo.put("device_code", this.device_code); |
|
|
jo.put("task_code", inst.getTask_code()); |
|
|
jo.put("task_code", inst.getTask_code()); |
|
|
ja.add(jo); |
|
|
ja.add(jo); |
|
|
// HttpResponse resp = acsToWmsService.feedAgvTaskStatus(ja);
|
|
|
HttpResponse resp = acsToWmsService.feedAgvTaskStatus(ja); |
|
|
if (1==1) { |
|
|
if (resp.getStatus() ==200) { |
|
|
LuceneLogDto logDto = new LuceneLogDto(); |
|
|
LuceneLogDto logDto = new LuceneLogDto(); |
|
|
logDto.setDevice_code(device_code); |
|
|
logDto.setDevice_code(device_code); |
|
|
logDto.setInstruct_code(inst.getInstruction_code()); |
|
|
logDto.setInstruct_code(inst.getInstruction_code()); |
|
@ -387,8 +387,8 @@ public class XgagvDeviceDriver extends AbstractOpcDeviceDriver implements Device |
|
|
jo.put("device_code", this.device_code); |
|
|
jo.put("device_code", this.device_code); |
|
|
jo.put("task_code", inst.getTask_code()); |
|
|
jo.put("task_code", inst.getTask_code()); |
|
|
ja.add(jo); |
|
|
ja.add(jo); |
|
|
// HttpResponse resp = acsToWmsService.feedAgvTaskStatus(ja);
|
|
|
HttpResponse resp = acsToWmsService.feedAgvTaskStatus(ja); |
|
|
if (1==1) { |
|
|
if (resp.getStatus() ==200) { |
|
|
LuceneLogDto logDto = new LuceneLogDto(); |
|
|
LuceneLogDto logDto = new LuceneLogDto(); |
|
|
logDto.setDevice_code(device_code); |
|
|
logDto.setDevice_code(device_code); |
|
|
logDto.setInstruct_code(inst.getInstruction_code()); |
|
|
logDto.setInstruct_code(inst.getInstruction_code()); |
|
@ -411,8 +411,8 @@ public class XgagvDeviceDriver extends AbstractOpcDeviceDriver implements Device |
|
|
jo.put("device_code", this.device_code); |
|
|
jo.put("device_code", this.device_code); |
|
|
jo.put("task_code", inst.getTask_code()); |
|
|
jo.put("task_code", inst.getTask_code()); |
|
|
ja.add(jo); |
|
|
ja.add(jo); |
|
|
// HttpResponse resp = acsToWmsService.feedAgvTaskStatus(ja);
|
|
|
HttpResponse resp = acsToWmsService.feedAgvTaskStatus(ja); |
|
|
if (1==1) { |
|
|
if (resp.getStatus() ==200) { |
|
|
LuceneLogDto logDto = new LuceneLogDto(); |
|
|
LuceneLogDto logDto = new LuceneLogDto(); |
|
|
logDto.setDevice_code(device_code); |
|
|
logDto.setDevice_code(device_code); |
|
|
logDto.setInstruct_code(inst.getInstruction_code()); |
|
|
logDto.setInstruct_code(inst.getInstruction_code()); |
|
@ -434,8 +434,8 @@ public class XgagvDeviceDriver extends AbstractOpcDeviceDriver implements Device |
|
|
jo.put("device_code", this.device_code); |
|
|
jo.put("device_code", this.device_code); |
|
|
jo.put("task_code", inst.getTask_code()); |
|
|
jo.put("task_code", inst.getTask_code()); |
|
|
ja.add(jo); |
|
|
ja.add(jo); |
|
|
// HttpResponse resp = acsToWmsService.feedAgvTaskStatus(ja);
|
|
|
HttpResponse resp = acsToWmsService.feedAgvTaskStatus(ja); |
|
|
if (1==1) { |
|
|
if (resp.getStatus() ==200) { |
|
|
LuceneLogDto logDto = new LuceneLogDto(); |
|
|
LuceneLogDto logDto = new LuceneLogDto(); |
|
|
logDto.setDevice_code(device_code); |
|
|
logDto.setDevice_code(device_code); |
|
|
logDto.setInstruct_code(inst.getInstruction_code()); |
|
|
logDto.setInstruct_code(inst.getInstruction_code()); |
|
|