monitors will now always alarm if threshold types have been tripped/reset to normal on update

This commit is contained in:
vulppine
2022-08-22 17:42:47 -07:00
parent 901670c2ea
commit 8de6193ff2
2 changed files with 51 additions and 24 deletions

View File

@@ -59,6 +59,8 @@ namespace Content.Server.Atmos.Monitor.Components
[ViewVariables]
public AtmosMonitorAlarmType LastAlarmState = AtmosMonitorAlarmType.Normal;
public HashSet<AtmosMonitorThresholdType> TrippedThresholds = new();
/// <summary>
/// Registered devices in this atmos monitor. Alerts will be sent directly
/// to these devices.