From 28110912ca4803e5793f181517d7bf2d7a5ea2ad Mon Sep 17 00:00:00 2001
From: HuBingJie <3146306518@qq.com>
Date: 星期五, 05 十二月 2025 00:32:49 +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