From fd4ea6a620c5d079d3ee8ee30b943f3dea93f4eb Mon Sep 17 00:00:00 2001 From: cl <418351270@qq.com> Date: 星期三, 07 八月 2024 11:18:35 +0800 Subject: [PATCH] 修改采集参数 --- jcdm-main/src/main/java/com/jcdm/main/bs/formulaChild/controller/BsFormulaChildInfoController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/bs/formulaChild/controller/BsFormulaChildInfoController.java b/jcdm-main/src/main/java/com/jcdm/main/bs/formulaChild/controller/BsFormulaChildInfoController.java index f448716..bc9536a 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/bs/formulaChild/controller/BsFormulaChildInfoController.java +++ b/jcdm-main/src/main/java/com/jcdm/main/bs/formulaChild/controller/BsFormulaChildInfoController.java @@ -102,7 +102,8 @@ stepNumber = Integer.valueOf(filteredList.get(filteredList.size()-1).getStepSort())+1; } - String str = "PACK."+bsFormulaChildInfo.getProcessesCode()+".MStepNumber"; + String thoroughfare = Constants.thoroughfareMap.get(bsFormulaChildInfo.getLocationCode());//鑾峰彇閫氶亾 + String str = thoroughfare+"."+bsFormulaChildInfo.getProcessesCode()+".MESScrew"; miloService.writeToOpcShort(ReadWriteEntity.builder().identifier(str).value(stepNumber).build()); } catch (Exception e) { throw new RuntimeException(e); -- Gitblit v1.9.3