From 31cca463443f7bc8b6b1bd02889844b864d93e11 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期四, 07 十一月 2024 00:38:50 +0800 Subject: [PATCH] Revit解析修改 --- Service/HStation.Service.Revit.Core/01-model/RevitModel.cs | 56 ++++++++++++++++++++++++++++---------------------------- 1 files changed, 28 insertions(+), 28 deletions(-) diff --git a/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs b/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs index c9fa568..eae87a9 100644 --- a/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs +++ b/Service/HStation.Service.Revit.Core/01-model/RevitModel.cs @@ -14,22 +14,22 @@ 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.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.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.Compressors = new List<RevitCompressor>(); 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>(); } @@ -45,21 +45,21 @@ this.Tanks = rhs.Tanks; this.Waterboxs = rhs.Waterboxs; this.Junctions = rhs.Junctions; - this.Nozzles = rhs.Nozzles; - this.Hydrants = rhs.Hydrants; 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.Meters = rhs.Meters; this.Flowmeters = rhs.Flowmeters; this.Pressmeters = rhs.Pressmeters; this.Pipes = rhs.Pipes; this.Translations = rhs.Translations; - this.Exchangers = rhs.Exchangers; - this.Compressors = rhs.Compressors; this.Pumps = rhs.Pumps; this.Valves = rhs.Valves; + this.Exchangers = rhs.Exchangers; + this.Compressors = rhs.Compressors; this.Decorators = rhs.Decorators; } @@ -100,16 +100,6 @@ public List<RevitJunction> Junctions { get; set; } /// <summary> - /// 鍠峰槾鍒楄〃 - /// </summary> - public List<RevitNozzle> Nozzles { get; set; } - - /// <summary> - /// 娑堢伀鏍撳垪琛� - /// </summary> - public List<RevitHydrant> Hydrants { get; set; } - - /// <summary> /// 闂峰ご鍒楄〃 /// </summary> public List<RevitBlunthead> Bluntheads { get; set; } @@ -128,6 +118,16 @@ /// 鍥涢�氬垪琛� /// </summary> public List<RevitFourlink> Fourlinks { get; set; } + + /// <summary> + /// 鍠峰槾鍒楄〃 + /// </summary> + public List<RevitNozzle> Nozzles { get; set; } + + /// <summary> + /// 娑堢伀鏍撳垪琛� + /// </summary> + public List<RevitHydrant> Hydrants { get; set; } /// <summary> /// 姘磋〃 @@ -160,16 +160,6 @@ public List<RevitTranslation> Translations { get; set; } /// <summary> - /// 鎹㈢儹鍣ㄥ垪琛� - /// </summary> - public List<RevitExchanger> Exchangers { get; set; } - - /// <summary> - /// 绌哄帇鏈哄垪琛� - /// </summary> - public List<RevitCompressor> Compressors { get; set; } - - /// <summary> /// 姘存车鍒楄〃 /// </summary> public List<RevitPump> Pumps { get; set; } @@ -179,6 +169,16 @@ /// </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