duheng
2025-03-28 9be9ba4e159969fb5e32648c2c34e912ccc3ae6d
WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagTreeListCtrl.cs
@@ -1,6 +1,5 @@
using DevExpress.Utils;
using DevExpress.XtraEditors;
using Yw.Basic;
namespace HStation.WinFrmUI.Basic
{
@@ -23,7 +22,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 +40,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)
                {