From 51b2ddd654097675fd124025d97e4675ce40ee03 Mon Sep 17 00:00:00 2001
From: cl <418351270@qq.com>
Date: 星期三, 21 八月 2024 14:35:43 +0800
Subject: [PATCH] 生产1P1S码

---
 jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java b/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java
index 583aa58..c3ba26c 100644
--- a/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java
+++ b/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java
@@ -1075,7 +1075,7 @@
             if (CollUtil.isNotEmpty(list)){
                 for(DaCollectionParamConf conf:list){
                     //1P1S鐢熸垚
-                    if(conf.getCollectParameterId().equals("1P1S")){
+                    if("1P1S".equals(conf.getCollectParameterId())){
                         String result = get1P1S(sfcCode);
                         conf.setParamCentral(result);
                     }

--
Gitblit v1.9.3