| | |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("ReceiveTask"), AllowAnonymous] |
| | | public WebResponseContent ReceiveWMSTask([FromBody] List<WMSTaskDTO> taskDTOs) |
| | | public WebResponseContent ReceiveWMSTask([FromBody] WMSTaskDTO taskDTOs) |
| | | { |
| | | return Service.ReceiveWMSTask(taskDTOs); |
| | | } |
| | |
| | | return Service.RollbackTaskStatusToLast(taskNum); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("text")] |
| | | public WebResponseContent text(int taskNum) |
| | | [HttpPost, HttpGet, Route("TaskComplete"), AllowAnonymous] |
| | | public WebResponseContent TaskComplete() |
| | | { |
| | | |
| | | |
| | | return Service.text(taskNum); |
| | | return Service.TaskComplete(); |
| | | } |
| | | [HttpPost, HttpGet, Route("RequestTask"), AllowAnonymous] |
| | | public WebResponseContent RequestTask() |
| | | { |
| | | return Service.RequestTask(); |
| | | } |
| | | } |
| | | } |