yangyin
2024-08-20 98e49c0dd42840a094837f7acae532bc237a719a
Service/HStation.Service.Revit.Core/01-model/RevitModel_Method.cs
@@ -63,10 +63,7 @@
            {
                list.AddRange(this.Bluntheads);
            }
            if (this.Exchangers != null && this.Exchangers.Count > 0)
            {
                list.AddRange(this.Exchangers);
            }
            if (this.Pipes != null && this.Pipes.Count > 0)
            {
@@ -75,6 +72,10 @@
            if (this.Translations != null && this.Translations.Count > 0)
            {
                list.AddRange(this.Translations);
            }
            if (this.Exchangers != null && this.Exchangers.Count > 0)
            {
                list.AddRange(this.Exchangers);
            }
            if (this.Pumps != null && this.Pumps.Count > 0)
            {
@@ -148,10 +149,6 @@
            {
                list.AddRange(this.Bluntheads);
            }
            if (this.Exchangers != null && this.Exchangers.Count > 0)
            {
                list.AddRange(this.Exchangers);
            }
            return list;
        }
@@ -160,9 +157,9 @@
        /// 获取所有水源
        /// </summary>
        /// <returns></returns>
        public List<IRevitNode> GetAllWaterSources()
        public List<IRevitSource> GetAllWaterSources()
        {
            var list = new List<IRevitNode>();
            var list = new List<IRevitSource>();
            if (this.Reservoirs != null && this.Reservoirs.Count > 0)
            {
                list.AddRange(this.Reservoirs);
@@ -193,6 +190,10 @@
            if (this.Translations != null && this.Translations.Count > 0)
            {
                list.AddRange(this.Translations);
            }
            if (this.Exchangers != null && this.Exchangers.Count > 0)
            {
                list.AddRange(this.Exchangers);
            }
            if (this.Pumps != null && this.Pumps.Count > 0)
            {
@@ -254,10 +255,6 @@
            {
                list.AddRange(this.Bluntheads);
            }
            if (this.Exchangers != null && this.Exchangers.Count > 0)
            {
                list.AddRange(this.Exchangers);
            }
            return list;
        }
@@ -309,6 +306,10 @@
            {
                list.AddRange(this.Translations);
            }
            if (this.Exchangers != null && this.Exchangers.Count > 0)
            {
                list.AddRange(this.Exchangers);
            }
            return list;
        }