using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEAWCS_Core;
|
using WIDESEAWCS_DTO.Agv;
|
using WIDESEAWCS_DTO.PDA;
|
using WIDESEAWCS_IBasicInfoRepository;
|
using WIDESEAWCS_ITaskInfoRepository;
|
using WIDESEAWCS_ITaskInfoService;
|
using WIDESEAWCS_QuartzJob.Repository;
|
|
namespace WIDESEAWCS_Server.Controllers.PDA
|
{
|
[Route("api/[controller]")]
|
[ApiController]
|
public class PDAController : ControllerBase
|
{
|
private readonly IDt_StationManagerRepository _stationMangerRepository;
|
private readonly ITaskService _taskService;
|
private readonly ITaskRepository _taskRepository;
|
private readonly IRouterRepository _routerRepository;
|
|
public PDAController(IDt_StationManagerRepository stationMangerRepository, ITaskService taskService, ITaskRepository taskRepository, IRouterRepository routerRepository)
|
{
|
_stationMangerRepository = stationMangerRepository;
|
_taskService = taskService;
|
_taskRepository = taskRepository;
|
_routerRepository = routerRepository;
|
}
|
|
[HttpPost, HttpGet, Route("ContainerbindingAsync"), AllowAnonymous]
|
public async Task<WebResponseContent> ContainerbindingAsync([FromBody] ContainerbindingDTO containerbindingDTO)
|
{
|
WebResponseContent content = new WebResponseContent();
|
return content.OK();
|
}
|
|
}
|
}
|