| | |
| | | using System.Linq; |
| | | using System.Linq.Expressions; |
| | | using System.Text; |
| | | using Model.InterFaceModel; |
| | | using Model.ModelDto.BllSoDto; |
| | | using Model.ModelDto.LogDto; |
| | | using Newtonsoft.Json; |
| | | using SqlSugar; |
| | | using Utility.Tools; |
| | | using WMS.DAL; |
| | | using WMS.Entity.Context; |
| | | using WMS.Entity.LogEntity; |
| | |
| | | throw new Exception(e.Message); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// AGV入库放货请求下发至WCS |
| | | /// </summary> |
| | | /// <param name="port"></param> 入库口 |
| | | /// <param name="url"></param> 请求地址 |
| | | /// <returns></returns> |
| | | public string GetWcsPuttype(string port,string url) |
| | | { |
| | | try |
| | | { |
| | | var res = HttpHelper.DoPost(url, port, "请求WCS"+ port+"入库口放货", "WCS"); |
| | | |
| | | //////解析返回数据 |
| | | var ret = JsonConvert.DeserializeObject<WcsModel>(res); |
| | | return ret.Msg.ToString(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | |
| | | throw ex; |
| | | } |
| | | } |
| | | } |
| | | } |