From 952a65217562bf2441dd57d02fbd35bab169cf42 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期四, 02 四月 2026 15:08:59 +0800
Subject: [PATCH] 优化

---
 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs"
index deaccf2..a402251 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs"
@@ -34,8 +34,9 @@
         private readonly IStationMangerService _stationMangerService;
         private readonly ITrackloginfoService _trackloginfoService;
         private readonly IUnitOfWorkManage _unitOfWorkManage;
+        private readonly IAGVCartInfoService _agvcartInfoService;
 
-        public TaskJob(ITaskService taskService, IApiInfoService apiInfoService, IRGVLocationInfoService rGVLocationInfoService, IStationMangerService stationMangerService, ITrackloginfoService trackloginfoService, IUnitOfWorkManage unitOfWorkManage)
+        public TaskJob(ITaskService taskService, IApiInfoService apiInfoService, IRGVLocationInfoService rGVLocationInfoService, IStationMangerService stationMangerService, ITrackloginfoService trackloginfoService, IUnitOfWorkManage unitOfWorkManage, IAGVCartInfoService agvcartInfoService)
         {
             _taskService = taskService;//娉ㄥ叆
             _apiInfoService = apiInfoService;
@@ -43,15 +44,16 @@
             _stationMangerService = stationMangerService;
             _trackloginfoService = trackloginfoService;
             _unitOfWorkManage = unitOfWorkManage;
+            _agvcartInfoService = agvcartInfoService;
         }
 
         public Task Execute(IJobExecutionContext context)
         {
             try
             {
-                //SendNewTask();
+                SendNewTask();
 
-                //SendWaitToTask();
+                SendWaitToTask();
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3