From f1d726e3de8f15cdfe30d4ca5fbba733d73a1e56 Mon Sep 17 00:00:00 2001
From: 刘磊 <1161824510@qq.com>
Date: 星期六, 17 一月 2026 09:58:33 +0800
Subject: [PATCH] 同步

---
 项目代码/WMS/WMSServer/WIDESEA_StorageTaskServices/BDCManager/BDCManager.cs |   52 ++++++++++++++++++++--------------------------------
 1 files changed, 20 insertions(+), 32 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageTaskServices/BDCManager/BDCManager.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageTaskServices/BDCManager/BDCManager.cs"
index 8b0a749..8f902cf 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageTaskServices/BDCManager/BDCManager.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_StorageTaskServices/BDCManager/BDCManager.cs"
@@ -4,48 +4,36 @@
 using System.Security.Cryptography.X509Certificates;
 using System.Text;
 using System.Threading.Tasks;
+using WIDESEA_IStoragIntegrationServices;
+using WIDESEAWCS_BasicInfoRepository;
+using WIDESEAWCS_BasicInfoService;
 
 namespace WIDESEA_StorageTaskServices
 {
-    public class BDCManager : IBDCManager
+    public partial class BDCManager : IBDCManager
     {
         private readonly List<Dt_PalletStockInfo> _storageLocations;
-        private readonly List<DtLocationInfo> _locationInfos;
         private readonly object _lock = new object();
+        private readonly IDt_BDCConfigurationService _BDCConfigurationService;
+        private readonly ILocationInfoRepository _locationRepository;
+        private readonly IDt_RoadWayInfoRepository _roadWayInfoRepository;
+        private readonly IDt_RoadWayRepository _roadWayRepository;
+        private readonly IMESService _mesService;
+ 
+
+        // 鏇存柊鏋勯�犲嚱鏁�
+        public BDCManager(IDt_BDCConfigurationService BDCConfigurationService, ILocationInfoRepository locationInfoRepository, IDt_RoadWayInfoRepository roadWayInfoRepository, IMESService mesService)
+        {
+            _BDCConfigurationService = BDCConfigurationService;
+            _locationRepository = locationInfoRepository;
+            _roadWayInfoRepository = roadWayInfoRepository;
+            _mesService = mesService;
+        }
 
 
-        public int TotalCapacity => _locationInfos.Count;
+        public List<DtLocationInfo> TotalCapacity => _locationRepository.QueryData();
 
         public int CurrentOccupancy => _storageLocations.Count;
 
-        public bool AddToBDC(Dt_CarBody body)
-        {
-            throw new NotImplementedException();
-        }
-
-        public void GenerateReport()
-        {
-            throw new NotImplementedException();
-        }
-
-        public List<Dt_CarBody> GetInventory()
-        {
-            throw new NotImplementedException();
-        }
-
-        public List<Dt_CarBody> RetrieveByColor(int color)
-        {
-            throw new NotImplementedException();
-        }
-
-        public List<Dt_CarBody> RetrieveByModel(string model)
-        {
-            throw new NotImplementedException();
-        }
-
-        public Dt_CarBody RetrieveFromBDC(string bodyId)
-        {
-            throw new NotImplementedException();
-        }
     }
 }

--
Gitblit v1.9.3