From baf2e27842ba7a0176ab4842377e721249966c9e Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期三, 15 一月 2025 11:32:36 +0800
Subject: [PATCH] 1

---
 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/HostedService/WarehouseHostedService.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/HostedService/WarehouseHostedService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/HostedService/WarehouseHostedService.cs"
index bfebe8b..8da05a1 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/HostedService/WarehouseHostedService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/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)

--
Gitblit v1.9.3