From 30d1c646b63604b59ce9d665054bd748e56e171c Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期三, 14 八月 2024 18:27:20 +0800
Subject: [PATCH] 新增水力模拟界面

---
 Service/HStation.Service.Assets.Core/02-model/PumpMain.cs |  143 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 143 insertions(+), 0 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/02-model/PumpMain.cs b/Service/HStation.Service.Assets.Core/02-model/PumpMain.cs
new file mode 100644
index 0000000..63039cc
--- /dev/null
+++ b/Service/HStation.Service.Assets.Core/02-model/PumpMain.cs
@@ -0,0 +1,143 @@
+锘縰sing Yw.Model;
+
+namespace HStation.Model
+{
+    /// <summary>
+    /// 娉靛瀷鍙�
+    /// </summary>
+    [SysType("xhs-pumpmain")]
+    [SugarTable("xhs-pumpmain")]
+    public class PumpMain : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable
+    {
+        /// <summary>
+        ///
+        /// </summary>
+        public PumpMain()
+        { }
+
+        /// <summary>
+        ///
+        /// </summary>
+        public PumpMain(PumpMain rhs) : base(rhs)
+        {
+            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.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.RatedSpeed = rhs.RatedSpeed;
+            this.RatedHead = rhs.RatedHead;
+            this.RatedFlow = rhs.RatedFlow;
+            this.SortCode = rhs.SortCode;
+            this.Description = rhs.Description;
+        }
+
+        public void Reset(PumpMain rhs)
+        {
+            this.ID = rhs.ID;
+            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.Flags = rhs.Flags?.ToList();
+            this.TagName = rhs.TagName;
+            this.RatedSpeed = rhs.RatedSpeed;
+            this.RatedHead = rhs.RatedHead;
+            this.RatedFlow = rhs.RatedFlow;
+            this.SortCode = rhs.SortCode;
+            this.Description = rhs.Description;
+        }
+
+        /// <summary>
+        /// 鍚嶇О
+        /// </summary>
+        public string Name { get; set; }
+
+        /// <summary>
+        /// 娉电郴鍒桰D
+        /// </summary>
+        public long PumpSeriesID { 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 double RatedSpeed { get; set; }
+
+        /// <summary>
+        /// 棰濆畾娴侀噺
+        /// </summary>
+        public double RatedFlow { get; set; }
+
+        /// <summary>
+        /// 棰濆畾鎵▼
+        /// </summary>
+        public double RatedHead { get; set; }
+
+        /// <summary>
+        /// 棰濆畾鏁堢巼
+        /// </summary>
+        public double RatedEfficiency { get; set; }
+
+        /// <summary>
+        /// 棰濆畾鍔熺巼
+        /// </summary>
+        public double RatedPower { get; set; }
+
+        /// <summary>
+        /// 姘旇殌
+        /// </summary>
+        public double? Erosion { get; set; }
+
+        /// <summary>
+        /// 鍙惰疆澶栧緞
+        /// </summary>
+        public double? D2 { get; set; }
+
+        /// <summary>
+        /// 璇存槑
+        /// </summary>
+        public string? Description { get; set; }
+
+        /// <summary>
+        ///
+        /// </summary>
+        public PumpMain Clone()
+        {
+            return (PumpMain)this.MemberwiseClone();
+        }
+
+        object ICloneable.Clone()
+        {
+            return this.MemberwiseClone();
+        }
+    }
+}
\ No newline at end of file

--
Gitblit v1.9.3