From dd0784fe7f14e3062db1bbca54f642b3142209ff Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 04 十二月 2024 20:32:37 +0800 Subject: [PATCH] 匹配方法修改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/09-Tank/TankSingleMatchingViewModel.cs | 98 ++++++++++++++++++++++++++++++++----------------- 1 files changed, 64 insertions(+), 34 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/09-Tank/TankSingleMatchingViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/09-Tank/TankSingleMatchingViewModel.cs index 8b90cf5..ffe9bc7 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/09-Tank/TankSingleMatchingViewModel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/09-Tank/TankSingleMatchingViewModel.cs @@ -1,70 +1,100 @@ -锘縰sing HStation.Assets; - -namespace HStation.WinFrmUI +锘縩amespace HStation.WinFrmUI { public class TankSingleMatchingViewModel { - public TankSingleMatchingViewModel() - { - } - public TankSingleMatchingViewModel(Vmo.AssetsTankMainVmo rhs) { this.ID = rhs.ID; - this.MinLevel = rhs.MinLevel; - this.MaxLevel = rhs.MaxLevel; - this.DN = rhs.DN; - this.OverFlow = rhs.OverFlow; - this.ModelType = rhs.Name; + this.Name = rhs.Name; + this.Description = rhs.Description; + this.SortCode = rhs.SortCode; + this.ID = rhs.ID; + this.Name = rhs.Name; + this.Description = rhs.Description; + this.SeriesID = rhs.SeriesID; + this.SortCode = rhs.SortCode; + this.KeyWord = string.Join(",", rhs.KeyWord); } - /// <summary> - /// ID - /// </summary> [DisplayName("ID")] [Browsable(false)] public long ID { get; set; } /// <summary> - /// 鍨嬪彿鍚� + /// 绯诲垪ID /// </summary> - [DisplayName("鍨嬪彿鍚�")] - [Browsable(true)] - public string ModelType { get; set; } + [DisplayName("绯诲垪ID")] + [Browsable(false)] + public long SeriesID { get; set; } /// <summary> - /// 鏈�浣庢按浣� + /// 鍙e緞 /// </summary> - [DisplayName("鏈�浣庢按浣�")] + [DisplayName("鍙e緞(mm)")] [Browsable(true)] - public double MinLevel { get; set; } + public string Caliber { get; set; } /// <summary> - /// 鏈�楂樻按浣� + /// 鏉愭枡 /// </summary> - [DisplayName("鏈�楂樻按浣�")] + [DisplayName("鏉愭枡")] [Browsable(true)] - public double MaxLevel { get; set; } + public string Material { get; set; } /// <summary> - /// 鍏О鐩村緞 + /// 鎹熷け绯绘暟 /// </summary> - [DisplayName("鍏О鐩村緞")] + [DisplayName("鎹熷け绯绘暟")] [Browsable(true)] - public double DN { get; set; } + public double Coefficient { get; set; } /// <summary> - /// 鏈�灏忓绉� + /// 璇存槑 /// </summary> - [DisplayName("鏈�灏忓绉�")] + [DisplayName("璇存槑")] [Browsable(true)] - public double MinVol { get; set; } + public string Description { get; set; } /// <summary> - /// 鏄惁鍏佽婧㈡祦 + /// 闃�闂ㄥ紑搴� /// </summary> - [DisplayName("鏄惁鍏佽婧㈡祦")] + [DisplayName("闃�闂ㄥ紑搴�")] [Browsable(true)] - public bool OverFlow { get; set; } + public int? TankLift { get; set; } + + /// <summary> + /// 鎺掑簭鐮� + /// </summary> + [DisplayName("鎺掑簭鐮�")] + [Browsable(true)] + public int SortCode { get; set; } + + /// <summary> + /// 鍚嶇О + /// </summary> + [DisplayName("鍚嶇О")] + [Browsable(true)] + public string Name { get; set; } + + /// <summary> + /// 鍒涘缓浜� + /// </summary> + [DisplayName("鍒涘缓浜�")] + [Browsable(false)] + public string CreateName { get; set; } + + /// <summary> + /// 鍒涘缓鏃堕棿 + /// </summary> + [DisplayName("鍒涘缓鏃堕棿")] + [Browsable(false)] + public string CreateTime { get; set; } + + /// <summary> + /// 璇嗗埆鍏抽敭瀛� + /// </summary> + [DisplayName("鍏抽敭瀛�")] + [Browsable(true)] + public string KeyWord { get; set; } } } \ No newline at end of file -- Gitblit v1.9.3