atmosdevicenetworksystem for generic device network stuff for atmos devices
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
namespace Content.Server.Atmos.Monitor.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class AtmosAlarmingComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// All registered receivers in this alarmer.
|
||||
/// </summary>
|
||||
public HashSet<string> RegisteredReceivers = new();
|
||||
|
||||
// Somebody should do this someday. I'll leave it here as a reminder,
|
||||
// just in case.
|
||||
// public string StationAlarmMonitorFrequencyId
|
||||
}
|
||||
@@ -71,6 +71,12 @@ namespace Content.Server.Atmos.Monitor.Components
|
||||
[ViewVariables]
|
||||
public Dictionary<string, AtmosMonitorAlarmType> NetworkAlarmStates = new();
|
||||
|
||||
/// <summary>
|
||||
/// Registered devices in this atmos monitor. Alerts will be sent directly
|
||||
/// to these devices.
|
||||
/// </summary>
|
||||
[ViewVariables] public HashSet<string> RegisteredDevices = new();
|
||||
|
||||
// Calculates the highest alarm in the network, including itself.
|
||||
[ViewVariables]
|
||||
public AtmosMonitorAlarmType HighestAlarmInNetwork
|
||||
|
||||
Reference in New Issue
Block a user