注塑定点配完善日志

This commit is contained in:
2024-06-21 09:30:59 +08:00
parent 9fead8d3c9
commit f40e3c8b61

View File

@@ -277,9 +277,9 @@ namespace Tnb.ProductionMgr
Log.Error($"{equipment.name}存在待下发的任务");
continue;
}
bool? value = await _redisData.TryGetValueByKeyField<bool?>(eqpDaq.equip_code, eqpDaq.label_name);
bool valueFlag = _redisData.Get<bool>($"{eqpDaq.equip_code}_{eqpDaq.label_name}_flag");
Log.Information($"机台号{eqpDaq.equip_code},标签名{eqpDaq.label_name}redis的值为{value.ToString()}");
if (value==true && !valueFlag)
{