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_TaskInfoService/TaskService.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
index f64135c..0b7d8e4 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs
@@ -40,6 +40,7 @@
         private readonly IStockInfo_HtyService _stockInfo_HtyService;
         private readonly IUnitOfWorkManage _unitOfWorkManage;
         private readonly IRecordService _recordService;
+        private readonly IMESDeviceConfigService _mesDeviceConfigService;
 
         public IRepository<Dt_Task> Repository => BaseDal;
 
@@ -64,7 +65,8 @@
             ITask_HtyService task_HtyService,
             IStockInfo_HtyService stockInfo_HtyService,
             IUnitOfWorkManage unitOfWorkManage,
-            IRecordService recordService) : base(BaseDal)
+            IRecordService recordService,
+            IMESDeviceConfigService mesDeviceConfigService) : base(BaseDal)
         {
             _mapper = mapper;
             _stockInfoService = stockInfoService;
@@ -77,6 +79,7 @@
             _stockInfo_HtyService = stockInfo_HtyService;
             _unitOfWorkManage = unitOfWorkManage;
             _recordService = recordService;
+            _mesDeviceConfigService = mesDeviceConfigService;
         }
 
         /// <summary>

--
Gitblit v1.9.3