From 46f64905a3c309a50c0f245b3350cdeb8dd699c6 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期三, 22 一月 2025 17:29:02 +0800
Subject: [PATCH] 计算优化

---
 WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs
index 05c62f1..398516b 100644
--- a/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs
@@ -23,7 +23,7 @@
 
         private List<SysTypeTreeListViewModel> _allBindingList = null;
 
-        private Yw.BLL.SysTypeStd _bll = null;
+        private Yw.BLL.SysType _bll = null;
 
         private Yw.BLL.SysModule _Modulebll = null;
 
@@ -41,12 +41,11 @@
         public async void SetBindingData()
         {
             _allBindingList = new List<SysTypeTreeListViewModel>();
-            _bll = new Yw.BLL.SysTypeStd();
-            var alllist = await _bll.GetLogicalTreeList();
+            var alllist = await SysTypeHelper.GetSysTypeTreeList();
             if (alllist == null) return;
             foreach (var item in alllist)
             {
-                var module = new SysTypeTreeListViewModel(item);
+                var module = new SysTypeTreeListViewModel(item.Module);
                 _allBindingList.Add(module);
                 foreach (var child in item.Children)
                 {

--
Gitblit v1.9.3