Click or drag to resize
Grid Solutions Framework

IDataSourceValueTAssignToTimeValueMap Method

Assign queried data source value to time-value map.

Namespace: GrafanaAdapters.DataSources
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.171-beta
Syntax
void AssignToTimeValueMap(
	string pointTag,
	DataSourceValue dataValue,
	SortedList<double, T> timeValueMap,
	DataSet metadata
)
View Source

Parameters

pointTag  String
Measurement point tag.
dataValue  DataSourceValue
Queried data source value.
timeValueMap  SortedListDouble, T
Time-value map for specified dataValue.
metadata  DataSet
Source metadata.
Remarks
Provided time-value map is specific to the queried data source value, by target, and is keyed by Unix epoch milliseconds timestamp. This function is used to assign the queried data source value to the time-value map. If the data source value type has multiple fields, this function will be called once per each field in the data source value for a given timestamp.
See Also