| 文件名从 Code Management/WCS/WIDESEA_WCSServer/WIDESEAWCS_Server/Controllers/AGV/AGVController.cs 修改 |
| | |
| | | { |
| | | [Route("api/AGV")] |
| | | [ApiController] |
| | | public class AGVController : ControllerBase |
| | | public class ESSController : ControllerBase |
| | | { |
| | | private readonly ITaskRepository _taskRepository; |
| | | private readonly ITaskService _taskService; |
| | | private readonly IAGVSignal _signal; |
| | | private readonly IESSSignal _signal; |
| | | |
| | | public AGVController(ITaskRepository taskRepository,ITaskService taskService,IAGVSignal signal) |
| | | public ESSController(ITaskRepository taskRepository,ITaskService taskService,IESSSignal signal) |
| | | { |
| | | _taskRepository = taskRepository; |
| | | _taskService = taskService; |
| | |
| | | /// </summary> |
| | | /// <param name="receiveDTO"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet,Route("AGVStatusReport"), AllowAnonymous] |
| | | public WebResponseContent AGVStatusReport([FromBody] AGVReceiveDTO receiveDTO) |
| | | [HttpPost, HttpGet,Route("TaskStatusCallback"), AllowAnonymous] |
| | | public WebResponseContent TaskStatusCallback([FromBody] StatusCallbackRequest result) |
| | | { |
| | | return _signal.SignalInteraction(receiveDTO); |
| | | return _signal.TaskStatusCallback(result); |
| | | } |
| | | |
| | | |