C# Class GSF.PhasorProtocols.UI.DataModels.RealTimeStream

Represents a real-time stream of subscribed data.
Inheritance: DataModelBase
Mostrar archivo Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
Delete ( AdoDataConnection database, int streamID ) : string

Deletes RealTimeStream record from the database.

This is only a place holder method with no implementation.

GetLookupList ( AdoDataConnection database, bool isOptional = false ) : string>.Dictionary

Retrieves Dictionary{T1,T2} type collection.

This is only a place holder method with no implementation.

Load ( AdoDataConnection database ) : ObservableCollection

Loads RealTimeStream information as an ObservableCollection{T} style list.

RealTimeStream ( ) : System

Creates a new instance of the RealTimeStream class.

Save ( AdoDataConnection database, RealTimeStream stream ) : string

Saves RealTimeStream information into the database.

This is only a place holder method with no implementation.

Private Methods

Method Description
GetSourceName ( string signalReference ) : string
GetTextWidth ( string text ) : double

Method Details

Delete() public static method

Deletes RealTimeStream record from the database.
This is only a place holder method with no implementation.
public static Delete ( AdoDataConnection database, int streamID ) : string
database AdoDataConnection to connection to database.
streamID int ID of the record to be deleted.
return string

GetLookupList() public static method

Retrieves Dictionary{T1,T2} type collection.
This is only a place holder method with no implementation.
public static GetLookupList ( AdoDataConnection database, bool isOptional = false ) : string>.Dictionary
database AdoDataConnection to connection to database.
isOptional bool Indicates if selection on UI is optional for this collection.
return string>.Dictionary

Load() public static method

Loads RealTimeStream information as an ObservableCollection{T} style list.
public static Load ( AdoDataConnection database ) : ObservableCollection
database AdoDataConnection to connection to database.
return ObservableCollection

RealTimeStream() public method

Creates a new instance of the RealTimeStream class.
public RealTimeStream ( ) : System
return System

Save() public static method

Saves RealTimeStream information into the database.
This is only a place holder method with no implementation.
public static Save ( AdoDataConnection database, RealTimeStream stream ) : string
database AdoDataConnection to connection to database.
stream RealTimeStream Information about
return string