ningshuxia
2023-02-24 1e4b358de58e36bfbf692ab2538ff9e7d60fd025
WinFormUI/IStation.WinFormUI.MonitorDataSet/曲线比较/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)
            {