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/04-viewmodel/01-parter/HydroParterViewModel.cs | 21 ++++++++++++++++----- 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/01-parter/HydroParterViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/01-parter/HydroParterViewModel.cs index 9b088be..3c989c1 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/01-parter/HydroParterViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/01-parter/HydroParterViewModel.cs @@ -26,6 +26,7 @@ this.ModelType = rhs.ModelType; this.DbId = rhs.DbId; this.DbLocked = rhs.DbLocked; + this.BeginGroup = rhs.BeginGroup; this.Flags = Yw.Untity.FlagsHelper.ToString(rhs.Flags); this.Description = rhs.Description; this.Paras = new DictionaryPropertyAdapter(rhs.Paras); @@ -92,11 +93,20 @@ } /// <summary> + /// 鍒嗙粍 + /// </summary> + [Category("鍩虹淇℃伅")] + [DisplayName("鍒嗙粍")] + [PropertyOrder(6)] + [Browsable(true)] + public virtual string BeginGroup { get; set; } + + /// <summary> /// 鏍囩 /// </summary> [Category("鍩虹淇℃伅")] [DisplayName("鏍囩")] - [PropertyOrder(6)] + [PropertyOrder(7)] [HydroFlagsPro] [Browsable(true)] public virtual string Flags { get; set; } @@ -107,17 +117,16 @@ [Category("鍩虹淇℃伅")] [DisplayName("鍙傛暟")] [HydroParasPro] - [PropertyOrder(7)] + [PropertyOrder(8)] [Browsable(true)] public virtual DictionaryPropertyAdapter Paras { get; set; } - /// <summary> /// 璇存槑 /// </summary> [Category("鍩虹淇℃伅")] [DisplayName("璇存槑")] - [PropertyOrder(8)] + [PropertyOrder(9)] [MultiText] [Browsable(true)] public virtual string Description { get; set; } @@ -127,7 +136,7 @@ /// </summary> [Category("鍩虹淇℃伅")] [DisplayName("閿佸畾")] - [PropertyOrder(8)] + [PropertyOrder(10)] [Browsable(true)] public virtual bool DbLocked { get; set; } @@ -171,6 +180,7 @@ this.Catalog = HydroParterCatalogHelper.GetName(this.Vmo.Catalog); this.ModelType = this.Vmo.ModelType; this.DbId = this.Vmo.DbId; + this.BeginGroup = this.Vmo.BeginGroup; this.Flags = Yw.Untity.FlagsHelper.ToString(this.Vmo.Flags); this.Paras = new DictionaryPropertyAdapter(this.Vmo.Paras); this.Description = this.Vmo.Description; @@ -188,6 +198,7 @@ this.Vmo.ModelType = this.ModelType; this.Vmo.DbId = this.DbId; this.Vmo.DbLocked = this.DbLocked; + this.Vmo.BeginGroup = this.BeginGroup; this.Vmo.Flags = Yw.Untity.FlagsHelper.ToList(this.Flags); this.Vmo.Paras = (Dictionary<string, string>)this.Paras?.Dictionary; this.Vmo.Description = this.Description; -- Gitblit v1.9.3