From e0c9c69431934041c303ef4c08295de64cd80a49 Mon Sep 17 00:00:00 2001 From: cl <418351270@qq.com> Date: 星期日, 07 七月 2024 10:40:10 +0800 Subject: [PATCH] 修改参数采集 --- jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java b/jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java index 3e7494a..b98f490 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java +++ b/jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java @@ -48,13 +48,18 @@ @Override public void run(ApplicationArguments args) throws Exception { - //鍒嗘010-065娈� - Constants.OP020_OP065.add(Constants.OP020); - Constants.OP020_OP065.add(Constants.OP030); - Constants.OP020_OP065.add(Constants.OP040); - Constants.OP020_OP065.add(Constants.OP050); - Constants.OP020_OP065.add(Constants.OP060); - Constants.OP020_OP065.add(Constants.OP065); + //鍒嗘010-090娈� 鐢佃姱宸ヤ綅 + Constants.OP020_OP090.add(Constants.OP020); + Constants.OP020_OP090.add(Constants.OP030); + Constants.OP020_OP090.add(Constants.OP040); + Constants.OP020_OP090.add(Constants.OP050); + Constants.OP020_OP090.add(Constants.OP060); + Constants.OP020_OP090.add(Constants.OP090); + + //浜哄伐宸ヤ綅 + Constants.OP100_OP150.add(Constants.OP100_1); + Constants.OP100_OP150.add(Constants.OP100_2); + //Constants.OP100_OP150.add(Constants.OP150); OPCUaSubscription opcUaSubscription = new OPCUaSubscription( miloService, -- Gitblit v1.9.3