C# Класс PIAdapters.PIPBInputAdapter

Retrieves PI data for non-real time temporal sessions. The real-time PI input adapter is preferred for real-time data due to use of event pipes.
Наследование: InputAdapterBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ConvertStatusFlags MeasurementStateFlags
ReadData IEnumerable
StartDataReader void
m_readTimer_Elapsed void

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

Метод Описание
GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this PIAdapters.PIPBInputAdapter.

Initialize ( ) : void

Initializes this PIAdapters.PIPBInputAdapter.

PIPBInputAdapter ( ) : System

Creates a new instance of the PIAdapters.PIPBInputAdapter.

Защищенные методы

Метод Описание
AttemptConnection ( ) : void

Attempts to connect to this PIAdapters.PIPBInputAdapter.

AttemptDisconnection ( ) : void

Attempts to disconnect from this PIAdapters.PIPBInputAdapter.

Dispose ( bool disposing ) : void

Releases the unmanaged resources used by the PIAdapters.PIPBInputAdapter object and optionally releases the managed resources.

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

Метод Описание
ConvertStatusFlags ( AFValueStatus status ) : MeasurementStateFlags
ReadData ( AFTime startTime, AFTime endTime ) : IEnumerable
StartDataReader ( object state ) : void
m_readTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

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

AttemptConnection() защищенный Метод

Attempts to connect to this PIAdapters.PIPBInputAdapter.
protected AttemptConnection ( ) : void
Результат void

AttemptDisconnection() защищенный Метод

Attempts to disconnect from this PIAdapters.PIPBInputAdapter.
protected AttemptDisconnection ( ) : void
Результат void

Dispose() защищенный Метод

Releases the unmanaged resources used by the PIAdapters.PIPBInputAdapter object and optionally releases the managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

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

Gets a short one-line status of this PIAdapters.PIPBInputAdapter.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum length of the status message.
Результат string

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

Initializes this PIAdapters.PIPBInputAdapter.
HistorianID, Server, Port, Protocol, or InitiateConnection is missing from the .
public Initialize ( ) : void
Результат void

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

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