C# Class GrafanaAdapters.GrafanaDataService

Inheritance: GSF.Historian.DataServices.DataService, IGrafanaDataService
显示文件 Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

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

Private Methods

Method Description
Archive_MetadataUpdated ( object sender, EventArgs e ) : void

Method Details

Annotations() public method

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

Dispose() protected method

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.
return void

GrafanaDataService() public method

Creates a new instance of a GrafanaDataService.
public GrafanaDataService ( ) : System
return System

Initialize() public method

Initializes the web service.
public Initialize ( ) : void
return void

Query() public method

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

Search() public method

Search openHistorian for a target.
public Search ( GrafanaAdapters.Target request ) : Task
request GrafanaAdapters.Target Search target.
return Task

TestDataSource() public method

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