C# Class GSF.TimeSeries.Data.ActiveMeasurementsTableLookup

Represents a table lookup for active measurements.
ファイルを表示 Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
LookupByDeviceID ( uint deviceId ) : IEnumerable

Gets all of the rows with the provided deviceID. Returns an empty set if the deviceID could not be found.

LookupByDeviceNameNoStat ( string deviceName ) : IEnumerable

Gets all of the rows with the provided device name. This will exclude all ActiveMeasurements that are classified as SignalType='STAT'. This is because 'STAT's are not associated with a device in the database. Returns an empty set if the deviceID could not be found.

Private Methods

Method Description
ActiveMeasurementsTableLookup ( DataSet dataSet ) : System

Method Details

LookupByDeviceID() public method

Gets all of the rows with the provided deviceID. Returns an empty set if the deviceID could not be found.
public LookupByDeviceID ( uint deviceId ) : IEnumerable
deviceId uint the deviceID to lookup.
return IEnumerable

LookupByDeviceNameNoStat() public method

Gets all of the rows with the provided device name. This will exclude all ActiveMeasurements that are classified as SignalType='STAT'. This is because 'STAT's are not associated with a device in the database. Returns an empty set if the deviceID could not be found.
public LookupByDeviceNameNoStat ( string deviceName ) : IEnumerable
deviceName string the device to lookup.
return IEnumerable