lixiaojun
2025-01-20 bef933e7e166b085ba7e46e38ea62d9ae0129ec6
Service/HStation.Service.Revit.Core/00-core/PipeStatus.cs
@@ -16,8 +16,26 @@
        public const string Closed = "Closed";
        /// <summary>
        /// CV 意味着管道包含了限制流向的止回阀
        /// 包含
        /// </summary>
        public const string CV = "CV";
        public static bool Contains(string status)
        {
            if (string.IsNullOrEmpty(status))
            {
                return false;
            }
            if (status == Open)
            {
                return true;
            }
            if (status == Closed)
            {
                return true;
            }
            return false;
        }
    }
}