|
AlarmTolerance Property
|
Gets or sets a tolerance window around the
SetPoint to use when comparing
against the value of the signal. This value
is only relevant for the
Equal
and
NotEqual operations.
Namespace: GSF.TimeSeriesAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.248-beta
Syntaxpublic double? Tolerance { get; set; }
Public Property Tolerance As Double?
Get
Set
public:
property Nullable<double> Tolerance {
Nullable<double> get ();
void set (Nullable<double> value);
}
member Tolerance : Nullable<float> with get, set
function get_Tolerance();
function set_Tolerance(value);
View SourceProperty Value
NullableDouble
RemarksThe equal and not equal operations are actually
internal and external range tests based on the setpoint
and the tolerance. The two tests are performed as follows.
- Equal: (value >= SetPoint - Tolerance) && (value <= SetPoint + Tolerance)
- Not equal: (value < SetPoint - Tolerance) || (value > SetPoint + Tolerance)
See Also