C# Class DataQualityMonitoring.Services.AlarmService

Inheritance: GSF.ServiceModel.SelfHostingService, IAlarmService
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Méthode Description
AlarmService ( AlarmAdapter adapter ) : System

Creates a new instance of the AlarmService class.

ReadAllRaisedAlarmsAsJson ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection

Reads all raised alarms from the AlarmAdapter and sends it in System.ServiceModel.Web.WebMessageFormat.Json format.

ReadAllRaisedAlarmsAsXml ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection

Reads all raised alarms from the AlarmAdapter and sends it in System.ServiceModel.Web.WebMessageFormat.Xml format.

ReadHighestSeverityAlarmsAsJson ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection

Reads the raised alarms with the highest severity for each signal from the AlarmAdapter and sends it in System.ServiceModel.Web.WebMessageFormat.Json format.

ReadHighestSeverityAlarmsAsXml ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection

Reads the raised alarms with the highest severity for each signal from the AlarmAdapter and sends it in System.ServiceModel.Web.WebMessageFormat.Xml format.

Private Methods

Méthode Description
ReadAllRaisedAlarms ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection
ReadHighestSeverityAlarms ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection

Method Details

AlarmService() public méthode

Creates a new instance of the AlarmService class.
public AlarmService ( AlarmAdapter adapter ) : System
adapter AlarmAdapter The adapter whose alarms are served by this service.
Résultat System

ReadAllRaisedAlarmsAsJson() public méthode

Reads all raised alarms from the AlarmAdapter and sends it in System.ServiceModel.Web.WebMessageFormat.Json format.
public ReadAllRaisedAlarmsAsJson ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection
Résultat DataQualityMonitoring.Services.SerializableAlarmCollection

ReadAllRaisedAlarmsAsXml() public méthode

Reads all raised alarms from the AlarmAdapter and sends it in System.ServiceModel.Web.WebMessageFormat.Xml format.
public ReadAllRaisedAlarmsAsXml ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection
Résultat DataQualityMonitoring.Services.SerializableAlarmCollection

ReadHighestSeverityAlarmsAsJson() public méthode

Reads the raised alarms with the highest severity for each signal from the AlarmAdapter and sends it in System.ServiceModel.Web.WebMessageFormat.Json format.
public ReadHighestSeverityAlarmsAsJson ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection
Résultat DataQualityMonitoring.Services.SerializableAlarmCollection

ReadHighestSeverityAlarmsAsXml() public méthode

Reads the raised alarms with the highest severity for each signal from the AlarmAdapter and sends it in System.ServiceModel.Web.WebMessageFormat.Xml format.
public ReadHighestSeverityAlarmsAsXml ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection
Résultat DataQualityMonitoring.Services.SerializableAlarmCollection