Show / Hide Table of Contents

Class AirAlarmUIState

Inheritance
System.Object
AirAlarmUIState
Namespace: Content.Shared.Atmos.Monitor.Components
Assembly: Content.Shared.dll
Syntax
public sealed class AirAlarmUIState : BoundUserInterfaceState

Constructors

| Improve this Doc View Source

AirAlarmUIState(String, Int32, Single, Single, Dictionary<String, IAtmosDeviceData>, AirAlarmMode, AirAlarmTab, AtmosAlarmType, Boolean)

Declaration
public AirAlarmUIState(string address, int deviceCount, float pressureAverage, float temperatureAverage, Dictionary<string, IAtmosDeviceData> deviceData, AirAlarmMode mode, AirAlarmTab tab, AtmosAlarmType alarmType, bool autoMode)
Parameters
Type Name Description
System.String address
System.Int32 deviceCount
System.Single pressureAverage
System.Single temperatureAverage
Dictionary<System.String, IAtmosDeviceData> deviceData
AirAlarmMode mode
AirAlarmTab tab
AtmosAlarmType alarmType
System.Boolean autoMode

Properties

| Improve this Doc View Source

Address

Declaration
public string Address { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

AlarmType

Declaration
public AtmosAlarmType AlarmType { get; }
Property Value
Type Description
AtmosAlarmType
| Improve this Doc View Source

AutoMode

Declaration
public bool AutoMode { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DeviceCount

Declaration
public int DeviceCount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

DeviceData

Every single device data that can be seen from this air alarm. This includes vents, scrubbers, and sensors. The device data you get, however, depends on the current selected tab.

Declaration
public Dictionary<string, IAtmosDeviceData> DeviceData { get; }
Property Value
Type Description
Dictionary<System.String, IAtmosDeviceData>
| Improve this Doc View Source

Mode

Declaration
public AirAlarmMode Mode { get; }
Property Value
Type Description
AirAlarmMode
| Improve this Doc View Source

PressureAverage

Declaration
public float PressureAverage { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

Tab

Declaration
public AirAlarmTab Tab { get; }
Property Value
Type Description
AirAlarmTab
| Improve this Doc View Source

TemperatureAverage

Declaration
public float TemperatureAverage { get; }
Property Value
Type Description
System.Single
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾