From ff39bbf7e3a3d02f7f051ce1bee06cec007be3ff Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期六, 30 十一月 2024 13:15:26 +0800 Subject: [PATCH] epa 计算节点局部损失字段修改 --- Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeLineCoefficient.cs | 43 ++++++++++++++++++++++++------------------- 1 files changed, 24 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 2046917..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,32 +17,47 @@ 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> /// 鍚嶇О /// </summary> public string Name { get; set; } + + /// <summary> + /// 鍙e緞 + /// </summary> + public double? Caliber { get; set; } + + /// <summary> + /// 鏉愭枡 + /// </summary> + public string Material { get; set; } + + /// <summary> + /// 灞�闃荤郴鏁� + /// </summary> + public double MinorLoss { get; set; } /// <summary> /// 绠楁硶绫诲瀷 @@ -65,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