| | |
| | | /// <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> |
| | |
| | | { |
| | | return Service.AssignInboundTaskLocationByHeight(taskNum, roadwayNo, heightType); |
| | | } |
| | | |
| | | public WebResponseContent RequestZHInboundTask(string agvTaskCode, string palletCode, string palletType, string materialLot) |
| | | { |
| | | return Service.RequestZHInboundTask(agvTaskCode,palletCode,palletType,materialLot); |
| | | } |
| | | /// <summary> |
| | | /// å
¥åºä»»å¡å®æ |
| | | /// </summary> |
| | |
| | | /// <param name="StationCode">ç«å°å°å</param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("OutProductTask"), AllowAnonymous] |
| | | public async Task<WebResponseContent> OutProductTask([FromBody] int[] keys, string StationCode) |
| | | public async Task<WebResponseContent> OutProductTask([FromBody] int[] keys, string StationCode, int Grade) |
| | | { |
| | | return await Service.OutProductTask(keys, StationCode); |
| | | return await Service.OutProductTask(keys, StationCode, Grade); |
| | | } |
| | | /// <summary> |
| | | /// æå使éåºå
¥ä» |
| | |
| | | /// çææåæåºä»»å¡ |
| | | /// </summary> |
| | | [HttpPost, HttpGet, Route("OutProRworkTask"), AllowAnonymous] |
| | | public async Task<WebResponseContent> OutProRworkTask([FromBody] int[] keys, string StationCode) |
| | | public async Task<WebResponseContent> OutProRworkTask([FromBody] int[] keys, string StationCode, int Grade) |
| | | { |
| | | return await Service.OutProductTask(keys, StationCode); |
| | | return await Service.OutProductTask(keys, StationCode, Grade); |
| | | } |
| | | ///// <summary> |
| | | ///// çæMESPPä»å¤§å·åºåºä»»å¡ |
| | |
| | | { |
| | | return await Service.TaskCompleted(taskNum); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// åä¸ªä»»å¡æ¨éè³WCS |
| | | /// </summary> |
| | |
| | | { |
| | | return Service.OutProductSelect(orderDetailId, proStockViews); |
| | | } |
| | | /// <summary> |
| | | /// é»çæ¹æ¬¡ç©ææ¥è¯¢ |
| | | /// </summary> |
| | | [HttpPost, Route("GetZHMesMaterialLot"), AllowAnonymous] |
| | | public WebResponseContent GetZHMesMaterialLot(string materialLot) |
| | | { |
| | | return Service.GetZHMesMaterialLot(materialLot); |
| | | } |
| | | } |
| | | } |