Click or drag to resize

Alarm Class

Represents an alarm that tests the values of an incoming signal to determine the state of alarm.
Inheritance Hierarchy
SystemObject
  GSF.TimeSeriesAlarm

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.218-beta
Syntax
[SerializableAttribute]
public class Alarm : ICloneable
View Source

The Alarm type exposes the following members.

Constructors
 NameDescription
Public methodAlarm Creates a new instance of the Alarm class.
Public methodAlarm(AlarmOperation) Creates a new instance of the Alarm class.
Top
Properties
 NameDescription
Public propertyAssociatedMeasurementID Gets or sets the identification number of the measurements generated for alarm events.
Public propertyCause Gets the most recent measurement that caused the alarm to be raised.
Public propertyDelay Gets or sets the amount of time that the signal must be exhibiting alarming behavior before the alarm is raised.
Public propertyDescription Gets or sets the description of the alarm.
Public propertyHysteresis Gets or sets the hysteresis used when clearing alarms. This value is only relevant in greater than (or equal) and less than (or equal) operations.
Public propertyID Gets or sets the identification number of the alarm.
Public propertyOperation Gets or sets the operation to be performed when testing values from the incoming signal.
Public propertySetPoint Gets or sets the value to be compared against the signal to determine whether to raise the alarm. This value is irrelevant for the Flatline operation.
Public propertySeverity Gets or sets the severity of the alarm.
Public propertySignalID Gets or sets the identification number of the signal whose value is monitored by the alarm.
Public propertyState Gets or sets the current state of the alarm (raised or cleared).
Public propertyTagName Gets or sets the tag name of the alarm.
Public propertyTimeRaised Gets or sets the timestamp of the most recent measurement that caused the alarm to be raised.
Public propertyTolerance 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.
Top
Methods
 NameDescription
Public methodClone Creates a new alarm that is a copy of the current instance.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodTest Tests the value of the given measurement to determine whether the alarm should be raised or cleared.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also