wangxinhui
2025-05-26 ef3870bb8d578457b310e58518ca814f3d4f932c
´úÂë¹ÜÀí/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)