信息缺失修复

This commit is contained in:
zhangjiangwei
2023-03-14 20:53:56 +08:00
parent fc9dd6a476
commit 6b23c87f1e
3 changed files with 16 additions and 14 deletions

View File

@@ -707,9 +707,10 @@ public class LnshPackagePalletManipulatorDeviceDriver extends AbstractOpcDeviceD
case 6:
//码垛完成
if (!requireSucess) {
if (applyEmpty()) {
palletizing();
}
applyEmpty();
}
if (resultSucess) {
palletizing();
}
break;
case 7:
@@ -1138,7 +1139,7 @@ public class LnshPackagePalletManipulatorDeviceDriver extends AbstractOpcDeviceD
JSONObject jsonObject = JSONObject.parseObject(result.body());
if ("200".equals(jsonObject.getString("status"))) {
this.writing(this.mode);
this.setRequireSucess(true);
this.setResultSucess(false);
}
}
result.close();

View File

@@ -729,9 +729,10 @@ public class RljnPackagePalletSplitManipulatorDeviceDriver extends AbstractOpcDe
case 6:
//码垛完成
if (!requireSucess) {
if (applyEmpty()) {
palletizing();
}
applyEmpty();
}
if (resultSucess) {
palletizing();
}
break;
case 7:
@@ -1372,7 +1373,7 @@ public class RljnPackagePalletSplitManipulatorDeviceDriver extends AbstractOpcDe
JSONObject jsonObject = JSONObject.parseObject(result.body());
if ("200".equals(jsonObject.getString("status"))) {
this.writing(this.mode);
this.setRequireSucess(true);
this.setResultSucess(false);
}
}
result.close();