1
This commit is contained in:
@@ -679,12 +679,12 @@ public class LnshSplitManipulatorDeviceDriver extends AbstractOpcDeviceDriver im
|
|||||||
applyEmptyIn();
|
applyEmptyIn();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
// case 7:
|
case 7:
|
||||||
// //码垛强制完成
|
//获取托盘信息
|
||||||
// if (!requireSucess) {
|
if (!requireSucess) {
|
||||||
//
|
getVehicle();
|
||||||
// }
|
}
|
||||||
// break;
|
break;
|
||||||
// case 8:
|
// case 8:
|
||||||
// //申请空盘
|
// //申请空盘
|
||||||
// if (!requireSucess) {
|
// if (!requireSucess) {
|
||||||
@@ -914,7 +914,11 @@ public class LnshSplitManipulatorDeviceDriver extends AbstractOpcDeviceDriver im
|
|||||||
} else {
|
} else {
|
||||||
this.instruction_require_time = date;
|
this.instruction_require_time = date;
|
||||||
JSONObject json = new JSONObject();
|
JSONObject json = new JSONObject();
|
||||||
json.put("device_code",this.device_code);
|
String linkobj = (String)this.getDevice().getExtraValue().get("link_device_code");
|
||||||
|
String demosub = linkobj.substring(1,linkobj.length()-1);
|
||||||
|
String demoArray[] = demosub.split(",");
|
||||||
|
List<String> demoList = Arrays.asList(demoArray);
|
||||||
|
json.put("device_code",demoList.get(getStation-1).replace("\"",""));
|
||||||
json.put("vehicle_code",barcode);
|
json.put("vehicle_code",barcode);
|
||||||
JSONObject jo = acsToWmsService.getVehicle(json);
|
JSONObject jo = acsToWmsService.getVehicle(json);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user