From a84a83d842f4fa220a8cf1b704e6ed6573684eef Mon Sep 17 00:00:00 2001
From: ningshuxia <ningshuxia0927@outlook.com>
Date: 星期四, 20 三月 2025 17:38:19 +0800
Subject: [PATCH] 快速建模

---
 Service/HStation.Service.Revit.Core/01-model/RevitModel.cs |   95 ++++++++++++++++++++++++++---------------------
 1 files changed, 53 insertions(+), 42 deletions(-)

diff --git a/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs b/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs
index 67d7f16..9442826 100644
--- a/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs
+++ b/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs
@@ -14,21 +14,23 @@
             this.Tanks = new List<RevitTank>();
             this.Waterboxs = new List<RevitWaterbox>();
             this.Junctions = new List<RevitJunction>();
-            this.Nozzles = new List<RevitNozzle>();
-            this.Hydrants = new List<RevitHydrant>();
-            this.Meters = new List<RevitMeter>();
-            this.Flowmeters = new List<RevitFlowmeter>();
-            this.Pressmeters = new List<RevitPressmeter>();
+            this.Bluntheads = new List<RevitBlunthead>();
             this.Elbows = new List<RevitElbow>();
             this.Threelinks = new List<RevitThreelink>();
             this.Fourlinks = new List<RevitFourlink>();
-            this.Bluntheads = new List<RevitBlunthead>();
+            this.Nozzles = new List<RevitNozzle>();
+            this.Hydrants = new List<RevitHydrant>();
+            this.Coolings = new List<RevitCooling>();
+            this.Meters = new List<RevitMeter>();
+            this.Flowmeters = new List<RevitFlowmeter>();
+            this.Pressmeters = new List<RevitPressmeter>();
 
-            this.Pumps = new List<RevitPump>();
-            this.Valves = new List<RevitValve>();
             this.Pipes = new List<RevitPipe>();
             this.Translations = new List<RevitTranslation>();
+            this.Pumps = new List<RevitPump>();
+            this.Valves = new List<RevitValve>();
             this.Exchangers = new List<RevitExchanger>();
+            this.Compressors = new List<RevitCompressor>();
 
             this.Decorators = new List<RevitDecorator>();
         }
@@ -40,32 +42,30 @@
         {
             this.Name = rhs.Name;
             this.Description = rhs.Description;
-
             this.Reservoirs = rhs.Reservoirs;
             this.Tanks = rhs.Tanks;
             this.Waterboxs = rhs.Waterboxs;
             this.Junctions = rhs.Junctions;
-            this.Nozzles = rhs.Nozzles;
-            this.Hydrants = rhs.Hydrants;
-            this.Meters = rhs.Meters;
-            this.Flowmeters = rhs.Flowmeters;
-            this.Pressmeters = rhs.Pressmeters;
+            this.Bluntheads = rhs.Bluntheads;
             this.Elbows = rhs.Elbows;
             this.Threelinks = rhs.Threelinks;
             this.Fourlinks = rhs.Fourlinks;
-            this.Bluntheads = rhs.Bluntheads;
-
-            this.Pumps = rhs.Pumps;
-            this.Valves = rhs.Valves;
+            this.Nozzles = rhs.Nozzles;
+            this.Hydrants = rhs.Hydrants;
+            this.Coolings = rhs.Coolings;
+            this.Meters = rhs.Meters;
+            this.Flowmeters = rhs.Flowmeters;
+            this.Pressmeters = rhs.Pressmeters;
             this.Pipes = rhs.Pipes;
             this.Translations = rhs.Translations;
+            this.Pumps = rhs.Pumps;
+            this.Valves = rhs.Valves;
             this.Exchangers = rhs.Exchangers;
-
+            this.Compressors = rhs.Compressors;
             this.Decorators = rhs.Decorators;
         }
 
-
-        #region 鍩虹淇℃伅
+        #region 鍩虹
 
         /// <summary>
         /// 鍚嶇О
@@ -79,7 +79,7 @@
 
         #endregion
 
-        #region Node
+        #region 鑺傜偣
 
         /// <summary>
         /// 姘村簱鍒楄〃
@@ -102,14 +102,9 @@
         public List<RevitJunction> Junctions { get; set; }
 
         /// <summary>
-        /// 鍠峰槾鍒楄〃
+        /// 闂峰ご鍒楄〃
         /// </summary>
-        public List<RevitNozzle> Nozzles { get; set; }
-
-        /// <summary>
-        /// 娑堢伀鏍撳垪琛�
-        /// </summary>
-        public List<RevitHydrant> Hydrants { get; set; }
+        public List<RevitBlunthead> Bluntheads { get; set; }
 
         /// <summary>
         /// 寮ご鍒楄〃
@@ -127,9 +122,19 @@
         public List<RevitFourlink> Fourlinks { get; set; }
 
         /// <summary>
-        /// 闂峰ご鍒楄〃
+        /// 鍠峰槾鍒楄〃
         /// </summary>
-        public List<RevitBlunthead> Bluntheads { get; set; }
+        public List<RevitNozzle> Nozzles { get; set; }
+
+        /// <summary>
+        /// 娑堢伀鏍撳垪琛�
+        /// </summary>
+        public List<RevitHydrant> Hydrants { get; set; }
+
+        /// <summary>
+        /// 鍐峰嵈濉斿垪琛�
+        /// </summary>
+        public List<RevitCooling> Coolings { get; set; }
 
         /// <summary>
         /// 姘磋〃
@@ -146,19 +151,10 @@
         /// </summary>
         public List<RevitPressmeter> Pressmeters { get; set; }
 
+
         #endregion
 
-        #region Link
-
-        /// <summary>
-        /// 姘存车鍒楄〃
-        /// </summary>
-        public List<RevitPump> Pumps { get; set; }
-
-        /// <summary>
-        /// 闃�闂ㄥ垪琛�
-        /// </summary>
-        public List<RevitValve> Valves { get; set; }
+        #region 绠℃
 
         /// <summary>
         /// 绠¢亾鍒楄〃
@@ -171,10 +167,25 @@
         public List<RevitTranslation> Translations { get; set; }
 
         /// <summary>
+        /// 姘存车鍒楄〃
+        /// </summary>
+        public List<RevitPump> Pumps { get; set; }
+
+        /// <summary>
+        /// 闃�闂ㄥ垪琛�
+        /// </summary>
+        public List<RevitValve> Valves { get; set; }
+
+        /// <summary>
         /// 鎹㈢儹鍣ㄥ垪琛�
         /// </summary>
         public List<RevitExchanger> Exchangers { get; set; }
 
+        /// <summary>
+        /// 绌哄帇鏈哄垪琛�
+        /// </summary>
+        public List<RevitCompressor> Compressors { get; set; }
+
         #endregion
 
         #region 瑁呴グ浠�

--
Gitblit v1.9.3