From a2a57963e160a319276c5c8499f16c9809056e4c Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期日, 17 十一月 2024 21:54:55 +0800 Subject: [PATCH] 修改资产表 --- Service/HStation.Service.Assets.Core/02-model/01-Pump/AssetsPumpMain.cs | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/02-model/01-PumpMain/PumpMain.cs b/Service/HStation.Service.Assets.Core/02-model/01-Pump/AssetsPumpMain.cs similarity index 91% rename from Service/HStation.Service.Assets.Core/02-model/01-PumpMain/PumpMain.cs rename to Service/HStation.Service.Assets.Core/02-model/01-Pump/AssetsPumpMain.cs index 49107ad..28e179a 100644 --- a/Service/HStation.Service.Assets.Core/02-model/01-PumpMain/PumpMain.cs +++ b/Service/HStation.Service.Assets.Core/02-model/01-Pump/AssetsPumpMain.cs @@ -22,13 +22,14 @@ this.ID = rhs.ID; this.Name = rhs.Name; this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); - this.PumpSeriesID = rhs.PumpSeriesID; + this.SeriesID = rhs.SeriesID; this.Flags = rhs.Flags?.ToList(); this.RatedEfficiency = rhs.RatedEfficiency; this.RatedPower = rhs.RatedPower; this.Erosion = rhs.Erosion; this.D2 = rhs.D2; this.TagName = rhs.TagName; + this.KeyWord = rhs.KeyWord; this.RatedSpeed = rhs.RatedSpeed; this.RatedHead = rhs.RatedHead; this.RatedFlow = rhs.RatedFlow; @@ -39,14 +40,14 @@ public void Reset(AssetsPumpMain rhs) { this.ID = rhs.ID; + this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; - this.PumpSeriesID = rhs.PumpSeriesID; this.RatedEfficiency = rhs.RatedEfficiency; this.RatedPower = rhs.RatedPower; this.Erosion = rhs.Erosion; this.D2 = rhs.D2; this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); - this.PumpSeriesID = rhs.PumpSeriesID; + this.KeyWord = rhs.KeyWord; this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.RatedSpeed = rhs.RatedSpeed; @@ -64,7 +65,7 @@ /// <summary> /// 娉电郴鍒桰D /// </summary> - public long PumpSeriesID { get; set; } + public long SeriesID { get; set; } /// <summary> /// 鍙傛暟 @@ -77,6 +78,11 @@ public List<string> Flags { get; set; } /// <summary> + /// 璇嗗埆鍏抽敭瀛� + /// </summary> + public List<string> KeyWord { get; set; } + + /// <summary> /// 鏍囧織 /// </summary> public string TagName { get; set; } -- Gitblit v1.9.3