wangxinhui
2025-12-31 6f8b21411a2a56f6a33fe0112c2ed0eeca407e9c
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/HostedService/WarehouseHostedService.cs
@@ -1,4 +1,5 @@

using HslCommunication.WebSocket;
using SqlSugar;
using WIDESEAWCS_Core.Helper;
using WIDESEAWCS_Core.Seed;
@@ -12,11 +13,13 @@
    {
        private readonly ICacheService _cacheService;
        private readonly DBContext _dbContext;
        //private readonly WebSocketServer _webSocketServer;
        public WarehouseHostedService(ICacheService cacheService, DBContext dbContext)
        public WarehouseHostedService(ICacheService cacheService, DBContext dbContext/*, WebSocketServer webSocketServer*/)
        {
            _cacheService = cacheService;
            _dbContext = dbContext;
            //_webSocketServer = webSocketServer;
        }
        public Task StartAsync(CancellationToken cancellationToken)