|
@ -168,7 +168,9 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Object reqWms = device.getExtraValue().get("reqWms"); |
|
|
Object reqWms = device.getExtraValue().get("reqWms"); |
|
|
if (ObjectUtil.isNotEmpty(reqWms) && reqWms.toString().equals("true")&& !StrUtil.startWith(inst.getTask_code(), "-") && StrUtil.equals(paramService.findByCode(AcsConfig.HASWMS).getValue(),"1")) { |
|
|
if (ObjectUtil.isNotEmpty(reqWms) && reqWms.toString().equals("true")&& !StrUtil.startWith(inst.getTask_code(), "-") && StrUtil.equals(paramService.findByCode(AcsConfig.HASWMS).getValue(),"1") |
|
|
|
|
|
&&(StrUtil.equals("SSX01",inst.getStart_device_code())|| |
|
|
|
|
|
StrUtil.equals("SSX01",inst.getNext_device_code()))) { |
|
|
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()); |
|
@ -229,7 +231,9 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Object reqWms = device.getExtraValue().get("reqWms"); |
|
|
Object reqWms = device.getExtraValue().get("reqWms"); |
|
|
if (ObjectUtil.isNotEmpty(reqWms) && reqWms.toString().equals("true") && !StrUtil.startWith(inst.getTask_code(), "-") && StrUtil.equals(paramService.findByCode(AcsConfig.HASWMS).getValue(),"1")) { |
|
|
if (ObjectUtil.isNotEmpty(reqWms) && reqWms.toString().equals("true") && !StrUtil.startWith(inst.getTask_code(), "-") && StrUtil.equals(paramService.findByCode(AcsConfig.HASWMS).getValue(),"1") |
|
|
|
|
|
&&(StrUtil.equals("SSX01",inst.getStart_device_code())|| |
|
|
|
|
|
StrUtil.equals("SSX01",inst.getNext_device_code()))) { |
|
|
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()); |
|
@ -286,7 +290,9 @@ 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")&& !StrUtil.startWith(inst.getTask_code(), "-") && StrUtil.equals(paramService.findByCode(AcsConfig.HASWMS).getValue(),"1")) { |
|
|
if (ObjectUtil.isNotEmpty(reqWms) && reqWms.toString().equals("true")&& !StrUtil.startWith(inst.getTask_code(), "-") && StrUtil.equals(paramService.findByCode(AcsConfig.HASWMS).getValue(),"1") |
|
|
|
|
|
&&(StrUtil.equals("SSX01",inst.getStart_device_code())|| |
|
|
|
|
|
StrUtil.equals("SSX01",inst.getNext_device_code()))) { |
|
|
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()); |
|
@ -344,7 +350,9 @@ 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") && !StrUtil.startWith(inst.getTask_code(), "-") && StrUtil.equals(paramService.findByCode(AcsConfig.HASWMS).getValue(),"1")) { |
|
|
if (ObjectUtil.isNotEmpty(reqWms) && reqWms.toString().equals("true") && !StrUtil.startWith(inst.getTask_code(), "-") && StrUtil.equals(paramService.findByCode(AcsConfig.HASWMS).getValue(),"1") |
|
|
|
|
|
&&(StrUtil.equals("SSX01",inst.getStart_device_code())|| |
|
|
|
|
|
StrUtil.equals("SSX01",inst.getNext_device_code()))) { |
|
|
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()); |
|
|