C# Класс GSF.PQDIF.Logical.ObservationRecord

Represents an observation record in a PQDIF file.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ChannelInstancesTag System.Guid
ObservationNameTag System.Guid
OneChannelInstanceTag System.Guid
TimeCreateTag System.Guid
TimeStartTag System.Guid
TriggerMethodTag System.Guid

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

Метод Описание
AddNewChannelInstance ( ) : ChannelInstance

Adds a new channel instance to the collection of channel instances in this observation record.

CreateObservationRecord ( GSF.PQDIF.Physical.Record physicalRecord, DataSourceRecord dataSource, GSF.PQDIF.Logical.MonitorSettingsRecord settings ) : ObservationRecord

Creates a new observation record from the given physical record if the physical record is of type observation. Returns null if it is not.

Remove ( ChannelInstance channelInstance ) : void

Removes the given channel instance from the collection of channel instances.

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

Метод Описание
ObservationRecord ( GSF.PQDIF.Physical.Record physicalRecord, DataSourceRecord dataSource, GSF.PQDIF.Logical.MonitorSettingsRecord settings ) : System

Creates a new instance of the ObservationRecord class.

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

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

Adds a new channel instance to the collection of channel instances in this observation record.
public AddNewChannelInstance ( ) : ChannelInstance
Результат ChannelInstance

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

Creates a new observation record from the given physical record if the physical record is of type observation. Returns null if it is not.
public static CreateObservationRecord ( GSF.PQDIF.Physical.Record physicalRecord, DataSourceRecord dataSource, GSF.PQDIF.Logical.MonitorSettingsRecord settings ) : ObservationRecord
physicalRecord GSF.PQDIF.Physical.Record The physical record used to create the observation record.
dataSource DataSourceRecord The data source record that defines the channels in this observation record.
settings GSF.PQDIF.Logical.MonitorSettingsRecord The monitor settings to be applied to this observation record.
Результат ObservationRecord

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

Removes the given channel instance from the collection of channel instances.
public Remove ( ChannelInstance channelInstance ) : void
channelInstance ChannelInstance The channel instance to be removed.
Результат void

Описание свойств

ChannelInstancesTag публичное статическое свойство

Tag that identifies the channel instances collection.
public static Guid,System ChannelInstancesTag
Результат System.Guid

ObservationNameTag публичное статическое свойство

Tag that identifies the name of the observation record.
public static Guid,System ObservationNameTag
Результат System.Guid

OneChannelInstanceTag публичное статическое свойство

Tag that identifies a single channel instance in the collection.
public static Guid,System OneChannelInstanceTag
Результат System.Guid

TimeCreateTag публичное статическое свойство

Tag that identifies the time that the observation record was created.
public static Guid,System TimeCreateTag
Результат System.Guid

TimeStartTag публичное статическое свойство

Tag that identifies the start time of the data in the observation record.
public static Guid,System TimeStartTag
Результат System.Guid

TriggerMethodTag публичное статическое свойство

Tag that identifies the type of trigger that caused the observation.
public static Guid,System TriggerMethodTag
Результат System.Guid