air alarm panic wire snipping forces panic mode (#36439)
* air alarm panic wire snipping forces panic mode * document * ForcedMode is datafield * switch to bool flag * lock button when panic wire cut * prevent manually individually changing scrubbers from siphon when panic wire is cut * failure alert when wire snipped * is Control * remove double horizontalExpand * Update Content.Server/Atmos/Monitor/Systems/AirAlarmSystem.cs * Update Content.Server/Atmos/Monitor/Systems/AirAlarmSystem.cs --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
@@ -71,6 +71,7 @@ public sealed partial class ScrubberControl : BoxContainer
|
||||
_data.PumpDirection = (ScrubberPumpDirection) args.Id;
|
||||
ScrubberDataChanged?.Invoke(_address, _data);
|
||||
};
|
||||
_pumpDirection.Disabled = data.AirAlarmPanicWireCut;
|
||||
|
||||
_copySettings.OnPressed += _ =>
|
||||
{
|
||||
@@ -109,6 +110,7 @@ public sealed partial class ScrubberControl : BoxContainer
|
||||
|
||||
_data.PumpDirection = data.PumpDirection;
|
||||
_pumpDirection.Select((int) _data.PumpDirection);
|
||||
_pumpDirection.Disabled = data.AirAlarmPanicWireCut;
|
||||
|
||||
_data.VolumeRate = data.VolumeRate;
|
||||
_volumeRate.Value = _data.VolumeRate;
|
||||
|
||||
Reference in New Issue
Block a user