Show / Hide Table of Contents

Struct AlarmThresholdSetting

Namespace: Content.Shared.Atmos.Monitor
Assembly: Content.Shared.dll
Syntax
public struct AlarmThresholdSetting

Constructors

| Improve this Doc View Source

AlarmThresholdSetting()

Declaration
public AlarmThresholdSetting()

Fields

| Improve this Doc View Source

Disabled

Declaration
public static AlarmThresholdSetting Disabled
Field Value
Type Description
AlarmThresholdSetting

Properties

| Improve this Doc View Source

Enabled

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

Value

Declaration
public float Value { get; }
Property Value
Type Description
System.Single

Methods

| Improve this Doc View Source

WithEnabled(Boolean)

Declaration
public AlarmThresholdSetting WithEnabled(bool enabled)
Parameters
Type Name Description
System.Boolean enabled
Returns
Type Description
AlarmThresholdSetting
| Improve this Doc View Source

WithThreshold(Single)

Declaration
public AlarmThresholdSetting WithThreshold(float threshold)
Parameters
Type Name Description
System.Single threshold
Returns
Type Description
AlarmThresholdSetting

Operators

| Improve this Doc View Source

GreaterThanOrEqual(Single, AlarmThresholdSetting)

Declaration
public static bool operator >=(float a, AlarmThresholdSetting b)
Parameters
Type Name Description
System.Single a
AlarmThresholdSetting b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

LessThanOrEqual(Single, AlarmThresholdSetting)

Declaration
public static bool operator <=(float a, AlarmThresholdSetting b)
Parameters
Type Name Description
System.Single a
AlarmThresholdSetting b
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾