优化日志

This commit is contained in:
2024-06-21 10:32:09 +08:00
parent f9abb49c3c
commit c9ad81052e

View File

@@ -80,6 +80,7 @@ namespace Tnb.ProductionMgr
};
Log.Information($"确认称重参数:{JsonConvert.SerializeObject(dicCommand)}");
var str = await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand);
Log.Information($"{device},{eqpDaq1.label_name}确认称重返回:{str}");
EqpDaq eqpDaq2 = await _repository.AsSugarClient().Queryable<EqpDaq>().
LeftJoin<EqpEquipment>((x,y)=>x.equip_id==y.id).
@@ -121,7 +122,7 @@ namespace Tnb.ProductionMgr
for (int i = 0; i < 1; i++)
{
string responseresult = await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand2,false);
Log.Information($"称重完成返回结果:{responseresult}");
Log.Information($"{device},{eqpDaq3.label_name}称重完成返回结果:{responseresult}");
}
}