| | |
| | | |
| | | public class CurrentViewModel |
| | | { |
| | | public CurrentViewModel(SysTypeLogicalTreeDto rhs) |
| | | public CurrentViewModel(Yw.Vmo.SysTypeLogicalTreeVmo rhs) |
| | | { |
| | | var module = rhs.LogicalModel as Yw.Dto.SysModuleStdDto; |
| | | this.ID = module.ID; |
| | |
| | | public async void SetBindingData() |
| | | { |
| | | _bll = new Yw.BLL.SysTypeStd(); |
| | | _allBindingList = new BindingList<CurrentViewModel>(); |
| | | var alllist = await _bll.GetExtendLogicalTreeList(); |
| | | if (alllist == null) |
| | | return; |
| | | _allBindingList = new BindingList<CurrentViewModel>(); |
| | | foreach (var item in alllist) |
| | | { |
| | | _allBindingList.Add(new CurrentViewModel(item)); |