Class AtmosSensorData
Inheritance
System.Object
AtmosSensorData
Assembly: Content.Shared.dll
Syntax
public sealed class AtmosSensorData : object, IAtmosDeviceData
Constructors
|
Improve this Doc
View Source
AtmosSensorData(Single, Single, Single, AtmosAlarmType, Dictionary<Gas, Single>, AtmosAlarmThreshold, AtmosAlarmThreshold, Dictionary<Gas, AtmosAlarmThreshold>)
Declaration
public AtmosSensorData(float pressure, float temperature, float totalMoles, AtmosAlarmType alarmState, Dictionary<Gas, float> gases, AtmosAlarmThreshold pressureThreshold, AtmosAlarmThreshold temperatureThreshold, Dictionary<Gas, AtmosAlarmThreshold> gasThresholds)
Parameters
Properties
|
Improve this Doc
View Source
AlarmState
Current alarm state of this sensor. Does not reflect the highest alarm state on the network.
Declaration
public AtmosAlarmType AlarmState { get; }
Property Value
|
Improve this Doc
View Source
Dirty
Declaration
public bool Dirty { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Gases
Current number of gases on this sensor.
Declaration
public Dictionary<Gas, float> Gases { get; }
Property Value
Type |
Description |
Dictionary<Gas, System.Single> |
|
|
Improve this Doc
View Source
GasThresholds
Declaration
public Dictionary<Gas, AtmosAlarmThreshold> GasThresholds { get; }
Property Value
|
Improve this Doc
View Source
IgnoreAlarms
Declaration
public bool IgnoreAlarms { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Pressure
Current pressure detected by this sensor.
Declaration
public float Pressure { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
PressureThreshold
Declaration
public AtmosAlarmThreshold PressureThreshold { get; }
Property Value
|
Improve this Doc
View Source
Temperature
Current temperature detected by this sensor.
Declaration
public float Temperature { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
TemperatureThreshold
Declaration
public AtmosAlarmThreshold TemperatureThreshold { get; }
Property Value
|
Improve this Doc
View Source
TotalMoles
Current amount of moles detected by this sensor.
Declaration
public float TotalMoles { get; }
Property Value
Type |
Description |
System.Single |
|
Implements