Click or drag to resize

ArchiveFileReadData(Int32, String, String, Boolean) Method

Reads ArchiveDataPoints from the ArchiveFile.

Namespace: GSF.Historian.Files
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.218-beta
Syntax
public IEnumerable<IDataPoint> ReadData(
	int historianID,
	string startTime,
	string endTime,
	bool timeSorted = true
)
View Source

Parameters

historianID  Int32
Historian identifier for which ArchiveDataPoints are to be retrieved.
startTime  String
String representation of the start time (in UTC) for the ArchiveDataPoints to be retrieved.
endTime  String
String representation of the end time (in UTC) for the ArchiveDataPoints 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 ArchiveDataPoints.

Implements

IArchiveReadData(Int32, String, String, Boolean)
See Also