| | |
| | | return Service.GenerateInboundTask(stationCode, inboundType, palletCode); |
| | | } |
| | | |
| | | [HttpPost, Route("TaskCompleted")] |
| | | [HttpPost, Route("TaskCompleted"), AllowAnonymous] |
| | | public WebResponseContent TaskCompleted(int taskNum) |
| | | { |
| | | return Service.TaskCompleted(taskNum); |
| | | } |
| | | |
| | | [HttpPost, Route("TaskCancel"), AllowAnonymous] |
| | | public WebResponseContent TaskCancel(int taskNum) |
| | | { |
| | | return Service.TaskCancel(taskNum); |
| | | } |
| | | [HttpPost, Route("UpdateTaskStatus"), AllowAnonymous] |
| | | public WebResponseContent UpdateTaskStatus(int taskNum) |
| | | { |
| | | return Service.UpdateTaskStatus(taskNum); |
| | | } |
| | | [HttpPost, Route("GenerateOutboundTask")] |
| | | public WebResponseContent GenerateOutboundTask(int id, List<StockSelectViewDTO> stockSelectViews) |
| | | public WebResponseContent GenerateOutboundTask( int id, [FromBody] List<StockSelectViewDTO> stockSelectViews) |
| | | { |
| | | return Service.GenerateOutboundTask(id, stockSelectViews); |
| | | } |
| | |
| | | { |
| | | return Service.GenerateOutboundTask(keys); |
| | | } |
| | | [HttpPost, Route("PalletOutboundTask")] |
| | | public WebResponseContent PalletOutboundTask(string roadwayNo, string endStation) |
| | | { |
| | | return Service.PalletOutboundTask(roadwayNo, endStation); |
| | | } |
| | | [HttpPost, Route("GetTaskInfo")] |
| | | public WebResponseContent GetTaskInfo() |
| | | { |
| | | return Service.GetTaskInfo(); |
| | | } |
| | | } |
| | | } |