|
ArchiveReaderReadData(Int32, String, String, Boolean) Method
|
Namespace: GSF.Historian.FilesAssembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.246-beta
Syntaxpublic IEnumerable<IDataPoint> ReadData(
int historianID,
string startTime,
string endTime,
bool timeSorted = true
)
Public Function ReadData (
historianID As Integer,
startTime As String,
endTime As String,
Optional timeSorted As Boolean = true
) As IEnumerable(Of IDataPoint)
public:
IEnumerable<IDataPoint^>^ ReadData(
int historianID,
String^ startTime,
String^ endTime,
bool timeSorted = true
)
member ReadData :
historianID : int *
startTime : string *
endTime : string *
?timeSorted : bool
(* Defaults:
let _timeSorted = defaultArg timeSorted true
*)
-> IEnumerable<IDataPoint>
function ReadData(historianID, startTime, endTime, timeSorted);
View SourceParameters
- 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
IEnumerableIDataPointIEnumerableT object containing zero or more
ArchiveDataPoints.
Remarks
Data is always read from startTime to endTime. If startTime is
greater than endTime, query data will be read from the archive in reverse time order.
See Also