| | |
| | | |
| | | private async Task<WebResponseContent> RequestInRoadWayTask(string palletCode, string PVI, Dt_StationManager stationManager) |
| | | { |
| | | var wmsIpAddrss = GetWmsIpAddress(SysConfigKeyConst.RequestInboundRoadWayNo); |
| | | var wmsIpAddrss = string.Empty; |
| | | if (stationManager.stationType == 5) |
| | | { |
| | | wmsIpAddrss = GetWmsIpAddress(SysConfigKeyConst.RequestInboundRoadWayNo); |
| | | } |
| | | else if (stationManager.stationType == 9) |
| | | { |
| | | wmsIpAddrss = GetWmsIpAddress(SysConfigKeyConst.RequestEmptyInboundRoadWayNo); |
| | | } |
| | | |
| | | if (string.IsNullOrEmpty(wmsIpAddrss)) throw new Exception("鏈厤缃甒MS璇锋眰鍦板潃"); |
| | | |
| | | //var wmsIpAddrss = GetWmsIpAddress(SysConfigKeyConst.RequestInboundRoadWayNo); |
| | | var result = await HttpHelper.PostAsync(wmsIpAddrss, new { palletCode = palletCode, Roadways = stationManager.Roadway, area = stationManager.stationArea, Position = stationManager.stationChildCode, PVI = PVI }.ToJsonString()); |
| | | return JsonConvert.DeserializeObject<WebResponseContent>(result); |
| | | } |