From 3c4662bc897f3e2840d9a123ff7aba9c6b576670 Mon Sep 17 00:00:00 2001 From: Joshi <3040996759@qq.com> Date: Wed, 24 Dec 2025 17:49:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor(opc):=20=E9=87=8D=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E4=B8=BAl2Setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将loadPdiSetupIds方法重命名为loadL2SetupIds - 在entryLineMeasureIds映射中为张力相关字段添加注释 - 更新方法调用以使用新的L2Setup标识符加载逻辑 --- .../fizz/business/service/manager/OpcMessageIdsManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/src/main/java/com/fizz/business/service/manager/OpcMessageIdsManager.java b/business/src/main/java/com/fizz/business/service/manager/OpcMessageIdsManager.java index d256535..e5845d7 100644 --- a/business/src/main/java/com/fizz/business/service/manager/OpcMessageIdsManager.java +++ b/business/src/main/java/com/fizz/business/service/manager/OpcMessageIdsManager.java @@ -49,7 +49,7 @@ public class OpcMessageIdsManager { loadProcLineMeasureIds(); loadFurLineMeasureIds(); loadExitLineMeasureIds(); - loadPdiSetupIds(); + loadL2SetupIds(); } @@ -380,7 +380,7 @@ public class OpcMessageIdsManager { exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.coilLength", "coilLength"); } - public static void loadPdiSetupIds(){ + public static void loadL2SetupIds(){ pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.coilId", "coilId"); pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.PORFlag", "PORFlag"); pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.counter", "counter");