Click or drag to resize

IArchive.ReadData(IEnumerable<Int32> , DateTime, DateTime, Boolean) Method

Reads time-series data from the repository.

Namespace: GSF.Historian
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.244-beta
Syntax
IEnumerable<IDataPoint> ReadData(
	IEnumerable<int> historianIDs,
	DateTime startTime,
	DateTime endTime,
	bool timeSorted = true
)
View Source

Parameters

historianIDs  IEnumerable<Int32>
Historian identifiers for which IDataPoints are to be read.
startTime  DateTime
Start DateTime (in UTC) for the time-series data to be retrieved.
endTime  DateTime
End DateTime (in UTC) for the time-series data to be retrieved.
timeSorted  Boolean  (Optional)
Indicates whether the data retrieved from the archive should be time sorted.

Return Value

IEnumerable<IDataPoint>
IEnumerable<T> object containing zero or more IDataPoints.
See Also