From a84a83d842f4fa220a8cf1b704e6ed6573684eef Mon Sep 17 00:00:00 2001
From: ningshuxia <ningshuxia0927@outlook.com>
Date: 星期四, 20 三月 2025 17:38:19 +0800
Subject: [PATCH] 快速建模

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

diff --git a/Service/HStation.Service.Revit.Core/00-core/PipeStatus.cs b/Service/HStation.Service.Revit.Core/00-core/PipeStatus.cs
index 990a62a..34db175 100644
--- a/Service/HStation.Service.Revit.Core/00-core/PipeStatus.cs
+++ b/Service/HStation.Service.Revit.Core/00-core/PipeStatus.cs
@@ -8,16 +8,34 @@
         /// <summary>
         /// 寮�鍚�
         /// </summary>
-        public const string Open = "OPEN";
+        public const string Open = "Open";
 
         /// <summary>
         /// 鍏抽棴
         /// </summary>
-        public const string Close = "CLOSE";
+        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