FailSafeStatus
public sealed class FailSafeStatus
The fail-safe line's health, with the numbers behind it.
Read this rather than IOSnapshot.FailSafeLevel: that reports the instantaneous level of a line whose whole job is to alternate, so it flickers between High and Low on a perfectly healthy system and is not a health indicator.
FailSafeStatus: properties
public string Detail { get; }
The same answer in words, naming the numbers behind it, for a log line or a support report. Never empty.
public TimeSpan EdgeBudget { get; }
The interval FailSafeStatus.SinceLastEdge and FailSafeStatus.LongestGap are judged against: half the interface's relay hold, because the relay is retriggered once per cycle.
public ulong Edges { get; }
Edges driven since the fail-safe was armed.
public FailSafeHealth Health { get; }
What the line is doing.
public TimeSpan LongestGap { get; }
The longest interval between edges observed since the fail-safe was armed, including the gap still open now.
A line that was late an hour ago looks healthy the moment you ask; this is what a support report needs.
public TimeSpan SinceLastEdge { get; }
How long ago the last edge was driven. TimeSpan.Zero when nothing has been driven yet.
public bool WasEverLate { get; }
Whether the line has ever been late since it was armed, whatever it is doing now.