From bef933e7e166b085ba7e46e38ea62d9ae0129ec6 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期一, 20 一月 2025 10:47:23 +0800 Subject: [PATCH] 远程API模式阶段性提交 --- Service/HStation.Service.Revit.Core/01-model/RevitModel.cs | 68 ++++++++++++++++++++------------- 1 files changed, 41 insertions(+), 27 deletions(-) diff --git a/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs b/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs index 959af69..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.Elbows = new List<RevitElbow>(); 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.Exchangers = new List<RevitExchanger>(); 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>(); } @@ -44,20 +46,22 @@ this.Tanks = rhs.Tanks; this.Waterboxs = rhs.Waterboxs; this.Junctions = rhs.Junctions; - this.Nozzles = rhs.Nozzles; - this.Hydrants = rhs.Hydrants; - this.Elbows = rhs.Elbows; 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.Exchangers = rhs.Exchangers; this.Pumps = rhs.Pumps; this.Valves = rhs.Valves; + this.Exchangers = rhs.Exchangers; + this.Compressors = rhs.Compressors; this.Decorators = rhs.Decorators; } @@ -98,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> /// 寮ご鍒楄〃 @@ -123,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> /// 姘磋〃 @@ -148,16 +157,6 @@ #region 绠℃ /// <summary> - /// 姘存车鍒楄〃 - /// </summary> - public List<RevitPump> Pumps { get; set; } - - /// <summary> - /// 闃�闂ㄥ垪琛� - /// </summary> - public List<RevitValve> Valves { get; set; } - - /// <summary> /// 绠¢亾鍒楄〃 /// </summary> public List<RevitPipe> Pipes { get; set; } @@ -168,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