| | |
| | | input.Software = "陈化机"; |
| | | input.EquipmentCode = "P1K10040"; |
| | | input.EmployeeNo = "T00001"; |
| | | input.RequestTime = DateTime.UtcNow.ToString(); |
| | | input.RequestTime = TimeZoneInfo.ConvertTimeToUtc(DateTime.Now).ToString("yyyy-MM-ddTHH:mm:ss.fffZ"); |
| | | var inputJson = input.ToDictionary(); |
| | | var x = await HttpsClient.PostAsync("https://localhost:7274/api/AgingInOrOutInput", inputJson); |
| | | LogFactory.GetLog("静置/陈化入库(整托盘)").Info(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("静置/陈化入库(整托盘)").Info(true, x); |
| | | var x = await HttpsClient.PostAsync("http://ts-momapp01:12020/api/MachineIntegration/AgingInput", inputJson); |
| | | if (x != null) |
| | | { |
| | | |
| | | } |
| | | |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Info(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Info(true, x); |
| | | } |
| | | catch (Exception err) |
| | | { |
| | | Console.WriteLine(err.Message.ToString()); |
| | | LogFactory.GetLog("静置/陈化入库(整托盘)").Error(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("静置/陈化入库(整托盘)").Error(true, err.StackTrace); |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Error(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("静置陈化入库(整托盘)").Error(true, err.StackTrace); |
| | | } |
| | | return Task.FromResult<dynamic>(null); |
| | | } |
| | |
| | | input.Software = "陈化机"; |
| | | input.EquipmentCode = "P1K10040"; |
| | | input.EmployeeNo = "T00001"; |
| | | input.RequestTime = DateTime.UtcNow.ToString(); |
| | | input.RequestTime = TimeZoneInfo.ConvertTimeToUtc(DateTime.Now).ToString("yyyy-MM-ddTHH:mm:ss.fffZ"); ; |
| | | var inputJson = input.ToDictionary(); |
| | | var x = await HttpsClient.PostAsync("https://localhost:7274/api/AgingInOrOutInput", inputJson); |
| | | LogFactory.GetLog("静置/陈化出库(整托盘)").Info(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("静置/陈化出库(整托盘)").Info(true, x); |
| | | var x = await HttpsClient.PostAsync("http://ts-momapp01:12020/api/MachineIntegration/AgingOutput", inputJson); |
| | | LogFactory.GetLog("静置陈化出库(整托盘)").Info(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("静置陈化出库(整托盘)").Info(true, x); |
| | | } |
| | | catch (Exception err) |
| | | { |