Show / Hide Table of Contents

Class AirAlarmWindow

Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.CustomControls.BaseWindow
FancyWindow
AirAlarmWindow
Namespace: Content.Client.Atmos.Monitor.UI
Assembly: Content.Client.dll
Syntax
public sealed class AirAlarmWindow : FancyWindow

Constructors

| Improve this Doc View Source

AirAlarmWindow(BoundUserInterface)

Declaration
public AirAlarmWindow(BoundUserInterface owner)
Parameters
Type Name Description
BoundUserInterface owner

Methods

| Improve this Doc View Source

ColorForAlarm(AtmosAlarmType)

Declaration
public static Color ColorForAlarm(AtmosAlarmType curAlarm)
Parameters
Type Name Description
AtmosAlarmType curAlarm
Returns
Type Description
Color
| Improve this Doc View Source

ColorForThreshold(Single, AtmosAlarmThreshold)

Declaration
public static Color ColorForThreshold(float amount, AtmosAlarmThreshold threshold)
Parameters
Type Name Description
System.Single amount
AtmosAlarmThreshold threshold
Returns
Type Description
Color
| Improve this Doc View Source

UpdateAutoMode(Boolean)

Declaration
public void UpdateAutoMode(bool enabled)
Parameters
Type Name Description
System.Boolean enabled
| Improve this Doc View Source

UpdateDeviceData(String, IAtmosDeviceData)

Declaration
public void UpdateDeviceData(string addr, IAtmosDeviceData device)
Parameters
Type Name Description
System.String addr
IAtmosDeviceData device
| Improve this Doc View Source

UpdateModeSelector(AirAlarmMode)

Declaration
public void UpdateModeSelector(AirAlarmMode mode)
Parameters
Type Name Description
AirAlarmMode mode
| Improve this Doc View Source

UpdateState(AirAlarmUIState)

Declaration
public void UpdateState(AirAlarmUIState state)
Parameters
Type Name Description
AirAlarmUIState state

Events

| Improve this Doc View Source

AirAlarmModeChanged

Declaration
public event Action<AirAlarmMode>? AirAlarmModeChanged
Event Type
Type Description
System.Nullable<Action<AirAlarmMode>>
| Improve this Doc View Source

AirAlarmTabChange

Declaration
public event Action<AirAlarmTab>? AirAlarmTabChange
Event Type
Type Description
System.Nullable<Action<AirAlarmTab>>
| Improve this Doc View Source

AtmosAlarmThresholdChanged

Declaration
public event Action<string, AtmosMonitorThresholdType, AtmosAlarmThreshold, Gas?>? AtmosAlarmThresholdChanged
Event Type
Type Description
System.Nullable<Action<System.String, AtmosMonitorThresholdType, AtmosAlarmThreshold, System.Nullable<Gas>>>
| Improve this Doc View Source

AtmosDeviceDataChanged

Declaration
public event Action<string, IAtmosDeviceData>? AtmosDeviceDataChanged
Event Type
Type Description
System.Nullable<Action<System.String, IAtmosDeviceData>>
| Improve this Doc View Source

AtmosDeviceDataCopied

Declaration
public event Action<IAtmosDeviceData>? AtmosDeviceDataCopied
Event Type
Type Description
System.Nullable<Action<IAtmosDeviceData>>
| Improve this Doc View Source

AutoModeChanged

Declaration
public event Action<bool>? AutoModeChanged
Event Type
Type Description
System.Nullable<Action<System.Boolean>>
| Improve this Doc View Source

ResyncAllRequested

Declaration
public event Action? ResyncAllRequested
Event Type
Type Description
System.Nullable<Action>
| Improve this Doc View Source

ResyncDeviceRequested

Declaration
public event Action<string>? ResyncDeviceRequested
Event Type
Type Description
System.Nullable<Action<System.String>>

Extension Methods

ControlExtension.GetControlOfType<T>(Control)
ControlExtension.GetControlOfType<T>(Control, String)
ControlExtension.GetControlOfType<T>(Control, Boolean)
ControlExtension.GetControlOfType<T>(Control, String, Boolean)
ControlExtension.GetSearchableControls(Control, Boolean)
ControlExtension.ChildrenContainText(Control, String)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾