From 342fa8be89ce72d4a1f87fc857def22b41722dfc Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期日, 03 十一月 2024 14:43:19 +0800 Subject: [PATCH] 曲线 问题修改 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/02-model/HydroModelMgrViewModel.cs | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/02-model/HydroModelMgrViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/02-model/HydroModelMgrViewModel.cs index 6a80cd9..0470b70 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/02-model/HydroModelMgrViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/02-model/HydroModelMgrViewModel.cs @@ -13,32 +13,34 @@ /// <summary> /// /// </summary> - public HydroModelMgrViewModel(Yw.Dto.HydroModelDto rhs, bool hasRelation) + public HydroModelMgrViewModel(HydroModelVmo rhs, bool hasRelation) { this.ID = rhs.ID; this.Name = rhs.Name; this.Code = rhs.Code; + this.Content = rhs.Content; this.FlagsString = Yw.Untity.FlagsHelper.ToString(rhs.Flags); this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; - this.Dto = rhs; + this.Vmo = rhs; this.HasRelation = hasRelation; } /// <summary> /// /// </summary> - public void Reset(Yw.Dto.HydroModelDto rhs) + public void Reset(HydroModelVmo rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Code = rhs.Code; + this.Content = rhs.Content; this.FlagsString = Yw.Untity.FlagsHelper.ToString(rhs.Flags); this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; - this.Dto = rhs; + this.Vmo = rhs; } /// <summary> @@ -58,6 +60,12 @@ /// </summary> [Display(Name = "缂栫爜")] public string Code { get; set; } + + /// <summary> + /// 鍐呭 + /// </summary> + [Display(Name = "鍐呭")] + public string Content { get; set; } /// <summary> /// 鏍囩 @@ -84,10 +92,10 @@ public string Description { get; set; } /// <summary> - /// Dto + /// Vmo /// </summary> - [Display(Name = "Dto")] - public Yw.Dto.HydroModelDto Dto { get; set; } + [Display(Name = "Vmo")] + public HydroModelVmo Vmo { get; set; } /// <summary> /// -- Gitblit v1.9.3