| | |
| | | var wmsIpAddress = wmsBase + ipAddress; |
| | | |
| | | var result = HttpsClient.PostAsync(wmsIpAddress, inputJson).Result; |
| | | //var x = await HttpsClient.PostAsync("http://c24-cellmi3:12020/api/MachineIntegration/ProcessApply", inputJson); |
| | | |
| | | if (result != null) |
| | | { |
| | | //var ResultProcess = JsonConvert.DeserializeObject<ResultProcessApply>(x); |
| | | content.OK(data: result); |
| | | |
| | | //var respone = JsonConvert.DeserializeObject<ResultProcessApply>(result.ToString()); |
| | | //if (!respone.Success) |
| | | //{ |
| | | // MoMErrorMsg.AddMoMErrorMsg(0, input.WipOrderNo, respone.MOMMessage, SysConfigConst.TrayCellsStatus); |
| | | //} |
| | | //else |
| | | //{ |
| | | // MoMErrorMsg.DeleteMoMErrorMsg(0, input.WipOrderNo); |
| | | //} |
| | | } |
| | | LogFactory.GetLog("工艺路线申请").Info(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("工艺路线申请").Info(true, result); |