| | |
| | | /// <param name="palletCode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("AssignYLRoadwayNo"), AllowAnonymous] |
| | | public WebResponseContent AssignYLRoadwayNo(string palletCode) |
| | | public WebResponseContent AssignYLRoadwayNo(string palletCode,int wide = 0, int thickness = 0, int weight = 0) |
| | | { |
| | | string roadWay= Service.AssignYLRoadwayNo(palletCode); |
| | | string roadWay= Service.AssignYLRoadwayNo(palletCode, wide, thickness, wide); |
| | | if (string.IsNullOrEmpty(roadWay)) |
| | | { |
| | | return WebResponseContent.Instance.Error("鏈壘鍒板彲鍒嗛厤宸烽亾"); |
| | |
| | | { |
| | | return Service.PrintInbound(saveModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 绌烘墭鍙犵洏鍑哄簱 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("PlateOutbound"), AllowAnonymous] |
| | | public WebResponseContent PlateOutbound(string stationCode) |
| | | { |
| | | return Service.PlateOutbound(stationCode); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 鍚敤AGV绔欑偣 |
| | | /// </summary> |
| | | /// <param name="keys"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, HttpGet, Route("EnableStatus")] |
| | | public WebResponseContent EnableStatus([FromBody] int[] keys) |
| | | { |
| | | return Service.EnableStatus(keys); |
| | | } |
| | | [HttpPost, HttpGet, Route("DisableStatus")] |
| | | public WebResponseContent DisableStatus([FromBody] int[] keys) |
| | | { |
| | | return Service.DisableStatus(keys); |
| | | } |
| | | } |
| | | } |