|
|
@ -443,11 +443,11 @@ public class SsxSiteDeviceDriver extends AbstractOpcDeviceDriver implements Devi |
|
|
|
} |
|
|
|
String resp = acsToWmsService.applyTask(request); |
|
|
|
JSONObject res_jo = JSONObject.parseObject(resp); |
|
|
|
// if (StrUtil.equals(res_jo.getString("code"), "200")) {
|
|
|
|
if (StrUtil.equals(res_jo.getString("code"), "200")) { |
|
|
|
this.writing(type); |
|
|
|
this.setRequireSucess(true); |
|
|
|
log.info("acs申请任务", this.devicecode, "任务申请成功!"); |
|
|
|
// }
|
|
|
|
} |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|