C# Class XDAFunctions, openXDA

openXDA SQL functions used to query trending data from openHistorian.
ファイルを表示 Open project: GridProtectionAlliance/openXDA

Public Methods

Method Description
GetTrendingData_FillRow ( object source, SqlInt32 &channelID, SqlInt32 &seriesID, DateTime &time, SqlSingle &value ) : void

Used to fill table columns with enumerable data returned from GetTrendingData.

Private Methods

Method Description
GetTrendingData ( SqlString historianServer, SqlString instanceName, DateTime startTime, DateTime stopTime, [ MaxSize = -1)]SqlStringchannelIDs, SqlInt32 seriesCount ) : IEnumerable

Method Details

GetTrendingData_FillRow() public static method

Used to fill table columns with enumerable data returned from GetTrendingData.
public static GetTrendingData_FillRow ( object source, SqlInt32 &channelID, SqlInt32 &seriesID, DateTime &time, SqlSingle &value ) : void
source object Source data, i.e., a SeriesMeasurement.
channelID System.Data.SqlTypes.SqlInt32 SeriesMeasurement Channel ID
seriesID System.Data.SqlTypes.SqlInt32 SeriesMeasurement Series ID
time DateTime SeriesMeasurement Timestamp
value System.Data.SqlTypes.SqlSingle SeriesMeasurement value
return void