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/01-entity/06-PipeLine/AssetsPipeCoefficient.cs |   43 ++++++++++++++++++++++++++++++-------------
 1 files changed, 30 insertions(+), 13 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/01-entity/06-PipeLine/AssetsPipeCoefficient.cs b/Service/HStation.Service.Assets.Core/01-entity/06-PipeLine/AssetsPipeCoefficient.cs
index 89e732e..c0a413e 100644
--- a/Service/HStation.Service.Assets.Core/01-entity/06-PipeLine/AssetsPipeCoefficient.cs
+++ b/Service/HStation.Service.Assets.Core/01-entity/06-PipeLine/AssetsPipeCoefficient.cs
@@ -8,13 +8,25 @@
     /// </summary>
     [SysType("assets_pipe_efficient")]
     [SugarTable("assets_pipe_coefficient")]
-    public class AssetsPipeCoefficient : BaseEntity, ISorter, System.ICloneable
+    public class AssetsPipeCoefficient : BaseEntity, System.ICloneable
     {
         /// <summary>
         ///
         /// </summary>
         public AssetsPipeCoefficient()
         { }
+
+        public AssetsPipeCoefficient(AssetsPipeCoefficient rhs)
+        {
+            this.ID = rhs.ID;
+            this.PipeLineID = rhs.PipeLineID;
+            this.Name = rhs.Name;
+            this.Caliber = rhs.Caliber;
+            this.Material = rhs.Material;
+            this.eAlgorithmType = rhs.eAlgorithmType;
+            this.StartValue = rhs.StartValue;
+            this.EndValue = rhs.EndValue;
+        }
 
         /// <summary>
         /// 鍚嶇О
@@ -32,6 +44,21 @@
         public long PipeLineID { 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>
         /// 寮�濮嬪��
         /// </summary>
         public string StartValue { get; set; }
@@ -42,21 +69,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