C# Class GrafanaAdapters.GrafanaDataService

Inheritance: GSF.Historian.DataServices.DataService, IGrafanaDataService
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Méthode Description
Annotations ( GrafanaAdapters.AnnotationRequest request ) : Task>

Queries openHistorian for annotations in a time-range (e.g., Alarms).

GrafanaDataService ( ) : System

Creates a new instance of a GrafanaDataService.

Initialize ( ) : void

Initializes the web service.

Query ( GrafanaAdapters.QueryRequest request ) : Task>

Queries openHistorian as a Grafana data source.

Search ( GrafanaAdapters.Target request ) : Task

Search openHistorian for a target.

TestDataSource ( ) : void

Validates that openHistorian Grafana data source is responding as expected.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

Private Methods

Méthode Description
Archive_MetadataUpdated ( object sender, EventArgs e ) : void

Method Details

Annotations() public méthode

Queries openHistorian for annotations in a time-range (e.g., Alarms).
public Annotations ( GrafanaAdapters.AnnotationRequest request ) : Task>
request GrafanaAdapters.AnnotationRequest Annotation request.
Résultat Task>

Dispose() protected méthode

Releases the unmanaged resources used by the GrafanaDataService 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.
Résultat void

GrafanaDataService() public méthode

Creates a new instance of a GrafanaDataService.
public GrafanaDataService ( ) : System
Résultat System

Initialize() public méthode

Initializes the web service.
public Initialize ( ) : void
Résultat void

Query() public méthode

Queries openHistorian as a Grafana data source.
public Query ( GrafanaAdapters.QueryRequest request ) : Task>
request GrafanaAdapters.QueryRequest Query request.
Résultat Task>

Search() public méthode

Search openHistorian for a target.
public Search ( GrafanaAdapters.Target request ) : Task
request GrafanaAdapters.Target Search target.
Résultat Task

TestDataSource() public méthode

Validates that openHistorian Grafana data source is responding as expected.
public TestDataSource ( ) : void
Résultat void