From 49a177598902683ea538de64848499911f4f25b9 Mon Sep 17 00:00:00 2001 From: wanshenmean <cathay_xy@163.com> Date: 星期日, 19 四月 2026 19:25:35 +0800 Subject: [PATCH] refactor(RobotState): 将 RobotStateManager 从 Redis 改为依赖数据库仓储 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --- Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs index 59cbd0a..a3e0f16 100644 --- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs +++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs @@ -81,6 +81,7 @@ builder.Services.AddDbSetup(); // Db 鏁版嵁搴撻厤缃� builder.Services.AddInitializationHostServiceSetup(); // 搴旂敤绋嬪簭鍒濆鍖栨湇鍔℃敞鍐� builder.Services.AddHostedService<AutoOutboundTaskBackgroundService>(); // 鍚姩鑷姩鍑哄簱浠诲姟鍚庡彴鏈嶅姟 +builder.Services.AddHostedService<StockMonitorBackgroundService>(); // 鍚姩搴撳瓨鐩戞帶鍚庡彴鏈嶅姟 // builder.Services.AddHostedService<PermissionDataHostService>(); // 鏉冮檺鏁版嵁鏈嶅姟 builder.Services.AddAutoMapperSetup(); -- Gitblit v1.9.3