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