C# Class 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.
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Свойство Type Description
ChannelDefinitionsTag System.Guid
DataSourceCoordinatesTag System.Guid
DataSourceNameTag System.Guid
DataSourceTypeTag System.Guid
EffectiveTag System.Guid
EquipmentIDTag System.Guid
OneChannelDefinitionTag System.Guid
VendorIDTag System.Guid

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
DataSourceRecord ( GSF.PQDIF.Physical.Record physicalRecord ) : System

Creates a new instance of the DataSourceRecord class.

Method Details

AddNewChannelDefinition() public méthode

Adds a new channel definition to the collection of channel definitions in this data source record.
public AddNewChannelDefinition ( ) : ChannelDefinition
Résultat ChannelDefinition

CreateDataSourceRecord() public static méthode

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.
Résultat DataSourceRecord

Remove() public méthode

Removes the given channel definition from the collection of channel definitions.
public Remove ( ChannelDefinition channelDefinition ) : void
channelDefinition ChannelDefinition The channel definition to be removed.
Résultat void

RemoveElement() public méthode

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.
Résultat void

Property Details

ChannelDefinitionsTag public_oe static_oe property

Tag that identifies the channel definitions collection.
public static Guid,System ChannelDefinitionsTag
Résultat System.Guid

DataSourceCoordinatesTag public_oe static_oe property

Tag that identifies the physical location of the data source.
public static Guid,System DataSourceCoordinatesTag
Résultat System.Guid

DataSourceNameTag public_oe static_oe property

Tag that identifies the data source name.
public static Guid,System DataSourceNameTag
Résultat System.Guid

DataSourceTypeTag public_oe static_oe property

Tag that identifies the data source type.
public static Guid,System DataSourceTypeTag
Résultat System.Guid

EffectiveTag public_oe static_oe property

Tag that identifies the time that the data source record becomes effective.
public static Guid,System EffectiveTag
Résultat System.Guid

EquipmentIDTag public_oe static_oe property

Tag that identifies the equipment ID.
public static Guid,System EquipmentIDTag
Résultat System.Guid

OneChannelDefinitionTag public_oe static_oe property

Tag that identifies the a single channel definition in the collection.
public static Guid,System OneChannelDefinitionTag
Résultat System.Guid

VendorIDTag public_oe static_oe property

Tag that identifies the vendor ID.
public static Guid,System VendorIDTag
Résultat System.Guid