文件名从 WinFrmUI/HStation.WinFrmUI.Xhs.Project/05-CatlogManage/00-ViewModel/TypeTreeListViewModel.cs 修改 |
| | |
| | | 锘縰sing DevExpress.XtraCharts.Native; |
| | | using Yw; |
| | | using Yw.Dto; |
| | | 锘縰sing Yw.Dto; |
| | | |
| | | namespace HStation.WinFrmUI.Xhs |
| | | namespace HStation.WinFrmUI.Basic |
| | | { |
| | | public class TypeTreeListViewModel |
| | | public class SysTypeTreeListViewModel |
| | | { |
| | | public TypeTreeListViewModel(SysTypeLogicalTreeDto rhs) |
| | | public SysTypeTreeListViewModel(SysTypeLogicalTreeDto rhs) |
| | | { |
| | | var Module = rhs.LogicalModel as SysModuleStdDto; |
| | | this.ID = Module.ID; |
| | |
| | | this.Description = Module.Description; |
| | | } |
| | | |
| | | public TypeTreeListViewModel(LogicalTreeExDto rhs) |
| | | public SysTypeTreeListViewModel(LogicalTreeExDto rhs) |
| | | { |
| | | var systype = rhs.LogicalModel as SysTypeStdDto; |
| | | this.ParentID = systype.ModuleID; |