Update LnshLaminatingMachineDeviceDriver.java

This commit is contained in:
张江玮
2023-03-28 21:11:05 +08:00
parent 129e1a510f
commit fa881de161

View File

@@ -319,7 +319,7 @@ public class LnshLaminatingMachineDeviceDriver extends AbstractOpcDeviceDriver i
if (ObjectUtil.isNotEmpty(result)) { if (ObjectUtil.isNotEmpty(result)) {
JSONObject jsonObject = JSONObject.parseObject(result.body()); JSONObject jsonObject = JSONObject.parseObject(result.body());
if (result.getStatus() == 200 && StrUtil.equals(jsonObject.get("status").toString(),"200")) { if (result.getStatus() == 200 && StrUtil.equals(jsonObject.get("status").toString(),"200")) {
this.writing(this.mode); // this.writing(this.mode);
this.setRequireSucess(true); this.setRequireSucess(true);
this.setResult(true); this.setResult(true);
} }