| | |
| | | {//消火栓 |
| | | list.AddRange(this.Hydrants); |
| | | } |
| | | if (this.Coolings != null && this.Coolings.Count > 0) |
| | | {//冷却塔 |
| | | list.AddRange(this.Coolings); |
| | | } |
| | | if (this.Meters != null && this.Meters.Count > 0) |
| | | {//水表 |
| | | list.AddRange(this.Meters); |
| | |
| | | if (this.Hydrants != null && this.Hydrants.Count > 0) |
| | | {//消火栓 |
| | | list.AddRange(this.Hydrants); |
| | | } |
| | | if (this.Coolings != null && this.Coolings.Count > 0) |
| | | {//冷却塔 |
| | | list.AddRange(this.Coolings); |
| | | } |
| | | if (this.Meters != null && this.Meters.Count > 0) |
| | | {//水表 |
| | |
| | | {//消火栓 |
| | | list.AddRange(this.Hydrants); |
| | | } |
| | | if (this.Coolings != null && this.Coolings.Count > 0) |
| | | {//冷却塔 |
| | | list.AddRange(this.Coolings); |
| | | } |
| | | if (this.Meters != null && this.Meters.Count > 0) |
| | | {//水表 |
| | | list.AddRange(this.Meters); |
| | |
| | | {//消火栓 |
| | | list.AddRange(this.Hydrants); |
| | | } |
| | | if (this.Coolings != null && this.Coolings.Count > 0) |
| | | {//冷却塔 |
| | | list.AddRange(this.Coolings); |
| | | } |
| | | if (this.Meters != null && this.Meters.Count > 0) |
| | | {//水表 |
| | | list.AddRange(this.Meters); |
| | |
| | | if (this.Hydrants != null && this.Hydrants.Count > 0) |
| | | {//消火栓 |
| | | list.AddRange(this.Hydrants); |
| | | } |
| | | if (this.Coolings != null && this.Coolings.Count > 0) |
| | | {//冷却塔 |
| | | list.AddRange(this.Coolings); |
| | | } |
| | | |
| | | return list; |
| | |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取所有管道组件 |
| | | /// </summary> |
| | | public List<RevitPipe> GetAllPipes() |
| | | { |
| | | var list = new List<RevitPipe>(); |
| | | |
| | | if (this.Pipes != null && this.Pipes.Count > 0) |
| | | {//管道 |
| | | list.AddRange(this.Pipes); |
| | | } |
| | | if (this.Translations != null && this.Translations.Count > 0) |
| | | {//过渡件 |
| | | list.AddRange(this.Translations); |
| | | } |
| | | |
| | | return list; |
| | | } |
| | | |
| | | |
| | | |