Click or drag to resize

ConfigurationFrame Class

Represents the BPA PDCstream implementation of a IConfigurationFrame that can be sent or received.
Inheritance Hierarchy
System.Object
  GSF.Parsing.BinaryImageBase
    GSF.PhasorProtocols.ChannelBase
      GSF.PhasorProtocols.ChannelFrameBase<IConfigurationCell>
        GSF.PhasorProtocols.ConfigurationFrameBase
          GSF.PhasorProtocols.BPAPDCstream.ConfigurationFrame

Namespace: GSF.PhasorProtocols.BPAPDCstream
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.239-beta
Syntax

The ConfigurationFrame type exposes the following members.

Constructors
 NameDescription
Public methodConfigurationFrame() Creates a new ConfigurationFrame.
Protected methodConfigurationFrame(SerializationInfo, StreamingContext) Creates a new ConfigurationFrame from serialization parameters.
Public methodConfigurationFrame(Ticks, String, UInt16, RevisionNumber, StreamType) Creates a new ConfigurationFrame from specified parameters.
Top
Properties
 NameDescription
Public propertyAllowQueuedPublication Gets flag that determines if frame image can be queued for publication or should be processed immediately.
(Inherited from ConfigurationFrameBase)
Public propertyAttributesDictionary<TKey, TValue> of string based property names and values for the ConfigurationFrame object.
(Overrides ConfigurationFrameBase.Attributes)
Public propertyBinaryImage Gets the binary image of this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public propertyBinaryLength Gets the length of the BinaryImage.
(Inherited from ChannelFrameBase<T>)
Protected propertyBodyImage Gets the binary body image of this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Protected propertyBodyLength Gets the length of the BodyImage.
(Inherited from ChannelFrameBase<T>)
Public propertyCells Gets reference to the ConfigurationCellCollection for this ConfigurationFrame.
Public propertyChecksum Gets calculated checksum for this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public propertyCommonHeader Gets or sets current CommonFrameHeader.
Public propertyConfigurationFileCells Gets reference to the ConfigurationCellCollection loaded from the configuration file of this ConfigurationFrame.
Public propertyConfigurationFileName Gets the INI based configuration file name of this ConfigurationFrame.
Public propertyCreatedTimestamp Gets timestamp, in ticks, of when this ChannelFrameBase<T> was created.
(Inherited from ChannelFrameBase<T>)
Public propertyDefaultFrequency Gets the default frequency definition.
Public propertyDefaultPhasorI Gets the default current phasor definition.
Public propertyDefaultPhasorV Gets the default voltage phasor definition.
Protected propertyFooterImage Gets the binary footer image of the BinaryImageBase object.
(Inherited from ChannelBase)
Protected propertyFooterLength Gets the length of the footer portion of the BinaryImageBase object.
(Inherited from BinaryImageBase)
Public propertyFrameRate Gets or sets defined frame rate of this ConfigurationFrameBase.
(Inherited from ConfigurationFrameBase)
Public propertyFrameType Gets the FundamentalFrameType for this ConfigurationFrameBase.
(Inherited from ConfigurationFrameBase)
Protected propertyHeaderImage Gets the binary header image of the ConfigurationFrame object.
(Overrides ChannelBase.HeaderImage)
Protected propertyHeaderLength Gets the length of the HeaderImage.
(Overrides BinaryImageBase.HeaderLength)
Public propertyIDCode Gets or sets the ID code of this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public propertyLastSortedMeasurement Gets or sets reference to last IMeasurement that was sorted into this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public propertyLifespan Gets the life-span of this ChannelFrameBase<T> since its creation.
(Inherited from ChannelFrameBase<T>)
Public propertyMeasurements Keyed measurements in this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public propertyPacketsPerSample Gets or sets the number of packets per sample of this ConfigurationFrame.
Protected propertyParsedBinaryLength Gets the parsed binary length derived from the parsing state, if any.
(Inherited from ChannelFrameBase<T>)
Public propertyPublished Gets or sets published state of this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public propertyRevisionNumber Gets or sets the RevisionNumber of this ConfigurationFrame.
Public propertySampleIndex Gets or sets current sample index used to calculate row time stamp when source data is in the Phasor Data File Format (i.e., a DST file).
Public propertySortedMeasurements Gets or sets total number of measurements that have been sorted into this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public propertySource Gets or sets the data source identifier for this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public propertyState Gets or sets the parsing state for the this ConfigurationFrameBase.
(Inherited from ConfigurationFrameBase)
Public propertyStreamType Gets or sets the BPA PDCstream protocol StreamType, i.e., legacy or compact, of this ConfigurationFrame.
Public propertyTag Gets or sets a user definable reference to an object associated with this ChannelBase object.
(Inherited from ChannelBase)
Public propertyTicksPerFrame Gets the defined Ticks per frame of this ConfigurationFrameBase.
(Inherited from ConfigurationFrameBase)
Public propertyTimestamp Gets or sets exact timestamp, in ticks, of the data represented by this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public propertyTimeTag Gets UNIX based time representation of the ticks of this ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public propertyTrustHeaderLength Gets or sets flag that determines if header lengths should be trusted over parsed byte count.
(Inherited from ChannelFrameBase<T>)
Public propertyTypeID Gets the FrameType of this ConfigurationFrame.
Public propertyUsePhasorDataFileFormat Gets or sets flag that determines if source data is in the Phasor Data File Format (i.e., a DST file).
Public propertyValidateCheckSum Gets or sets flag that determines if frame's check-sum should be validated - this should normally be left as true.
(Inherited from ChannelFrameBase<T>)
Top
Methods
 NameDescription
Protected methodAppendChecksum Appends checksum onto buffer starting at startIndex.
(Overrides ChannelFrameBase<T>.AppendChecksum(Byte[], Int32))
Protected methodCalculateChecksum Calculates checksum of given buffer.
(Overrides ChannelFrameBase<T>.CalculateChecksum(Byte[], Int32, Int32))
Protected methodChecksumIsValid Determines if checksum in the buffer is valid.
(Overrides ChannelFrameBase<T>.ChecksumIsValid(Byte[], Int32))
Public methodCompareTo(IFrame) Compares the ChannelFrameBase<T> with an IFrame.
(Inherited from ChannelFrameBase<T>)
Public methodCompareTo(Object) Compares the ChannelFrameBase<T> with the specified Object.
(Inherited from ChannelFrameBase<T>)
Public methodEquals(IFrame) Determines whether the specified IFrame is equal to the current ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
Public methodEquals(Object) Determines whether the specified Object is equal to the current ChannelFrameBase<T>.
(Inherited from ChannelFrameBase<T>)
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 methodGenerateBinaryImage Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
(Inherited from ChannelBase)
Protected methodGenerateBodyImage Generates the binary body image and copies it into the given buffer, for BodyLength bytes.
(Inherited from BinaryImageBase)
Protected methodGenerateFooterImage Generates the binary footer image and copies it into the given buffer, for FooterLength bytes.
(Inherited from BinaryImageBase)
Protected methodGenerateHeaderImage Generates the binary header image and copies it into the given buffer, for HeaderLength bytes.
(Inherited from BinaryImageBase)
Public methodGetHashCode Returns the hash code for this instance.
(Inherited from ChannelFrameBase<T>)
Public methodStatic memberGetIniFileImage Gets a generated INI configuration file image.
Public methodGetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
(Overrides ConfigurationFrameBase.GetObjectData(SerializationInfo, StreamingContext))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParseBinaryImage Parses the binary image.
(Overrides ChannelFrameBase<T>.ParseBinaryImage(Byte[], Int32, Int32))
Protected methodParseBodyImage Parses the binary body image.
(Inherited from ChannelFrameBase<T>)
Protected methodParseFooterImage Parses the binary footer image.
(Inherited from BinaryImageBase)
Protected methodParseHeaderImage Parses the binary header image.
(Overrides BinaryImageBase.ParseHeaderImage(Byte[], Int32, Int32))
Public methodRefresh() Reload BPA PDcstream INI based configuration file.
Public methodRefresh(Boolean) Reload BPA PDcstream INI based configuration file specifying if the refresh was caused by a frame parse.
Public methodSetNominalFrequency Sets a new nominal LineFrequency for all IFrequencyDefinition elements of each IConfigurationCell in the Cells collection.
(Inherited from ConfigurationFrameBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventConfigurationFileReloaded Occurs when the BPA PDCstream INI based configuration file has been reloaded.
Top
Fields
 NameDescription
Public fieldStatic memberDefaultCurrentPhasorEntry Default current phasor INI based configuration entry.
Public fieldStatic memberDefaultFrequencyEntry Default frequency INI based configuration entry.
Public fieldStatic memberDefaultVoltagePhasorEntry Default voltage phasor INI based configuration entry.
Top
Extension Methods
 NameDescription
Public Extension MethodBinaryImage Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyBinaryImageToStream Copies binary image of object that implements ISupportBinaryImage to a Stream.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyImage This is a common optimized block copy function for any kind of data.
(Defined by Common)
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefault<T> Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodParseBinaryImageFromStream Parses binary image of object that implements ISupportBinaryImage from a Stream.
(Defined by ISupportBinaryImageExtensions)
Top
See Also