Show / Hide Table of Contents

Class AtmosAlarmThreshold

Inheritance
System.Object
AtmosAlarmThreshold
Namespace: Content.Shared.Atmos.Monitor
Assembly: Content.Shared.dll
Syntax
public sealed class AtmosAlarmThreshold : object

Constructors

| Improve this Doc View Source

AtmosAlarmThreshold()

Declaration
public AtmosAlarmThreshold()
| Improve this Doc View Source

AtmosAlarmThreshold(AtmosAlarmThreshold)

Declaration
public AtmosAlarmThreshold(AtmosAlarmThreshold other)
Parameters
Type Name Description
AtmosAlarmThreshold other
| Improve this Doc View Source

AtmosAlarmThreshold(AtmosAlarmThresholdPrototype)

Declaration
public AtmosAlarmThreshold(AtmosAlarmThresholdPrototype proto)
Parameters
Type Name Description
AtmosAlarmThresholdPrototype proto

Fields

| Improve this Doc View Source

Ignore

Declaration
public bool Ignore
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

LowerWarningPercentage

Declaration
public AlarmThresholdSetting LowerWarningPercentage
Field Value
Type Description
AlarmThresholdSetting
| Improve this Doc View Source

UpperWarningPercentage

Declaration
public AlarmThresholdSetting UpperWarningPercentage
Field Value
Type Description
AlarmThresholdSetting

Properties

| Improve this Doc View Source

LowerBound

Declaration
public AlarmThresholdSetting LowerBound { get; set; }
Property Value
Type Description
AlarmThresholdSetting
| Improve this Doc View Source

LowerWarningBound

Declaration
public AlarmThresholdSetting LowerWarningBound { get; set; }
Property Value
Type Description
AlarmThresholdSetting
| Improve this Doc View Source

UpperBound

Declaration
public AlarmThresholdSetting UpperBound { get; set; }
Property Value
Type Description
AlarmThresholdSetting
| Improve this Doc View Source

UpperWarningBound

Declaration
public AlarmThresholdSetting UpperWarningBound { get; set; }
Property Value
Type Description
AlarmThresholdSetting

Methods

| Improve this Doc View Source

CalculateWarningBound(AtmosMonitorThresholdBound)

Declaration
public AlarmThresholdSetting CalculateWarningBound(AtmosMonitorThresholdBound bound)
Parameters
Type Name Description
AtmosMonitorThresholdBound bound
Returns
Type Description
AlarmThresholdSetting
| Improve this Doc View Source

CalculateWarningPercentage(AtmosMonitorThresholdBound, AlarmThresholdSetting)

Declaration
public AlarmThresholdSetting CalculateWarningPercentage(AtmosMonitorThresholdBound bound, AlarmThresholdSetting warningBound)
Parameters
Type Name Description
AtmosMonitorThresholdBound bound
AlarmThresholdSetting warningBound
Returns
Type Description
AlarmThresholdSetting
| Improve this Doc View Source

CheckThreshold(Single, out AtmosAlarmType)

Declaration
public bool CheckThreshold(float value, out AtmosAlarmType state)
Parameters
Type Name Description
System.Single value
AtmosAlarmType state
Returns
Type Description
System.Boolean
| Improve this Doc View Source

CheckThreshold(Single, out AtmosAlarmType, out AtmosMonitorThresholdBound)

Declaration
public bool CheckThreshold(float value, out AtmosAlarmType state, out AtmosMonitorThresholdBound whichFailed)
Parameters
Type Name Description
System.Single value
AtmosAlarmType state
AtmosMonitorThresholdBound whichFailed
Returns
Type Description
System.Boolean
| Improve this Doc View Source

SetEnabled(AtmosMonitorLimitType, Boolean)

Declaration
public void SetEnabled(AtmosMonitorLimitType whichLimit, bool isEnabled)
Parameters
Type Name Description
AtmosMonitorLimitType whichLimit
System.Boolean isEnabled
| Improve this Doc View Source

SetLimit(AtmosMonitorLimitType, Single)

Declaration
public void SetLimit(AtmosMonitorLimitType whichLimit, float limit)
Parameters
Type Name Description
AtmosMonitorLimitType whichLimit
System.Single limit
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾