From f0cebbd2deb4dbf9e89dac4768415de62fd1fc20 Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期四, 16 一月 2025 14:40:27 +0800
Subject: [PATCH] 泵图表 修改文字位置

---
 Service/HStation.Service.Revit.Core/01-model/RevitModel.cs |  151 ++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 132 insertions(+), 19 deletions(-)

diff --git a/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs b/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs
index a346ce5..9442826 100644
--- a/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs
+++ b/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs
@@ -3,12 +3,37 @@
     /// <summary>
     /// 妯″瀷淇℃伅
     /// </summary>
-    public class RevitModel
+    public partial class RevitModel
     {
         /// <summary>
         /// 
         /// </summary>
-        public RevitModel() { }
+        public RevitModel()
+        {
+            this.Reservoirs = new List<RevitReservoir>();
+            this.Tanks = new List<RevitTank>();
+            this.Waterboxs = new List<RevitWaterbox>();
+            this.Junctions = new List<RevitJunction>();
+            this.Bluntheads = new List<RevitBlunthead>();
+            this.Elbows = new List<RevitElbow>();
+            this.Threelinks = new List<RevitThreelink>();
+            this.Fourlinks = new List<RevitFourlink>();
+            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.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>();
+        }
 
         /// <summary>
         /// 
@@ -17,19 +42,30 @@
         {
             this.Name = rhs.Name;
             this.Description = rhs.Description;
-
-            this.Junctions = new List<RevitJunction>();
-            this.Reservoirs = new List<RevitReservoir>();
-            this.Tanks = new List<RevitTank>();
-            this.Emitters = new List<RevitEmitter>();
-
-            this.Pipes = new List<RevitPipe>();
-            this.Pumps = new List<RevitPump>();
-            this.Valves = new List<RevitValve>();
-
-            this.Decorators = new List<RevitDecorator>();
+            this.Reservoirs = rhs.Reservoirs;
+            this.Tanks = rhs.Tanks;
+            this.Waterboxs = rhs.Waterboxs;
+            this.Junctions = rhs.Junctions;
+            this.Bluntheads = rhs.Bluntheads;
+            this.Elbows = rhs.Elbows;
+            this.Threelinks = rhs.Threelinks;
+            this.Fourlinks = rhs.Fourlinks;
+            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 鍩虹
 
         /// <summary>
         /// 鍚嶇О
@@ -41,11 +77,9 @@
         /// </summary>	
         public string Description { get; set; }
 
+        #endregion
 
-        /// <summary>
-        /// 浜ょ偣鍒楄〃
-        /// </summary>
-        public List<RevitJunction> Junctions { get; set; }
+        #region 鑺傜偣
 
         /// <summary>
         /// 姘村簱鍒楄〃
@@ -58,15 +92,79 @@
         public List<RevitTank> Tanks { get; set; }
 
         /// <summary>
-        /// 鎵╂暎鍣ㄥ垪琛�
+        /// 姘寸鍒楄〃
         /// </summary>
-        public List<RevitEmitter> Emitters { get; set; }
+        public List<RevitWaterbox> Waterboxs { get; set; }
 
+        /// <summary>
+        /// 鑺傜偣鍒楄〃
+        /// </summary>
+        public List<RevitJunction> Junctions { get; set; }
+
+        /// <summary>
+        /// 闂峰ご鍒楄〃
+        /// </summary>
+        public List<RevitBlunthead> Bluntheads { get; set; }
+
+        /// <summary>
+        /// 寮ご鍒楄〃
+        /// </summary>
+        public List<RevitElbow> Elbows { get; set; }
+
+        /// <summary>
+        /// 涓夐�氬垪琛�
+        /// </summary>
+        public List<RevitThreelink> Threelinks { get; set; }
+
+        /// <summary>
+        /// 鍥涢�氬垪琛�
+        /// </summary>
+        public List<RevitFourlink> Fourlinks { get; set; }
+
+        /// <summary>
+        /// 鍠峰槾鍒楄〃
+        /// </summary>
+        public List<RevitNozzle> Nozzles { get; set; }
+
+        /// <summary>
+        /// 娑堢伀鏍撳垪琛�
+        /// </summary>
+        public List<RevitHydrant> Hydrants { get; set; }
+
+        /// <summary>
+        /// 鍐峰嵈濉斿垪琛�
+        /// </summary>
+        public List<RevitCooling> Coolings { get; set; }
+
+        /// <summary>
+        /// 姘磋〃
+        /// </summary>
+        public List<RevitMeter> Meters { get; set; }
+
+        /// <summary>
+        /// 娴侀噺璁″垪琛�
+        /// </summary>
+        public List<RevitFlowmeter> Flowmeters { get; set; }
+
+        /// <summary>
+        /// 鍘嬪姏琛ㄥ垪琛�
+        /// </summary>
+        public List<RevitPressmeter> Pressmeters { get; set; }
+
+
+        #endregion
+
+        #region 绠℃
 
         /// <summary>
         /// 绠¢亾鍒楄〃
         /// </summary>
         public List<RevitPipe> Pipes { get; set; }
+
+        /// <summary>
+        /// 杩囨浮浠跺垪琛�
+        /// </summary>
+        public List<RevitTranslation> Translations { get; set; }
 
         /// <summary>
         /// 姘存车鍒楄〃
@@ -78,12 +176,27 @@
         /// </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 瑁呴グ浠�
 
         /// <summary>
         /// 瑁呴グ鍒楄〃
         /// </summary>
         public List<RevitDecorator> Decorators { get; set; }
 
+        #endregion
+
 
 
     }

--
Gitblit v1.9.3