From ef5f0ac9ab83f89dbca90627c0b57c4af8b163d7 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期一, 10 二月 2025 17:24:08 +0800
Subject: [PATCH] 权限修改

---
 Service/HStation.Service.Revit.Core/00-core/PipeStatus.cs |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/Service/HStation.Service.Revit.Core/00-core/PipeStatus.cs b/Service/HStation.Service.Revit.Core/00-core/PipeStatus.cs
index 3b250fe..34db175 100644
--- a/Service/HStation.Service.Revit.Core/00-core/PipeStatus.cs
+++ b/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;
+        }
+
+
+
     }
 }

--
Gitblit v1.9.3