| | |
| | | using System.Security.Cryptography.X509Certificates; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | 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; |
| | | |
| | | |
| | | public int TotalCapacity => _locationInfos.Count; |
| | | // æ´æ°æé 彿° |
| | | public BDCManager(IDt_BDCConfigurationService BDCConfigurationService, ILocationInfoRepository locationInfoRepository, IDt_RoadWayInfoRepository roadWayInfoRepository ) |
| | | { |
| | | _BDCConfigurationService = BDCConfigurationService; |
| | | _locationRepository = locationInfoRepository; |
| | | _roadWayInfoRepository = roadWayInfoRepository; |
| | | } |
| | | |
| | | |
| | | 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(); |
| | | } |
| | | } |
| | | } |