请求默认都走wms
This commit is contained in:
@@ -173,8 +173,8 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Object reqWms = device.getExtraValue().get("reqWms");
|
// Object reqWms = device.getExtraValue().get("reqWms");
|
||||||
if (ObjectUtil.isNotEmpty(reqWms) && reqWms.toString().equals("true")) {
|
// if (ObjectUtil.isNotEmpty(reqWms) && reqWms.toString().equals("true")) {
|
||||||
JSONArray req = new JSONArray();
|
JSONArray req = new JSONArray();
|
||||||
JSONObject map = new JSONObject();
|
JSONObject map = new JSONObject();
|
||||||
map.put("vehicle_code", inst.getVehicle_code());
|
map.put("vehicle_code", inst.getVehicle_code());
|
||||||
@@ -194,9 +194,9 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic
|
|||||||
} else {
|
} else {
|
||||||
log.warn("指令号:{},acs请求wms取货申请失败,连接被拒绝,未反馈agv允许取货", inst.getInstruction_code());
|
log.warn("指令号:{},acs请求wms取货申请失败,连接被拒绝,未反馈agv允许取货", inst.getInstruction_code());
|
||||||
}
|
}
|
||||||
} else {
|
// } else {
|
||||||
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0);
|
// data = NDCAgvService.sendAgvOneModeInst(phase, index, 0);
|
||||||
}
|
// }
|
||||||
//取货完毕
|
//取货完毕
|
||||||
//(需要WCS反馈)
|
//(需要WCS反馈)
|
||||||
} else if (phase == 0x05) {
|
} else if (phase == 0x05) {
|
||||||
|
|||||||
Reference in New Issue
Block a user