From 1e4b358de58e36bfbf692ab2538ff9e7d60fd025 Mon Sep 17 00:00:00 2001
From: ningshuxia <ningshuxia0927@outlook.com>
Date: 星期五, 24 二月 2023 14:11:17 +0800
Subject: [PATCH] 曲线筛查

---
 WinFormUI/IStation.WinFormUI.MonitorDataSet/曲线比较/CurveCompareMultiSelectMonitorPointTreeListCtrl.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git "a/WinFormUI/IStation.WinFormUI.MonitorDataSet/\346\233\262\347\272\277\346\257\224\350\276\203/CurveCompareMultiSelectMonitorPointTreeListCtrl.cs" "b/WinFormUI/IStation.WinFormUI.MonitorDataSet/\346\233\262\347\272\277\346\257\224\350\276\203/CurveCompareMultiSelectMonitorPointTreeListCtrl.cs"
index b7f8642..aab27f8 100644
--- "a/WinFormUI/IStation.WinFormUI.MonitorDataSet/\346\233\262\347\272\277\346\257\224\350\276\203/CurveCompareMultiSelectMonitorPointTreeListCtrl.cs"
+++ "b/WinFormUI/IStation.WinFormUI.MonitorDataSet/\346\233\262\347\272\277\346\257\224\350\276\203/CurveCompareMultiSelectMonitorPointTreeListCtrl.cs"
@@ -121,8 +121,8 @@
         public void SetBindingData(long projectId)
         {
             _projectId = projectId;
-            var group_list = new BLL.MonitorPointGroup().QueryAll(_projectId);
-            var point_list = new BLL.MonitorPoint().QueryExSignalList(_projectId);
+            var group_list = new BLL.MonitorPointGroup().GetAll(_projectId);
+            var point_list = new BLL.MonitorPoint().GetExSignalList(_projectId);
             this.SetBindingData(group_list, point_list);
         }
 
@@ -132,8 +132,8 @@
         public void SetBindingData(long projectId, string belongType, long belongId)
         {
             _projectId = projectId;
-            var group_list = new BLL.MonitorPointGroup().QueryByBelongTypeAndBelongId(_projectId, belongType, belongId);
-            var point_list = new BLL.MonitorPoint().QueryExSignalListByBelongTypeAndBelongId(_projectId, belongType, belongId);
+            var group_list = new BLL.MonitorPointGroup().GetByBelongTypeAndBelongId(_projectId, belongType, belongId);
+            var point_list = new BLL.MonitorPoint().GetExSignalListByBelongTypeAndBelongId(_projectId, belongType, belongId);
             this.SetBindingData(group_list, point_list);
         }
 
@@ -213,7 +213,7 @@
                 return;
             if (e.Node.Checked)
             {
-                node.Color = QueryColor(); 
+                node.Color = GetColor(); 
                 this.SelectedEvent?.Invoke(monitorPoint, node.Color.Value);
             }
             else
@@ -223,7 +223,7 @@
             }
         }
 
-        Color QueryColor()
+        Color GetColor()
         {
             foreach(var c in _colorArray)
             {

--
Gitblit v1.9.3