C# Класс FileAdapters.FileBlockReader

Наследование: GSF.TimeSeries.Adapters.FacileActionAdapterBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ClearProcessedFileList void
ManageThrottleAdjustments void
OnNewMeasurement void
ProcessTimer_Elapsed void
WatchTimer_Elapsed void

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

Метод Описание
FileBlockReader ( ) : System

Creates a new instance of the FileBlockReader class.

GetShortStatus ( int maxLength ) : string

Gets a short one-line status of this FileBlockReader.

Initialize ( ) : void

Initializes FileBlockReader.

QueueMeasurementsForProcessing ( IEnumerable measurements ) : void

Queues a collection of measurements for processing.

Start ( ) : void

Starts the FileBlockReader or restarts it if it is already running.

Stop ( ) : void

Stops the FileBlockReader.

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

Метод Описание
Dispose ( bool disposing ) : void

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

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

Метод Описание
ClearProcessedFileList ( ) : void
ManageThrottleAdjustments ( int retransmissions ) : void
OnNewMeasurement ( IMeasurement measurement ) : void

Raises the InputAdapterBase.NewMeasurements event.

ProcessTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void
WatchTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

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

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

Releases the unmanaged resources used by the FileBlockReader 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

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

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

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

Gets a short one-line status of this FileBlockReader.
public GetShortStatus ( int maxLength ) : string
maxLength int Maximum number of available characters for display.
Результат string

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

Initializes FileBlockReader.
public Initialize ( ) : void
Результат void

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

Queues a collection of measurements for processing.
public QueueMeasurementsForProcessing ( IEnumerable measurements ) : void
measurements IEnumerable Measurements to queue for processing.
Результат void

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

Starts the FileBlockReader or restarts it if it is already running.
public Start ( ) : void
Результат void

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

Stops the FileBlockReader.
public Stop ( ) : void
Результат void