From 46908c0f79e7aab8a3fa41bfdcd8390bbc3659f2 Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期日, 04 一月 2026 11:48:15 +0800
Subject: [PATCH] 完善前端二期播种墙初始化和任务完成按钮,后端定期删除日志

---
 项目代码/WCSServices/WIDESEAWCS_Tasks/AGV/AGVErrorJob.cs |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVErrorJob.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVErrorJob.cs"
index 4c63a51..1c72a41 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVErrorJob.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCSServices/WIDESEAWCS_Tasks/AGV/AGVErrorJob.cs"
@@ -6,7 +6,10 @@
 using System.Text;
 using System.Threading.Tasks;
 using WIDESEAWCS_IBasicInfoRepository;
+using WIDESEAWCS_ISystemRepository;
+using WIDESEAWCS_ISystemServices;
 using WIDESEAWCS_ITaskInfoService;
+using WIDESEAWCS_Model.Models;
 using WIDESEAWCS_QuartzJob;
 using WIDESEAWCS_QuartzJob.Service;
 
@@ -21,8 +24,10 @@
         private readonly IStationMangerRepository _stationMangerRepository;
         private readonly ILocationInfoRepository _locationInfoRepository;
         private readonly IMapper _mapper;
+        private readonly ISys_LogService _logService;
 
-        public AGVErrorJob(ITaskService taskService, ITaskExecuteDetailService taskExecuteDetailService, IRouterService routerService, IStationMangerRepository stationMangerRepository, ILocationInfoRepository locationInfoRepository, IMapper mapper)
+
+        public AGVErrorJob(ITaskService taskService, ITaskExecuteDetailService taskExecuteDetailService, IRouterService routerService, IStationMangerRepository stationMangerRepository, ILocationInfoRepository locationInfoRepository, ISys_LogService logService,  IMapper mapper)
         {
             _taskService = taskService;
             _taskExecuteDetailService = taskExecuteDetailService;
@@ -30,12 +35,16 @@
             _stationMangerRepository = stationMangerRepository;
             _locationInfoRepository = locationInfoRepository;
             _mapper = mapper;
+            _logService = logService;
         }
         public Task Execute(IJobExecutionContext context)
         {
             try
             {
                 _taskService.AgvSearchStatus();
+                // 鏌ヨ鏃ュ織鍓�3涓湀鍜�3澶╁墠骞朵笖鏄疷rl涓篽ttp://11.2.30.141:10870/interfaces/api/amr/robotQuery
+                _logService.DeleteOldLogs();
+
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3