From 220f7b818bb9399391830fbbb9fb2028a21b938f Mon Sep 17 00:00:00 2001
From: yyt <306727702@qq.com>
Date: 星期三, 21 二月 2024 00:23:34 +0800
Subject: [PATCH] 批量数据采集方法更新

---
 jcdm-main/src/main/java/com/jcdm/main/da/opcuaconfig/cert/MethodName.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/jcdm-main/src/main/java/com/jcdm/main/da/opcuaconfig/cert/MethodName.java b/jcdm-main/src/main/java/com/jcdm/main/da/opcuaconfig/cert/MethodName.java
index 26111de..023100c 100644
--- a/jcdm-main/src/main/java/com/jcdm/main/da/opcuaconfig/cert/MethodName.java
+++ b/jcdm-main/src/main/java/com/jcdm/main/da/opcuaconfig/cert/MethodName.java
@@ -61,7 +61,7 @@
                     //淇濆瓨PLC閲囬泦鏁版嵁
 //                  StopWatch stopWatch = new StopWatch();
 //                  stopWatch.start();
-                    List<DaParamCollection> DaParamCollectionlist = new ArrayList<>();
+                    List<DaParamCollection> ParamCollectionlist = new ArrayList<>();
                     for(int i=0;i<nodeId.size();i++){
                         DaParamCollection ParamCollection = new DaParamCollection();
                         ParamCollection.setParamCode(nodeId.get(i).getIdentifier().toString().split("[.]")[2]);
@@ -69,9 +69,9 @@
                         ParamCollection.setParamValue(s.get(i).getValue().getValue().toString());
                         ParamCollection.setSfcCode(SNCode);
                         ParamCollection.setParamName(b.get(i).getGatherAddress());
-                        DaParamCollectionlist.add(ParamCollection);
+                        ParamCollectionlist.add(ParamCollection);
                     }
-                    daParamCollectionService.saveBeachDaParamCollection(DaParamCollectionlist);
+                    daParamCollectionService.saveBeachDaParamCollection(ParamCollectionlist);
 //                  stopWatch.stop();
 //                  System.out.println("浣跨敤sqlSessionFactory瀹炵幇鎵归噺鎻掑叆鑰楁椂锛�" + stopWatch.getTotalTimeMillis());
                 }

--
Gitblit v1.9.3