From 0b4792ff8245f9eac16e6d02452eb9a091f6f72b Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期二, 28 十月 2025 19:42:04 +0800
Subject: [PATCH] 1

---
 代码管理/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/EquipmentStatusService.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/EquipmentStatusService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/EquipmentStatusService.cs"
index 4d66586..ebb460b 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/EquipmentStatusService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/EquipmentStatusService.cs"
@@ -60,5 +60,15 @@
         {
             return BaseDal.QueryData(x => x.Equipment_type == 1).ToList();
         }
+
+        public bool GetSCstatus()
+        {
+            List<EquipmentStatus> equipment = BaseDal.QueryData(x => x.Equipment_Status == 1).ToList();
+            if(equipment.Count > 0)
+            {
+                return true;
+            }
+            return false;
+        }
     }
 }

--
Gitblit v1.9.3