jx pcn 加工采集plc数据 bug

tags/yfai-pcn-ext-v1.0
王杰 1 year ago
parent dd0ce48a6b
commit f70c179102

@ -50,7 +50,7 @@ public class SxThirdPartyPlcCollectProductDataHandler extends SxThirdPartyPlcCol
if (isRetry || null == filterChain) instanceFilterChain(); if (isRetry || null == filterChain) instanceFilterChain();
restoreStepResultData(); restoreStepResultData(plcCollectData);
super.doSubmit(); super.doSubmit();
@ -104,7 +104,7 @@ public class SxThirdPartyPlcCollectProductDataHandler extends SxThirdPartyPlcCol
isRetry = false; isRetry = false;
} }
private void restoreStepResultData() { private void restoreStepResultData(SxThirdPartyPlcCollectDataModel plcCollectData) {
((Map<String, Object>) stepResult.getData()).remove(MesPcnExtConstWords.USER_INFO); ((Map<String, Object>) stepResult.getData()).remove(MesPcnExtConstWords.USER_INFO);
((Map<String, Object>) stepResult.getData()).remove(MesPcnExtConstWords.SERIAL_NUMBER); ((Map<String, Object>) stepResult.getData()).remove(MesPcnExtConstWords.SERIAL_NUMBER);
((Map<String, Object>) stepResult.getData()).remove(MesPcnExtConstWords.PRODUCT_SN); ((Map<String, Object>) stepResult.getData()).remove(MesPcnExtConstWords.PRODUCT_SN);

Loading…
Cancel
Save