duheng
2024-10-16 083c4e47c7a59025f3348bd093693c6b3febb014
Service/HStation.Service.Revit.Core/00-core/PumpStatus.cs
@@ -14,5 +14,27 @@
        /// 关闭
        /// </summary>
        public const string Closed = "Closed";
        /// <summary>
        /// 包含
        /// </summary>
        public static bool Contains(string status)
        {
            if (string.IsNullOrEmpty(status))
            {
                return false;
            }
            if (status == Open)
            {
                return true;
            }
            if (status == Closed)
            {
                return true;
            }
            return false;
        }
    }
}