Click or drag to resize

PhasorValueBase Class

Represents the common implementation of the protocol independent representation of a phasor value.
Inheritance Hierarchy
SystemObject
  GSF.ParsingBinaryImageBase
    GSF.PhasorProtocolsChannelBase
      GSF.PhasorProtocolsChannelValueBaseIPhasorDefinition
        GSF.PhasorProtocolsPhasorValueBase
          More

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

The PhasorValueBase type exposes the following members.

Constructors
 NameDescription
Protected methodPhasorValueBase(IDataCell, IPhasorDefinition) Creates a new PhasorValueBase.
Protected methodPhasorValueBase(SerializationInfo, StreamingContext) Creates a new PhasorValueBase from serialization parameters.
Protected methodPhasorValueBase(IDataCell, IPhasorDefinition, Angle, Double) Creates a new PhasorValueBase from specified parameters.
Protected methodPhasorValueBase(IDataCell, IPhasorDefinition, Double, Double) Creates a new PhasorValueBase from specified parameters.
Top
Properties
 NameDescription
Public propertyAngle Gets or sets the Angle value (a.k.a., the argument) of this PhasorValueBase, in radians.
Public propertyAngleFormat Gets the AngleFormat of this PhasorValueBase.
Public propertyAttributes Gets a DictionaryTKey, TValue of string based property names and values for this PhasorValueBase object.
(Overrides ChannelValueBaseTAttributes)
Public propertyBinaryImage Gets the binary image of the ChannelBase object.
(Inherited from ChannelBase)
Public propertyBinaryLength Gets the length of the BinaryImageBase object.
(Inherited from BinaryImageBase)
Protected propertyBodyImage Gets the binary body image of the PhasorValueBase object.
(Overrides ChannelBaseBodyImage)
Protected propertyBodyLength Gets the length of the BodyImage.
(Overrides BinaryImageBaseBodyLength)
Public propertyCompositeValueCount Gets total number of composite values that this PhasorValueBase provides.
(Overrides ChannelValueBaseTCompositeValueCount)
Public propertyCoordinateFormat Gets the CoordinateFormat of this PhasorValueBase.
Public propertyDataFormat Gets the DataFormat of this ChannelValueBaseT.
(Inherited from ChannelValueBaseT)
Public propertyDefinition Gets or sets the IChannelDefinition associated with this ChannelValueBaseT.
(Inherited from ChannelValueBaseT)
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)
Protected propertyHeaderImage Gets the binary header image of the ChannelBase object.
(Inherited from ChannelBase)
Protected propertyHeaderLength Gets the length of the header portion of the BinaryImageBase object.
(Inherited from BinaryImageBase)
Public propertyImaginary Gets or sets the imaginary value of this PhasorValueBase.
Public propertyIsEmpty Gets boolean value that determines if none of the composite values of PhasorValueBase have been assigned a value.
(Overrides ChannelValueBaseTIsEmpty)
Public propertyLabel Gets text based label of this ChannelValueBaseT.
(Inherited from ChannelValueBaseT)
Public propertyMagnitude Gets or sets the magnitude value (a.k.a., the absolute value or modulus) of this PhasorValueBase.
Public propertyMeasurements Gets the composite values of this ChannelValueBaseT as an array of IMeasurement values.
(Inherited from ChannelValueBaseT)
Public propertyParent Gets or sets the IDataCell parent of this ChannelValueBaseT.
(Inherited from ChannelValueBaseT)
Public propertyPhasor Gets Phasor value from this IPhasorValue.
Public propertyReal Gets or sets the real value of this PhasorValueBase.
Public propertyState Gets or sets the parsing state for this ChannelBase object.
(Inherited from ChannelBase)
Public propertyTag Gets or sets a user definable reference to an object associated with this ChannelBase object.
(Inherited from ChannelBase)
Public propertyType Gets the PhasorType of this PhasorValueBase.
Public propertyUnscaledImaginary Gets or sets the unscaled integer representation of the imaginary value of this PhasorValueBase.
Public propertyUnscaledReal Gets or sets the unscaled integer representation of the real value of this PhasorValueBase.
Top
Methods
 NameDescription
Public methodStatic memberCalculatePower Calculates watts from imaginary and real components of a voltage and current phasor.
Public methodStatic memberCalculateVars Calculates vars (total volt-amperes of reactive power) from imaginary and real components of a voltage and current phasor.
Protected methodCreateMeasurement Creates a new IMeasurement value for specified composite value for this PhasorValueBase.
(Overrides ChannelValueBaseTCreateMeasurement(Int32))
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 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 methodGetCompositeValue Gets the specified composite value of this PhasorValueBase.
(Overrides ChannelValueBaseTGetCompositeValue(Int32))
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
(Overrides ChannelValueBaseTGetObjectData(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 Initializes object by parsing the specified buffer containing a binary image.
(Inherited from BinaryImageBase)
Protected methodParseBodyImage Parses the binary body image.
(Overrides BinaryImageBaseParseBodyImage(Byte, Int32, Int32))
Protected methodParseFooterImage Parses the binary footer image.
(Inherited from BinaryImageBase)
Protected methodParseHeaderImage Parses the binary header image.
(Inherited from BinaryImageBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
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 MethodGetEnumValueOrDefaultT 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
Inheritance Hierarchy