贴标喷码优化日志
This commit is contained in:
@@ -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)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user