C# 클래스 DataQualityMonitoring.Services.AlarmService

상속: GSF.ServiceModel.SelfHostingService, IAlarmService
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
ReadAllRaisedAlarms ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection
ReadHighestSeverityAlarms ( ) : DataQualityMonitoring.Services.SerializableAlarmCollection

메소드 상세

AlarmService() 공개 메소드

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

ReadAllRaisedAlarmsAsJson() 공개 메소드

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

ReadAllRaisedAlarmsAsXml() 공개 메소드

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

ReadHighestSeverityAlarmsAsJson() 공개 메소드

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
리턴 DataQualityMonitoring.Services.SerializableAlarmCollection

ReadHighestSeverityAlarmsAsXml() 공개 메소드

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
리턴 DataQualityMonitoring.Services.SerializableAlarmCollection