Service/HStation.Service.Revit.Core/00-core/ValveStatus.cs
@@ -19,5 +19,31 @@ /// 关闭 /// </summary> public const string Closed = "Closed"; /// <summary> /// 包含 /// </summary> public static bool Contains(string status) { if (string.IsNullOrEmpty(status)) { return false; } if (status == None) { return true; } if (status == Open) { return true; } if (status == Closed) { return true; } return false; } } }