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; } } }