| | |
| | | using WIDESEA_Common.CommonEnum; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_DTO.Outbound; |
| | | using WIDESEA_DTO.Stock; |
| | | using WIDESEA_DTO.Task; |
| | | using WIDESEA_ITaskInfoService; |
| | |
| | | public WebResponseContent AssignInboundTaskLocation(int taskNum, string roadwayNo) |
| | | { |
| | | return Service.AssignInboundTaskLocation(taskNum, roadwayNo); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// åWMSç³è¯·åºåºAGVç»ç¹ |
| | | /// </summary> |
| | | /// <param name="taskNum">ä»»å¡å·</param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("AssignOutTargetAddress"), AllowAnonymous] |
| | | public WebResponseContent AssignOutTargetAddress(int taskNum) |
| | | { |
| | | return Service.AssignOutTargetAddress(taskNum); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="palletCode">æ¡ç </param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("YLPurchaseBoxing"), AllowAnonymous] |
| | | public WebResponseContent YLPurchaseBoxing(string palletCode) |
| | | public WebResponseContent YLPurchaseBoxing(string palletCode,decimal weight=0,decimal thickness = 0, decimal wide = 0, string stationCode = "") |
| | | { |
| | | return Service.YLPurchaseBoxing(palletCode); |
| | | return Service.YLPurchaseBoxing(palletCode,weight,thickness,wide,stationCode); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// åæéè´ç»å®RFID |
| | | /// </summary> |
| | | /// <param name="palletCode">çº¸å·æ¡ç </param> |
| | | /// <param name="rfidCode">纸å·RIFD</param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("PurchaseBoxing"), AllowAnonymous] |
| | | public WebResponseContent PurchaseBoxing(string palletCode) |
| | |
| | | /// <summary> |
| | | /// åæåºåºä»»å¡ |
| | | /// </summary> |
| | | /// <param name="materielCode">ç©æä»£ç </param> |
| | | /// <param name="materielWide">ç©æå¹
宽</param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("RequestYLWMSTaskOut"), AllowAnonymous] |
| | | public WebResponseContent RequestYLWMSTaskOut(string materielCode,int materielWide, int count,string address="") |
| | | public WebResponseContent RequestYLWMSTaskOut([FromBody] YLWMSTaskOutDTO yLWMSTaskOutDTO) |
| | | { |
| | | return Service.RequestYLWMSTaskOut(materielCode, materielWide, count, address); |
| | | return Service.RequestYLWMSTaskOut(yLWMSTaskOutDTO); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public WebResponseContent PrintInbound([FromBody] SaveModel saveModel) |
| | | { |
| | | return Service.PrintInbound(saveModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å建å纸ç产æç¨åºåºä»»å¡ |
| | | /// </summary> |
| | | [HttpPost, HttpGet, Route("CreateBSTOutboundTasks"), AllowAnonymous] |
| | | public WebResponseContent CreateBSTOutboundTasks([FromBody] int[] keys) |
| | | { |
| | | return Service.CreateBSTOutboundTasks(keys); |
| | | } |
| | | } |
| | | } |