Add 'auto mode' button to the air alarm ui (#17874)

Signed-off-by: c4llv07e <kseandi@gmail.com>
This commit is contained in:
c4llv07e
2023-07-09 22:22:41 +03:00
committed by GitHub
parent 9723126de5
commit 6e66866567
7 changed files with 54 additions and 8 deletions

View File

@@ -9,6 +9,7 @@ namespace Content.Server.Atmos.Monitor.Components;
public sealed class AirAlarmComponent : Component
{
[ViewVariables] public AirAlarmMode CurrentMode { get; set; } = AirAlarmMode.Filtering;
[ViewVariables] public bool AutoMode { get; set; } = true;
// Remember to null this afterwards.
[ViewVariables] public IAirAlarmModeUpdate? CurrentModeUpdater { get; set; }