| | |
| | | } |
| | | var wmsIpAddress = wmsBase + ipAddress; |
| | | |
| | | var result = HttpsClient.PostAsync(wmsIpAddress, inputJson).Result; |
| | | var result =await HttpsClient.PostAsync(wmsIpAddress, inputJson); |
| | | content.OK(data: result); |
| | | |
| | | var respone = JsonConvert.DeserializeObject<ResponeAgingInputDto>(result.ToString()); |
| | |
| | | } |
| | | catch (Exception err) |
| | | { |
| | | MoMErrorMsg.AddMoMErrorMsg(0, input.TrayBarcode, err.Message, SysConfigConst.AgingInput); |
| | | Console.WriteLine(err.Message.ToString()); |
| | | //MoMErrorMsg.AddMoMErrorMsg(0, input.TrayBarcode, err.Message, SysConfigConst.AgingInput); |
| | | //Console.WriteLine(err.Message.ToString()); |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Error(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Error(true, err.StackTrace); |
| | | } |
| | |
| | | } |
| | | catch (Exception err) |
| | | { |
| | | MoMErrorMsg.AddMoMErrorMsg(0, input.TrayBarcode, err.Message, SysConfigConst.AgingOutput); |
| | | Console.WriteLine(err.Message.ToString()); |
| | | //MoMErrorMsg.AddMoMErrorMsg(0, input.TrayBarcode, err.Message, SysConfigConst.AgingOutput); |
| | | //Console.WriteLine(err.Message.ToString()); |
| | | LogFactory.GetLog("静置陈化出库(整托盘)").Error(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("静置陈化出库(整托盘)").Error(true, err.StackTrace); |
| | | content.Error(err.Message); |