Click or drag to resize
Grid Solutions Framework

IDataSourceValueTypeTAssignToTimeValueMap Method

Assign queried data source value to time-value map.

Namespace: GrafanaAdapters.DataSourceValueTypes
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.182-beta
Syntax
void AssignToTimeValueMap(
	DataSourceValue dataSourceValue,
	SortedList<double, T> timeValueMap,
	DataSet metadata
)
View Source

Parameters

dataSourceValue  DataSourceValue
Queried data source value type.
timeValueMap  SortedListDouble, T
Time-value map for specified dataSourceValue.
metadata  DataSet
Source metadata.
Remarks
Provided time-value map is specific to the queried data source value type, by target, and is keyed by Unix epoch milliseconds timestamp. This function is used to assign the queried data source value type 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 type for a given timestamp.
See Also