Add Fi Warning and Error display
This commit is contained in:
parent
9e03965d5b
commit
5bcb46f841
|
@ -231,11 +231,10 @@ internal static class Program
|
|||
WriteControl(record);
|
||||
|
||||
record.CreateTopologyTextBlock().WriteLine();
|
||||
|
||||
//record.ToCsv().WriteLine();
|
||||
|
||||
//await UploadCsv(record, t);
|
||||
|
||||
(record.Relays is null ? "No relay Data available" : record.Relays.FiWarning ? "Alert: Fi Warning Detected" : "No Fi Warning Detected").WriteLine();
|
||||
(record.Relays is null ? "No relay Data available" : record.Relays.FiError ? "Alert: Fi Error Detected" : "No Fi Error Detected") .WriteLine();
|
||||
|
||||
record.Config.Save();
|
||||
|
||||
"===========================================".LogInfo();
|
||||
|
|
Loading…
Reference in New Issue