|
IArchiveReadData(Int32, DateTime, DateTime, Boolean) Method
|
Reads time-series data from the repository.
Namespace: GSF.HistorianAssembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.248-beta
SyntaxIEnumerable<IDataPoint> ReadData(
int historianID,
DateTime startTime,
DateTime endTime,
bool timeSorted = true
)
Function ReadData (
historianID As Integer,
startTime As DateTime,
endTime As DateTime,
Optional timeSorted As Boolean = true
) As IEnumerable(Of IDataPoint)
IEnumerable<IDataPoint^>^ ReadData(
int historianID,
DateTime startTime,
DateTime endTime,
bool timeSorted = true
)
abstract ReadData :
historianID : int *
startTime : DateTime *
endTime : DateTime *
?timeSorted : bool
(* Defaults:
let _timeSorted = defaultArg timeSorted true
*)
-> IEnumerable<IDataPoint>
function ReadData(historianID, startTime, endTime, timeSorted);
View SourceParameters
- 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
IEnumerableIDataPointIEnumerableT object containing zero or more time-series data.
See Also