Class AtmosAlarmableComponent
A component to add to device network devices if you want them to be alarmed
by an atmospheric alarmer. This will store every single alert received, and
calculate the highest alert based on the alerts received. Equally, if you
link other alarmables to this, it will store the alerts from them to
calculate the highest network alert.
Inheritance
System.Object
AtmosAlarmableComponent
Assembly: Content.Server.dll
Syntax
public sealed class AtmosAlarmableComponent : Component
Fields
|
Improve this Doc
View Source
LastAlarmState
Declaration
public AtmosAlarmType LastAlarmState
Field Value
|
Improve this Doc
View Source
NetworkAlarmStates
Declaration
public readonly Dictionary<string, AtmosAlarmType> NetworkAlarmStates
Field Value
Properties
|
Improve this Doc
View Source
AlarmSound
Declaration
public SoundSpecifier AlarmSound { get; set; }
Property Value
Type |
Description |
Robust.Shared.Audio.SoundSpecifier |
|
|
Improve this Doc
View Source
AlarmVolume
Declaration
public float AlarmVolume { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
IgnoreAlarms
Declaration
public bool IgnoreAlarms { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MonitorAlertTypes
Declaration
public HashSet<AtmosMonitorThresholdType>? MonitorAlertTypes { get; }
Property Value
|
Improve this Doc
View Source
ReceiveOnly
If this device should receive only. If it can only
receive, that means that attempting to sync outwards
will result in nothing happening.
Declaration
public bool ReceiveOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SyncWithTags
List of tags to check for when synchronizing alarms.
Declaration
public HashSet<string> SyncWithTags { get; }
Property Value
Type |
Description |
HashSet<System.String> |
|