From bfd1b73be85fd66ee37031eadcd4d09e7dafb52f Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期四, 13 二月 2025 18:51:40 +0800 Subject: [PATCH] 开始增加构件分组功能 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/03-property/HomeXhsProjectPropertyViewModel.cs | 61 ++++-------------------------- 1 files changed, 9 insertions(+), 52 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/03-property/HomeXhsProjectPropertyViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/03-property/HomeXhsProjectPropertyViewModel.cs index b1f8286..fb911ab 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/03-property/HomeXhsProjectPropertyViewModel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/03-property/HomeXhsProjectPropertyViewModel.cs @@ -1,26 +1,24 @@ 锘縩amespace HStation.WinFrmUI { /// <summary> - /// + /// /// </summary> [TypeConverter(typeof(PropertySorter))] public class HomeXhsProjectPropertyViewModel { /// <summary> - /// + /// /// </summary> - public HomeXhsProjectPropertyViewModel() { } + public HomeXhsProjectPropertyViewModel() + { } /// <summary> - /// + /// /// </summary> - public HomeXhsProjectPropertyViewModel(XhsProjectStdDto rhs) + public HomeXhsProjectPropertyViewModel(XhsProjectVmo rhs) { this.NO = rhs.NO; this.Name = rhs.Name; - this.StartTime = rhs.StartTime?.ToStandardString(); - this.EndTime = rhs.EndTime?.ToStandardString(); - this.PublishStatus = rhs.PublishStatus; this.Address = rhs.Address; this.Customer = rhs.Customer; this.Flags = Yw.Untity.FlagsHelper.ToString(rhs.Flags); @@ -47,33 +45,6 @@ [PropertyOrder(2)] [Browsable(true)] public string Name { get; set; } - - /// <summary> - /// 鐢熸晥鏃堕棿 - /// </summary> - [DisplayName("鐢熸晥鏃堕棿")] - [Category("鍩烘湰淇℃伅")] - [PropertyOrder(3)] - [Browsable(true)] - public string StartTime { get; set; } - - /// <summary> - /// 澶辨晥鏃堕棿 - /// </summary> - [DisplayName("澶辨晥鏃堕棿")] - [Category("鍩烘湰淇℃伅")] - [PropertyOrder(4)] - [Browsable(true)] - public string EndTime { get; set; } - - /// <summary> - /// 鍙戝竷鐘舵�� - /// </summary> - [DisplayName("鍙戝竷鐘舵��")] - [Category("鍩烘湰淇℃伅")] - [PropertyOrder(5)] - [Browsable(true)] - public ePublishStatus PublishStatus { get; set; } /// <summary> /// 璇︾粏鍦板潃 @@ -123,23 +94,9 @@ public string Description { get; set; } /// <summary> - /// + /// /// </summary> [Browsable(false)] - public XhsProjectStdDto Project { get; set; } - - - - - - - - - - - - - - + public XhsProjectVmo Project { get; set; } } -} +} \ No newline at end of file -- Gitblit v1.9.3