|
|
@ -372,7 +372,9 @@ public class AppearanceInspectionScannerConveyorDeviceDriver extends AbstractOpc |
|
|
|
return; |
|
|
|
} |
|
|
|
JSONObject param = new JSONObject(); |
|
|
|
param.put(this.barcode, this.currentDeviceCode); |
|
|
|
param.put("vehicle_code", this.barcode); |
|
|
|
param.put("start_point", this.currentDeviceCode); |
|
|
|
param.put("height", this.height); |
|
|
|
CommonRequest<JSONObject> request = |
|
|
|
CommonRequest.<JSONObject>builder() |
|
|
|
.service("InStorage") |
|
|
@ -856,7 +858,7 @@ public class AppearanceInspectionScannerConveyorDeviceDriver extends AbstractOpc |
|
|
|
// this.requireSuccess = true;
|
|
|
|
// } else {
|
|
|
|
Integer address = Optional.ofNullable(next_device.getExtraValue().get("address")).map(Object::toString).map(Integer::parseInt).orElse(0); |
|
|
|
this.writing(Arrays.asList(ItemProtocol.TO_TASK.getKey(),ItemProtocol.TO_TARGET.getKey()), Arrays.asList(inst.getInstruction_code(),address)); |
|
|
|
this.writing(Arrays.asList(ItemProtocol.TO_TASK.getKey(), ItemProtocol.TO_TARGET.getKey()), Arrays.asList(inst.getInstruction_code(), address)); |
|
|
|
//this.writing(Arrays.asList(ItemProtocol.TO_TARGET.getKey()), Arrays.asList(address));
|
|
|
|
// }
|
|
|
|
} |
|
|
|