| | |
| | | /// <param name="palletCode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("DeviceRequestInboundTask"), AllowAnonymous] |
| | | public WebResponseContent DeviceRequestInboundTask(string stationCode, string roadwayNo, string palletCode) |
| | | public WebResponseContent DeviceRequestInboundTask(string stationCode, string roadwayNo, string palletCode,string materielBoxCode = "") |
| | | { |
| | | return Service.DeviceRequestInboundTask(stationCode, roadwayNo, palletCode); |
| | | return Service.DeviceRequestInboundTask(stationCode, roadwayNo, palletCode, materielBoxCode); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="StationCode">ç«å°å°å</param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("OutProductTask"), AllowAnonymous] |
| | | public WebResponseContent OutProductTask([FromBody] int[] keys, string StationCode) |
| | | public async Task<WebResponseContent> OutProductTask([FromBody] int[] keys, string StationCode, int Grade) |
| | | { |
| | | return Service.OutProductTask(keys, StationCode); |
| | | return await Service.OutProductTask(keys, StationCode, Grade); |
| | | } |
| | | /// <summary> |
| | | /// æå使éåºå
¥ä» |
| | |
| | | /// çææåæåºä»»å¡ |
| | | /// </summary> |
| | | [HttpPost, HttpGet, Route("OutProRworkTask"), AllowAnonymous] |
| | | public WebResponseContent OutProRworkTask([FromBody] int[] keys, string StationCode) |
| | | public async Task<WebResponseContent> OutProRworkTask([FromBody] int[] keys, string StationCode, int Grade) |
| | | { |
| | | return Service.OutProductTask(keys, StationCode); |
| | | return await Service.OutProductTask(keys, StationCode, Grade); |
| | | } |
| | | ///// <summary> |
| | | ///// çæMESPPä»å¤§å·åºåºä»»å¡ |
| | |
| | | /// <param name="taskNum">ä»»å¡å·</param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("TaskCompleted"), AllowAnonymous] |
| | | public WebResponseContent TaskCompleted(int taskNum) |
| | | public async Task<WebResponseContent> TaskCompleted(int taskNum) |
| | | { |
| | | return Service.TaskCompleted(taskNum); |
| | | return await Service.TaskCompleted(taskNum); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | { |
| | | return Service.AGVTasks(saveModel); |
| | | } |
| | | /// <summary> |
| | | /// æåæå®åºåº |
| | | /// </summary> |
| | | /// <param name="task"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("OutProductSelect"), AllowAnonymous] |
| | | public WebResponseContent OutProductSelect(int orderDetailId,[FromBody] List<ProStockViewDTO> proStockViews) |
| | | { |
| | | return Service.OutProductSelect(orderDetailId, proStockViews); |
| | | } |
| | | } |
| | | } |