From 2b9842aefcc46df98a889ae7a7346e030ed4ebae Mon Sep 17 00:00:00 2001 From: cl <418351270@qq.com> Date: 星期五, 02 八月 2024 11:07:57 +0800 Subject: [PATCH] 修改采集参数 --- jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 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 bde0358..7c4cc17 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 @@ -56,6 +56,14 @@ //PLC鍒癕ES鐗╂枡杞崲 Constants.materialMap.put("1","9900199052A"); Constants.materialMap.put("2","9900199053B"); + + //涓荤嚎浜哄伐宸ヤ綅 + Constants.OP040_OP160.add(Constants.OP040); + Constants.OP040_OP160.add(Constants.OP050); + Constants.OP040_OP160.add(Constants.OP060); + Constants.OP040_OP160.add(Constants.OP070); + Constants.OP040_OP160.add(Constants.OP080); + OPCUaSubscription opcUaSubscription = new OPCUaSubscription( miloService, daPassingStationCollectionService, -- Gitblit v1.9.3