Click or drag to resize

ChannelDefinition Class

Represents a channel definition in a PQDIF file. The channel definition resides within a DataSourceRecord and defines a ChannelInstance.
Inheritance Hierarchy
SystemObject
  GSF.PQDIF.LogicalChannelDefinition

Namespace: GSF.PQDIF.Logical
Assembly: GSF.PQDIF (in GSF.PQDIF.dll) Version: 2.4.205-beta
Syntax
public class ChannelDefinition : IEquatable<ChannelDefinition>
View Source

The ChannelDefinition type exposes the following members.

Constructors
 NameDescription
Public methodChannelDefinition Creates a new instance of the ChannelDefinition class.
Top
Properties
 NameDescription
Public propertyChannelName Gets a string identifier for the channel definition.
Public propertyDataSource Gets the data source record in which the channel definition resides.
Public propertyPhase Gets the phase measured by the device.
Public propertyPhysicalStructure Gets the physical structure of the channel definition.
Public propertyQuantityMeasured Gets the physical quantity under measurement (Voltage, Current Power, etc).
Public propertyQuantityName Gets the name of the quantity.
Public propertyQuantityTypeID Gets the quantity type ID, which specifies how the data inside instances of this definition should be interpreted.
Public propertySeriesDefinitions Gets the series definitions defined in this channel definition.
Top
Methods
 NameDescription
Public methodAddNewSeriesDefinition Adds a new series definition to the collection of series definitions in this channel definition.
Public methodStatic memberCreateChannelDefinition Creates a new channel definition belonging to the given data source record.
Public methodEquals(ChannelDefinition) Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object) Determines whether the specified Object is equal to the current ChannelDefinition.
(Overrides ObjectEquals(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 methodGetHashCode Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode)
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 series definition from the collection of series definitions.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberChannelDefinitionIndexTag Tag that identifies the channel definition index.
Public fieldStatic memberChannelNameTag Tag that identifies the channel name.
Public fieldStatic memberOneSeriesDefinitionTag Tag that identifies a single series definition within the collection.
Public fieldStatic memberPhaseIDTag Tag that identifies the phase ID.
Public fieldStatic memberQuantityMeasuredIDTag Tag that identifies the quantity measured ID.
Public fieldStatic memberQuantityNameTag Tag that identifies the quantity name.
Public fieldStatic memberQuantityTypeIDTag Tag that identifies the quantity type.
Public fieldStatic memberSeriesDefinitionsTag Tag that identifies the series definitions collection.
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