AlarmInhibit
public readonly record struct AlarmInhibit : IEquatable<AlarmInhibit>
A signal that holds a rule clear while its own condition holds.
This is how an operator silences alarms during a known disturbance without disabling them. An inhibited rule reports AlarmState.Inhibited rather than AlarmState.Clear, so an interface can show the difference between "someone turned this off" and "a process signal is suppressing it right now".
If the suppressing signal stops arriving the rule alarms: suppression fails towards the alarm working, never towards silence.
AlarmInhibit: constructors
public AlarmInhibit(SignalId Signal, AlarmCondition Condition, bool Invert = false)
A signal that holds a rule clear while its own condition holds.
Signal: What suppresses the rule.Condition: When it does.Invert: Suppress while the condition is not met, rather than while it is.
This is how an operator silences alarms during a known disturbance without disabling them. An inhibited rule reports AlarmState.Inhibited rather than AlarmState.Clear, so an interface can show the difference between "someone turned this off" and "a process signal is suppressing it right now".
If the suppressing signal stops arriving the rule alarms: suppression fails towards the alarm working, never towards silence.
AlarmInhibit: properties
public AlarmCondition Condition { get; init; }
When it does.
public bool Invert { get; init; }
Suppress while the condition is not met, rather than while it is.
public SignalId Signal { get; init; }
What suppresses the rule.