From 1ad632e0418a31cf00ae82abff7ff1ad617fa62b Mon Sep 17 00:00:00 2001
From: cl <418351270@qq.com>
Date: 星期三, 21 八月 2024 14:36:16 +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 fa3ab56..0e7f9a8 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
@@ -1078,7 +1078,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