diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs index 2dce7b7f..d64615d7 100644 --- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs +++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs @@ -1462,9 +1462,15 @@ namespace Tnb.ProductionMgr ["TagName"] = workLineDic[item.workline_id], ["Value"] = basMbom.full_qty.ToString(), }; - await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand1); - await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand2); - await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand3); + Log.Information($"贴标写入参数:{JsonConvert.SerializeObject(dicCommand1)}"); + string result1 = await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand1, false); + Log.Information($"贴标写入返回结果:{JsonConvert.SerializeObject(result1)}"); + Log.Information($"喷码写入参数:{JsonConvert.SerializeObject(dicCommand2)}"); + string result2 = await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand2, false); + Log.Information($"喷码写入返回结果:{JsonConvert.SerializeObject(result2)}"); + Log.Information($"整托数写入参数:{JsonConvert.SerializeObject(dicCommand3)}"); + string result3 = await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand3, false); + Log.Information($"整托数写入返回结果:{JsonConvert.SerializeObject(result3)}"); } } }