Click or drag to resize

ObservationRecord Class

Represents an observation record in a PQDIF file.
Inheritance Hierarchy
SystemObject
  GSF.PQDIF.LogicalObservationRecord

Namespace: GSF.PQDIF.Logical
Assembly: GSF.PQDIF (in GSF.PQDIF.dll) Version: 2.4.207-beta
Syntax
public class ObservationRecord
View Source

The ObservationRecord type exposes the following members.

Properties
 NameDescription
Public propertyChannelInstances Gets the channel instances in this observation record.
Public propertyChannelTriggerIndex Gets or sets the index into ChannelInstancesTag collection within this record which initiated the observation.
Public propertyCreateTime Gets the creation time of the observation record.
Public propertyDataSource Gets the data source record that defines the channels in this observation record.
Public propertyDisturbanceCategoryID Gets or sets the Disturbance Category ID
Public propertyName Gets the name of the observation record.
Public propertyPhysicalRecord Gets the physical structure of the observation record.
Public propertySettings Gets the monitor settings record that defines the settings to be applied to this observation record.
Public propertyStartTime Gets the starting time of the data in the observation record. This time should be used as the base time for all relative seconds recorded in the series instances.
Public propertyTimeTriggered Gets the time the observation was triggered. For more information regarding recording time in PQD files, see StartTime.
Public propertyTriggerMethod Gets or sets the type of trigger which caused the observation.
Top
Methods
 NameDescription
Public methodAddNewChannelInstance Adds a new channel instance to the collection of channel instances in this observation record.
Public methodStatic memberCreateObservationRecord(DataSourceRecord, MonitorSettingsRecord) Creates a new observation record from scratch with the given data source and settings.
Public methodStatic memberCreateObservationRecord(Record, DataSourceRecord, MonitorSettingsRecord) 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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemove Removes the given channel instance from the collection of channel instances.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberChannelInstancesTag Tag that identifies the channel instances collection.
Public fieldStatic memberChannelTriggerIndexTag Tag that identifies the index into ChannelInstancesTag collection within this record. This specifies which channel(s) initiated the observation.
Public fieldStatic memberDisturbanceCategoryTag Tag that identifies the Disturbance Category.
Public fieldStatic memberObservationNameTag Tag that identifies the name of the observation record.
Public fieldStatic memberOneChannelInstanceTag Tag that identifies a single channel instance in the collection.
Public fieldStatic memberTimeCreateTag Tag that identifies the time that the observation record was created.
Public fieldStatic memberTimeStartTag Tag that identifies the start time of the data in the observation record.
Public fieldStatic memberTimeTriggeredTag Tag that identifies the time the observation was triggered.
Public fieldStatic memberTriggerMethodTag Tag that identifies the type of trigger that caused the observation.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also