Struct AlarmThresholdSetting
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
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
|
Improve this Doc
View Source
WithThreshold(Single)
Declaration
public AlarmThresholdSetting WithThreshold(float threshold)
Parameters
Type |
Name |
Description |
System.Single |
threshold |
|
Returns
Operators
|
Improve this Doc
View Source
GreaterThanOrEqual(Single, AlarmThresholdSetting)
Declaration
public static bool operator >=(float a, AlarmThresholdSetting b)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LessThanOrEqual(Single, AlarmThresholdSetting)
Declaration
public static bool operator <=(float a, AlarmThresholdSetting b)
Parameters
Returns
Type |
Description |
System.Boolean |
|