| | |
| | | using WIDESEA_DTO; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_DTO; |
| | | using WIDESEA_IStorageBasicRepository; |
| | | using WIDESEA_IStorageTaskRepository; |
| | | using WIDESEAWCS_QuartzJob.Models; |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers; |
| | | |
| | |
| | | private readonly IHttpContextAccessor _httpContextAccessor; |
| | | private readonly IDt_TaskService _taskService; |
| | | private readonly ILocationInfoService _locationService; |
| | | private readonly ILocationInfoRepository _locationRepository; |
| | | private readonly IDt_TaskRepository BaseDal; |
| | | |
| | | public TaskController(IDt_TaskService taskService, |
| | | IHttpContextAccessor httpContextAccessor, |
| | | ILocationInfoService locationService) : base(taskService) |
| | | ILocationInfoService locationService, ILocationInfoRepository locationInfoRepository,IDt_TaskRepository repository) : base(taskService) |
| | | { |
| | | _httpContextAccessor = httpContextAccessor; |
| | | _taskService = taskService; |
| | | _locationService = locationService; |
| | | _locationRepository = locationInfoRepository; |
| | | BaseDal = repository; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | { |
| | | return Service.GetLocationStatus(); |
| | | } |
| | | |
| | | [HttpPost, AllowAnonymous, Route("GetRoadWayAsync")] |
| | | public async Task<string> GetRoadWayAsync(List<string> process) |
| | | { |
| | | return await Service.GetRoadWayAsync(process); |
| | | } |
| | | } |