dengjunjie
2026-03-02 e1f772ef890e46813b62a08aa8e77a258f6add2c
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/Task/TaskJob.cs
@@ -28,17 +28,24 @@
    {
        private readonly ITaskService _taskService;
        private readonly IApiInfoService _apiInfoService;
        public TaskJob(ITaskService taskService, IApiInfoService apiInfoService)
        private readonly IRGVLocationInfoService _rGVLocationInfoService;
        private readonly IStationMangerService _stationMangerService;
        private readonly ITrackloginfoService _trackloginfoService;
        public TaskJob(ITaskService taskService, IApiInfoService apiInfoService, IRGVLocationInfoService rGVLocationInfoService, IStationMangerService stationMangerService, ITrackloginfoService trackloginfoService)
        {
            _taskService = taskService;//娉ㄥ叆
            _apiInfoService = apiInfoService;
            _rGVLocationInfoService = rGVLocationInfoService;
            _stationMangerService = stationMangerService;
            _trackloginfoService = trackloginfoService;
        }
        public Task Execute(IJobExecutionContext context)
        {
            try
            {
                SendTask();
                SendNewTask();
                SendWaitToTask();
            }