| | |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_DTO.TaskInfo; |
| | | using WIDESEAWCS_DTO.WMS; |
| | | using WIDESEAWCS_ITaskInfoService; |
| | | |
| | | namespace WIDESEAWCS_Server.Controllers.WMS |
| | |
| | | { |
| | | return _taskService.ReceiveWMSTask(taskDTOs); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// åæ¶ä»»å¡ |
| | | /// </summary> |
| | | /// <param name="wMSCancelTask"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("CancelWMSTask"), AllowAnonymous] |
| | | public WebResponseContent CancelWMSTask([FromBody] WMSCancelTask wMSCancelTask) |
| | | { |
| | | return _taskService.CancelWMSTask(wMSCancelTask); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹ä»»å¡ä¼å
级 |
| | | /// </summary> |
| | | /// <param name="updateTaskPriority"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("UpdateWMSTaskPriority"), AllowAnonymous] |
| | | public WebResponseContent UpdateWMSTaskPriority([FromBody] WMSUpdateTaskPriority updateTaskPriority) |
| | | { |
| | | return _taskService.UpdateWMSTaskPriority(updateTaskPriority); |
| | | } |
| | | |
| | | } |
| | | } |