Click or drag to resize

IArchiveReadData(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.207-beta
Syntax
IEnumerable<IDataPoint> ReadData(
	int historianID,
	DateTime startTime,
	DateTime endTime,
	bool timeSorted = true
)
View Source

Parameters

historianID  Int32
Historian identifier for which time-series data are to be retrieved.
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

IEnumerableIDataPoint
IEnumerableT object containing zero or more time-series data.
See Also