From 146ca8c7eefe74d3b73c00a73e99e94e903be401 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期四, 06 二月 2025 15:04:21 +0800
Subject: [PATCH] 增加工况管理功能和计算结果自由压力与绝对压力切换

---
 Service/HStation.Service.Assets.Core/02-model/15-Tank/AssetsTankMain.cs |  177 +++++++++++++++++++++++++++++++----------------------------
 1 files changed, 93 insertions(+), 84 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/02-model/15-Tank/AssetsTankMain.cs b/Service/HStation.Service.Assets.Core/02-model/15-Tank/AssetsTankMain.cs
index 8861f22..4e89c35 100644
--- a/Service/HStation.Service.Assets.Core/02-model/15-Tank/AssetsTankMain.cs
+++ b/Service/HStation.Service.Assets.Core/02-model/15-Tank/AssetsTankMain.cs
@@ -1,127 +1,136 @@
 锘縰sing Yw.Model;
+
 namespace HStation.Model
 {
     /// <summary>
     /// 姘存睜
     ///</summary>
-    [SysType("assets-tank-main")] 
-    public class AssetsTankMain : BaseModel , IParas, IFlags, ITagName, ISorter, System.ICloneable
+    [SysType("assets-tank-main")]
+    public class AssetsTankMain : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable
     {
-         /// <summary>
-         ///
-         /// </summary>
-         public AssetsTankMain() { }
-
-         /// <summary>
-         ///
-         /// </summary>
-         public AssetsTankMain(AssetsTankMain rhs) : base(rhs)
-         {
-            this.Name=rhs.Name;
-            this.SeriesID=rhs.SeriesID;
-            this.Caliber=rhs.Caliber;
-            this.Material=rhs.Material;
-            this.MinorLoss=rhs.MinorLoss;
-            this.KeyWord=rhs.KeyWord;
-            this.Paras = rhs.Paras == null ? null : new (rhs.Paras);
-            this.Flags = rhs.Flags?.ToList();
-            this.TagName=rhs.TagName;
-            this.SortCode=rhs.SortCode;
-            this.Description=rhs.Description;
-         }
-
-         /// <summary>
-         ///
-         /// </summary>
-         public void Reset(AssetsTankMain rhs)
-         {
-            this.ID=rhs.ID;
-            this.Name=rhs.Name;
-            this.SeriesID=rhs.SeriesID;
-            this.Caliber=rhs.Caliber;
-            this.Material=rhs.Material;
-            this.MinorLoss=rhs.MinorLoss;
-            this.KeyWord=rhs.KeyWord;
-            this.Paras = rhs.Paras == null ? null : new (rhs.Paras);
-            this.Flags = rhs.Flags?.ToList();
-            this.TagName=rhs.TagName;
-            this.SortCode=rhs.SortCode;
-            this.Description=rhs.Description;
-         }
-         
+        /// <summary>
+        ///
+        /// </summary>
+        public AssetsTankMain()
+        { }
 
         /// <summary>
-        /// 鍚嶇О 
+        ///
+        /// </summary>
+        public AssetsTankMain(AssetsTankMain rhs) : base(rhs)
+        {
+            this.Name = rhs.Name;
+            this.SeriesID = rhs.SeriesID;
+            this.MinLevel = rhs.MinLevel;
+            this.MaxLevel = rhs.MaxLevel;
+            this.DN = rhs.DN;
+            this.OverFlow = rhs.OverFlow;
+            this.KeyWords = rhs.KeyWords;
+            this.MinVol = rhs.MinVol;
+            this.Paras = rhs.Paras == null ? null : new(rhs.Paras);
+            this.Flags = rhs.Flags?.ToList();
+            this.TagName = rhs.TagName;
+            this.SortCode = rhs.SortCode;
+            this.Description = rhs.Description;
+        }
+
+        /// <summary>
+        ///
+        /// </summary>
+        public void Reset(AssetsTankMain rhs)
+        {
+            this.ID = rhs.ID;
+            this.Name = rhs.Name;
+            this.SeriesID = rhs.SeriesID;
+            this.MinLevel = rhs.MinLevel;
+            this.MaxLevel = rhs.MaxLevel;
+            this.DN = rhs.DN;
+            this.MinVol = rhs.MinVol;
+            this.OverFlow = rhs.OverFlow;
+            this.KeyWords = rhs.KeyWords;
+            this.Paras = rhs.Paras == null ? null : new(rhs.Paras);
+            this.Flags = rhs.Flags?.ToList();
+            this.TagName = rhs.TagName;
+            this.SortCode = rhs.SortCode;
+            this.Description = rhs.Description;
+        }
+
+        /// <summary>
+        /// 鍚嶇О
         ///</summary>
         public string Name { get; set; }
-         
+
         /// <summary>
-        /// 绯诲垪ID 
+        /// 绯诲垪ID
         ///</summary>
         public long SeriesID { get; set; }
-         
+
         /// <summary>
-        /// 鍙e緞 
+        /// 鏈�浣庢按浣�
+        /// </summary>
+        public double MinLevel { get; set; }
+
+        /// <summary>
+        /// 鏈�楂樻按浣�
+        /// </summary>
+        public double MaxLevel { get; set; }
+
+        /// <summary>
+        /// 鍏О鐩村緞
+        /// </summary>
+        public double DN { get; set; }
+
+        /// <summary>
+        /// 鏈�灏忓绉�
+        /// </summary>
+        public double MinVol { get; set; }
+
+        /// <summary>
+        /// 鏄惁鍏佽婧㈡祦
+        /// </summary>
+        public bool OverFlow { get; set; }
+
+        /// <summary>
+        /// 璇嗗埆鍏抽敭瀛�
         ///</summary>
-        public double? Caliber { get; set; }
-         
+        public List<string> KeyWords { get; set; }
+
         /// <summary>
-        /// 鏉愭枡 
-        ///</summary>
-        public string Material { get; set; }
-         
-        /// <summary>
-        /// 灞�闃荤郴鏁� 
-        ///</summary>
-        public double MinorLoss { get; set; }
-         
-        /// <summary>
-        /// 璇嗗埆鍏抽敭瀛� 
-        ///</summary>
-        public string KeyWord { get; set; }
-         
-        /// <summary>
-        /// 鍙傛暟 
+        /// 鍙傛暟
         ///</summary>
         public Dictionary<string, string> Paras { get; set; }
-         
+
         /// <summary>
-        /// 鏍囩 
+        /// 鏍囩
         ///</summary>
         public List<string> Flags { get; set; }
-         
+
         /// <summary>
-        /// 鏍囧織 
+        /// 鏍囧織
         ///</summary>
         public string TagName { get; set; }
-         
+
         /// <summary>
-        /// 鎺掑簭鐮� 
+        /// 鎺掑簭鐮�
         ///</summary>
         public int SortCode { get; set; }
-         
+
         /// <summary>
-        /// 璇存槑 
+        /// 璇存槑
         ///</summary>
         public string Description { get; set; }
-         
 
         /// <summary>
         ///
         /// </summary>
         public AssetsTankMain Clone()
         {
-			return (AssetsTankMain)this.MemberwiseClone();
+            return (AssetsTankMain)this.MemberwiseClone();
         }
 
         object ICloneable.Clone()
         {
-			return this.MemberwiseClone();
+            return this.MemberwiseClone();
         }
-
     }
-}
-
- 
-
- 
+}
\ No newline at end of file

--
Gitblit v1.9.3