From dd4da9a651330fabe210618581299ac3536bda2f Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期六, 26 十月 2024 21:41:24 +0800 Subject: [PATCH] 修复下载问题 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveMainViewModel.cs | 39 +++++++++++++++++++++++++++++---------- 1 files changed, 29 insertions(+), 10 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveMainViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveMainViewModel.cs index f652650..a8a2bf0 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveMainViewModel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveMainViewModel.cs @@ -1,5 +1,4 @@ -锘縰sing HStation.Assets; -using System.ComponentModel; +锘縰sing System.ComponentModel; namespace HStation.WinFrmUI.Assets { @@ -28,8 +27,11 @@ } this.Coefficient = rhs.Coefficient; this.SeriesID = rhs.SeriesID; - this.SeriesType = rhs.SeriesType; + this.SeriesType = rhs.Type; + this.ValveLift = rhs.ValveLift; this.SortCode = rhs.SortCode; + this.KeyWord = rhs.KeyWord; + this.ValveSetting = rhs.ValveSetting; } public void Reset(Vmo.AssetsValveMainVmo rhs) @@ -56,8 +58,11 @@ } this.Coefficient = rhs.Coefficient; this.SeriesID = rhs.SeriesID; - this.SeriesType = rhs.SeriesType; + this.SeriesType = rhs.Type; this.SortCode = rhs.SortCode; + this.ValveLift = rhs.ValveLift; + this.KeyWord = rhs.KeyWord; + this.ValveSetting = rhs.ValveSetting; } [DisplayName("ID")] @@ -104,14 +109,14 @@ /// </summary> [DisplayName("璇存槑")] [Browsable(true)] - public string? Description { get; set; } + public string Description { get; set; } /// <summary> - /// 闃�闂ㄧ姸鎬� + /// 闃�闂ㄥ紑搴� /// </summary> - [DisplayName("闃�闂ㄧ姸鎬�")] + [DisplayName("闃�闂ㄥ紑搴�")] [Browsable(true)] - public eValveOpenStatus OpenStatus { get; set; } + public int? ValveLift { get; set; } /// <summary> /// 鎺掑簭鐮� @@ -131,14 +136,28 @@ /// 鍒涘缓浜� /// </summary> [DisplayName("鍒涘缓浜�")] - [Browsable(true)] + [Browsable(false)] public string CreateName { get; set; } /// <summary> /// 鍒涘缓鏃堕棿 /// </summary> [DisplayName("鍒涘缓鏃堕棿")] - [Browsable(true)] + [Browsable(false)] public string CreateTime { get; set; } + + /// <summary> + /// 璇嗗埆鍏抽敭瀛� + /// </summary> + [DisplayName("鍏抽敭瀛�")] + [Browsable(true)] + public string KeyWord { get; set; } + + /// <summary> + /// 闃�闂ㄨ缃� + /// </summary> + [DisplayName("闃�闂ㄨ缃�")] + [Browsable(true)] + public string ValveSetting { get; set; } } } \ No newline at end of file -- Gitblit v1.9.3