C# Class openXDA.SqlClr.XDAFunctions

显示文件 Open project: GridProtectionAlliance/openXDA

Public Methods

Method Description
GetEventData_FillRow ( object source, SqlInt32 &seriesID, SqlString &characteristic, System.DateTime &time, SqlDouble &value ) : void
GetFaultData_FillRow ( object source, SqlString &algorithm, System.DateTime &time, SqlDouble &value ) : void

Private Methods

Method Description
GetCharacteristic ( int index ) : string
GetEventData ( SqlInt32 eventID ) : IEnumerable
GetFaultData ( SqlInt32 eventID ) : IEnumerable
Inflate ( byte data ) : byte[]
ReadFrom ( byte data, bool freq = false ) : IEnumerable
ToSqlDouble ( double num ) : SqlDouble

Method Details

GetEventData_FillRow() public static method

public static GetEventData_FillRow ( object source, SqlInt32 &seriesID, SqlString &characteristic, System.DateTime &time, SqlDouble &value ) : void
source object
seriesID System.Data.SqlTypes.SqlInt32
characteristic System.Data.SqlTypes.SqlString
time System.DateTime
value System.Data.SqlTypes.SqlDouble
return void

GetFaultData_FillRow() public static method

public static GetFaultData_FillRow ( object source, SqlString &algorithm, System.DateTime &time, SqlDouble &value ) : void
source object
algorithm System.Data.SqlTypes.SqlString
time System.DateTime
value System.Data.SqlTypes.SqlDouble
return void