From b9c79f595e5ad4684d731f968bf120ff8c52dbd8 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期一, 23 十二月 2024 00:42:25 +0800 Subject: [PATCH] 解决重复HydroInfo获取问题 --- Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeLineCoefficient.cs | 28 +++++++++------------------- 1 files changed, 9 insertions(+), 19 deletions(-) diff --git a/Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeLineCoefficient.cs b/Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeLineCoefficient.cs index 4872002..b88fce2 100644 --- a/Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeLineCoefficient.cs +++ b/Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeLineCoefficient.cs @@ -7,7 +7,7 @@ /// 绠¢亾绮楃硻绯绘暟 /// </summary> [SysType("assets_pipe_coefficient")] - public class AssetsPipeLineCoefficient : BaseModel, ISorter, System.ICloneable + public class AssetsPipeLineCoefficient : BaseModel, System.ICloneable { /// <summary> /// @@ -17,26 +17,26 @@ public AssetsPipeLineCoefficient(AssetsPipeLineCoefficient rhs) { - this.PipeLineID = rhs.PipeLineID; this.ID = rhs.ID; + this.PipeLineID = rhs.PipeLineID; this.Name = rhs.Name; - this.Description = rhs.Description; + this.Caliber = rhs.Caliber; + this.Material = rhs.Material; this.eAlgorithmType = rhs.eAlgorithmType; this.StartValue = rhs.StartValue; this.EndValue = rhs.EndValue; - this.SortCode = rhs.SortCode; } public void Reset(AssetsPipeLineCoefficient rhs) { - this.PipeLineID = rhs.PipeLineID; this.ID = rhs.ID; + this.PipeLineID = rhs.PipeLineID; this.Name = rhs.Name; - this.Description = rhs.Description; + this.Caliber = rhs.Caliber; + this.Material = rhs.Material; this.eAlgorithmType = rhs.eAlgorithmType; this.StartValue = rhs.StartValue; this.EndValue = rhs.EndValue; - this.SortCode = rhs.SortCode; } /// <summary> @@ -80,21 +80,11 @@ public string EndValue { get; set; } /// <summary> - /// 鎺掑簭鐮� - /// </summary> - public int SortCode { get; set; } - - /// <summary> - /// 璇存槑 - /// </summary> - public string Description { get; set; } - - /// <summary> /// /// </summary> - public AssetsPumpGroupAndMainMap Clone() + public AssetsPumpGroupAndMainMapping Clone() { - return (AssetsPumpGroupAndMainMap)this.MemberwiseClone(); + return (AssetsPumpGroupAndMainMapping)this.MemberwiseClone(); } object ICloneable.Clone() -- Gitblit v1.9.3