C# Класс GSF.PhasorProtocols.UI.DataModels.RealTimeStream

Represents a real-time stream of subscribed data.
Наследование: DataModelBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetSourceName ( string signalReference ) : string
GetTextWidth ( string text ) : double

Описание методов

Delete() публичный статический Метод

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.
Результат string

GetLookupList() публичный статический Метод

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.
Результат string>.Dictionary

Load() публичный статический Метод

Loads RealTimeStream information as an ObservableCollection{T} style list.
public static Load ( AdoDataConnection database ) : ObservableCollection
database AdoDataConnection to connection to database.
Результат ObservableCollection

RealTimeStream() публичный Метод

Creates a new instance of the RealTimeStream class.
public RealTimeStream ( ) : System
Результат System

Save() публичный статический Метод

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
Результат string