| | |
| | | [HttpPost, HttpGet, Route("DeviceRequestInboundTaskSimple"), AllowAnonymous] |
| | | public WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode) |
| | | { |
| | | return Service.DeviceRequestInboundTask(stationCode, palletCode); |
| | | return Service.DeviceRequestInboundTaskSimple(stationCode, palletCode); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <param name="stationCode"></param> |
| | | /// <param name="palletCode"></param> |
| | | /// <param name="roadwayNos"></param> |
| | | /// <param name="heightType"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("DeviceRequestInboundTaskByRoadways"), AllowAnonymous] |
| | | public WebResponseContent DeviceRequestInboundTaskByRoadways(string stationCode, string palletCode, int heightType, [FromBody] List<string> roadwayNos) |
| | | { |
| | | return Service.DeviceRequestInboundTaskByRoadways(stationCode, palletCode, roadwayNos, heightType); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="keys"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("GenerateOutboundTasks"), AllowAnonymous] |
| | | public WebResponseContent GenerateOutboundTask([FromBody] int[] keys) |
| | | public WebResponseContent GenerateOutboundTasks([FromBody] int[] keys) |
| | | { |
| | | return Service.GenerateOutboundTask(keys); |
| | | return Service.GenerateOutboundTasks(keys); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | [HttpPost, Route("AssignRoadwayByHeight"), AllowAnonymous] |
| | | public WebResponseContent AssignRoadwayByHeight([FromBody] List<string> roadwayNos, int taskNum, int heightType = 0) |
| | | { |
| | | return Service.AssignRoadway(roadwayNos, taskNum, heightType); |
| | | return Service.AssignRoadwayByHeight(roadwayNos, taskNum, heightType); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <param name="roadwayNos"></param> |
| | | /// <param name="palletCode"></param> |
| | | /// <param name="heightType"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("AssignRoadwayByHeightAndCode"), AllowAnonymous] |
| | | public WebResponseContent AssignRoadwayByHeightAndCode([FromBody] List<string> roadwayNos, string palletCode, int heightType = 0) |
| | | { |
| | | return Service.AssignRoadwayByHeightAndCode(roadwayNos, palletCode, heightType); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="roadwayNos"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("SingleAssignRoadway"), AllowAnonymous] |
| | | public WebResponseContent AssignRoadway([FromBody] List<string> roadwayNos) |
| | | public WebResponseContent SingleAssignRoadway([FromBody] List<string> roadwayNos) |
| | | { |
| | | return Service.AssignRoadway(roadwayNos); |
| | | return Service.SingleAssignRoadway(roadwayNos); |
| | | } |
| | | |
| | | /// <summary> |