From 4fa5e391fcb989f4687ba3398f84a5ab066d7285 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期三, 20 十一月 2024 15:49:24 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/10-working/05-tree/HydroWorkingTreeViewModel.cs | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/10-working/05-tree/HydroWorkingTreeViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/10-working/05-tree/HydroWorkingTreeViewModel.cs index b25b2c5..ca32576 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/10-working/05-tree/HydroWorkingTreeViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/10-working/05-tree/HydroWorkingTreeViewModel.cs @@ -5,6 +5,25 @@ /// </summary> public class HydroWorkingTreeViewModel { + /// <summary> + /// + /// </summary> + public HydroWorkingTreeViewModel() { } + + /// <summary> + /// + /// </summary> + public HydroWorkingTreeViewModel(HydroWorkingVmo rhs) + { + this.Id = rhs.ID.ToString(); + this.ParentId = string.Empty; + this.Name = rhs.Name; + this.ImageIndex = -1; + this.Checked = false; + this.SortCode = rhs.SortCode; + this.Description = rhs.Description; + this.Vmo = rhs; + } /// <summary> /// Id -- Gitblit v1.9.3