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

Represents a data source record in a PQDIF file. The data source record contains information about the source of the data in an ObservationRecord.
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
ChannelDefinitionsTag System.Guid
DataSourceCoordinatesTag System.Guid
DataSourceNameTag System.Guid
DataSourceTypeTag System.Guid
EffectiveTag System.Guid
EquipmentIDTag System.Guid
OneChannelDefinitionTag System.Guid
VendorIDTag System.Guid

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

Метод Описание
AddNewChannelDefinition ( ) : ChannelDefinition

Adds a new channel definition to the collection of channel definitions in this data source record.

CreateDataSourceRecord ( GSF.PQDIF.Physical.Record physicalRecord ) : DataSourceRecord

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

Remove ( ChannelDefinition channelDefinition ) : void

Removes the given channel definition from the collection of channel definitions.

RemoveElement ( System.Guid tag ) : void

Removes the element identified by the given tag from the record.

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

Метод Описание
DataSourceRecord ( GSF.PQDIF.Physical.Record physicalRecord ) : System

Creates a new instance of the DataSourceRecord class.

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

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

Adds a new channel definition to the collection of channel definitions in this data source record.
public AddNewChannelDefinition ( ) : ChannelDefinition
Результат ChannelDefinition

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

Creates a new data source record from the given physical record if the physical record is of type data source. Returns null if it is not.
public static CreateDataSourceRecord ( GSF.PQDIF.Physical.Record physicalRecord ) : DataSourceRecord
physicalRecord GSF.PQDIF.Physical.Record The physical record used to create the data source record.
Результат DataSourceRecord

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

Removes the given channel definition from the collection of channel definitions.
public Remove ( ChannelDefinition channelDefinition ) : void
channelDefinition ChannelDefinition The channel definition to be removed.
Результат void

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

Removes the element identified by the given tag from the record.
public RemoveElement ( System.Guid tag ) : void
tag System.Guid The tag of the element to be removed.
Результат void

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

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

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

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

Tag that identifies the physical location of the data source.
public static Guid,System DataSourceCoordinatesTag
Результат System.Guid

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

Tag that identifies the data source name.
public static Guid,System DataSourceNameTag
Результат System.Guid

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

Tag that identifies the data source type.
public static Guid,System DataSourceTypeTag
Результат System.Guid

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

Tag that identifies the time that the data source record becomes effective.
public static Guid,System EffectiveTag
Результат System.Guid

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

Tag that identifies the equipment ID.
public static Guid,System EquipmentIDTag
Результат System.Guid

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

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

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

Tag that identifies the vendor ID.
public static Guid,System VendorIDTag
Результат System.Guid