From 21078521d79f0eb5535cc34be7917a3fd1123b8f Mon Sep 17 00:00:00 2001
From: HuBingJie <3146306518@qq.com>
Date: 星期三, 29 十月 2025 15:35:29 +0800
Subject: [PATCH] RGV监控

---
 代码管理/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