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