From 724f42c61e81de643ff94256b2ab3661533f5106 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期五, 25 四月 2025 10:47:56 +0800
Subject: [PATCH] 代码提交

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Tasks/Jobs/AGVjob.cs |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Tasks/Jobs/AGVjob.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Tasks/Jobs/AGVjob.cs"
index ab4d388..23d156e 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Tasks/Jobs/AGVjob.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Tasks/Jobs/AGVjob.cs"
@@ -20,6 +20,8 @@
 using Quartz;
 using SqlSugar;
 using WIDESEA_Core.Log;
+using WIDESEA_IBasicRepository;
+using WIDESEA_ITaskInfoRepository;
 using WIDESEA_ITaskInfoService;
 using static System.Collections.Specialized.BitVector32;
 namespace WIDESEA_Tasks
@@ -29,20 +31,23 @@
     {
         private readonly ITaskService _taskService;
         private readonly IMapper _mapper;
+        //private readonly ICacheService _cacheService;
+        private readonly ICachePointRepository _cachePointRepository;
+        private readonly ITaskRepository _taskRepository;
 
-        public AGVjob(ITaskService taskService, IMapper mapper)
+        public AGVjob(ITaskService taskService, ITaskRepository taskRepository, ICachePointRepository cachePointRepository, IMapper mapper)//ICacheService cacheService,ITaskRepository taskRepository, ICachePointRepository cachePointRepository,
         {
             _taskService = taskService;
+            // _cacheService = cacheService;
+            _cachePointRepository = cachePointRepository;
+            _taskRepository = taskRepository;
             _mapper = mapper;
         }
 
         public Task Execute(IJobExecutionContext context)
         {
-            WriteLog.Info($"绯荤粺杩愯").Write($"鎴愬姛", $"绯荤粺杩愯");
-            //SendAgvTask();
+            SendAgvTask();
             MqttExample();
-            //Printer();
-            //Main();
             return Task.CompletedTask;
         }
     }

--
Gitblit v1.9.3