#region << 版 本 注 释 >>
|
/*----------------------------------------------------------------
|
* 命名空间:WIDESEAWCS_Tasks.ConveyorLineJob
|
* 创建者:胡童庆
|
* 创建时间:2024/8/2 16:13:36
|
* 版本:V1.0.0
|
* 描述:
|
*
|
* ----------------------------------------------------------------
|
* 修改人:
|
* 修改时间:
|
* 版本:V1.0.1
|
* 修改说明:
|
*
|
*----------------------------------------------------------------*/
|
#endregion << 版 本 注 释 >>
|
|
using AutoMapper;
|
using Magicodes.ExporterAndImporter.Excel.Utility.TemplateExport;
|
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
|
{
|
[DisallowConcurrentExecution]
|
public partial class AGVjob : IJob
|
{
|
private readonly ITaskService _taskService;
|
private readonly IMapper _mapper;
|
//private readonly ICacheService _cacheService;
|
private readonly ICachePointRepository _cachePointRepository;
|
private readonly ITaskRepository _taskRepository;
|
|
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)
|
{
|
SendAgvTask();
|
MqttExample();
|
return Task.CompletedTask;
|
}
|
}
|
}
|