From bfd1b73be85fd66ee37031eadcd4d09e7dafb52f Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期四, 13 二月 2025 18:51:40 +0800 Subject: [PATCH] 开始增加构件分组功能 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/05-state/02-edit/HydroPumpListItemStateViewModel.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/05-state/02-edit/HydroPumpListItemStateViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/05-state/02-edit/HydroPumpListItemStateViewModel.cs index 938572a..5db4a7f 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/05-state/02-edit/HydroPumpListItemStateViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/05-state/02-edit/HydroPumpListItemStateViewModel.cs @@ -16,6 +16,7 @@ /// </summary> public HydroPumpListItemStateViewModel(Yw.Model.HydroPumpInfo rhs, Yw.Model.HydroModelInfo hydroInfo) { + this.BeginGroup = string.IsNullOrEmpty(rhs.BeginGroup) ? string.Empty : rhs.BeginGroup; this.Code = rhs.Code; this.Name = rhs.Name; this.LinkStatus = rhs.LinkStatus; @@ -26,6 +27,12 @@ } /// <summary> + /// 鍒嗙粍 + /// </summary> + [Display(Name = "鍒嗙粍")] + public string BeginGroup { get; set; } + + /// <summary> /// 缂栫爜 /// </summary> [Display(Name = "缂栫爜")] -- Gitblit v1.9.3