C# Class DataQualityMonitoring.AlarmAdapter

Inheritance: FacileActionAdapterBase
Mostrar archivo Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
AlarmService_ServiceProcessException void
BehaviorChanged bool
CreateAlarm TimeSeriesFramework.Alarm
CreateAlarmEvent IMeasurement
GetHighestSeverityAlarms ICollection
GetRaisedAlarms ICollection
LogStateChange void
LogStateChanges void
ProcessMeasurements void
ProcessMeasurements void
UpdateAlarmDefinitions void

Public Methods

Method Description
AlarmAdapter ( ) : System

Creates a new instance of the AlarmAdapter class.

GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this AdapterBase.

Initialize ( ) : void

Initializes the AlarmAdapter.

QueueMeasurementsForProcessing ( IEnumerable measurements ) : void

Queues a collection of measurements for processing.

Start ( ) : void

Starts the AlarmAdapter, or restarts it if it is already running.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the AlarmAdapter object and optionally releases the managed resources.

Private Methods

Method Description
AlarmService_ServiceProcessException ( object sender, EventArgs e ) : void
BehaviorChanged ( TimeSeriesFramework.Alarm existingAlarm, TimeSeriesFramework.Alarm definedAlarm ) : bool
CreateAlarm ( DataRow row ) : TimeSeriesFramework.Alarm
CreateAlarmEvent ( TVA.Ticks timestamp, TimeSeriesFramework.Alarm alarm ) : IMeasurement
GetHighestSeverityAlarms ( ) : ICollection
GetRaisedAlarms ( ) : ICollection
LogStateChange ( System.Guid signalID, TimeSeriesFramework.Alarm oldState, TimeSeriesFramework.Alarm newState, System.DateTime timestamp, double value ) : void
LogStateChanges ( ) : void
ProcessMeasurements ( ) : void
ProcessMeasurements ( IList measurements ) : void
UpdateAlarmDefinitions ( ) : void

Method Details

AlarmAdapter() public method

Creates a new instance of the AlarmAdapter class.
public AlarmAdapter ( ) : System
return System

Dispose() protected method

Releases the unmanaged resources used by the AlarmAdapter object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

GetShortStatus() public method

Gets a short one-line status of this AdapterBase.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum number of available characters for display.
return string

Initialize() public method

Initializes the AlarmAdapter.
public Initialize ( ) : void
return void

QueueMeasurementsForProcessing() public method

Queues a collection of measurements for processing.
public QueueMeasurementsForProcessing ( IEnumerable measurements ) : void
measurements IEnumerable Measurements to queue for processing.
return void

Start() public method

Starts the AlarmAdapter, or restarts it if it is already running.
public Start ( ) : void
return void