Gemstone PhasorProtocols Library
Show/Hide TOC

# PhasorValue Class

Represents the SEL CWS implementation of a IPhasorValue.

## Definition

Namespace: Gemstone.PhasorProtocols.SelCWS
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.159 -- Release Build+abd132cce9146ac407095c456214716c4203ac13
C#
View Source Request Example

    [SerializableAttribute]
    public class PhasorValue : PhasorValueBase

VB
View Source Request Example

    <SerializableAttribute>
    Public Class PhasorValue
    	Inherits PhasorValueBase

C++
View Source Request Example

    [SerializableAttribute]
    public ref class PhasorValue : public PhasorValueBase

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.SelCWS.PhasorValue = function();

    Type.createClass(
    	'Gemstone.PhasorProtocols.SelCWS.PhasorValue',
    	Gemstone.PhasorProtocols.PhasorValueBase);

Inheritance
  Object BinaryImageBase ChannelBase ChannelValueBase IPhasorDefinition PhasorValueBase PhasorValue

## Constructors

PhasorValue(IDataCell, IPhasorDefinition) | Creates a new PhasorValue.
PhasorValue(SerializationInfo, StreamingContext) | Creates a new PhasorValue from serialization parameters.
PhasorValue(DataCell, PhasorDefinition, Angle, Double) | Creates a new PhasorValue from specified parameters.
PhasorValue(DataCell, PhasorDefinition, Double, Double) | Creates a new PhasorValue from specified parameters.

## Properties

Angle | Gets or sets the Angle value (a.k.a., the argument) of this PhasorValueBase, in radians. (Inherited from PhasorValueBase)
AngleFormat | Gets the AngleFormat of this PhasorValueBase. (Inherited from PhasorValueBase)
Attributes | Gets a DictionaryTKey, TValue of string based property names and values for this PhasorValueBase object. (Inherited from PhasorValueBase)
BinaryImage | Gets the binary image of the ChannelBase object. (Inherited from ChannelBase)
BinaryLength | Gets the length of the BinaryImageBase object. (Inherited from BinaryImageBase)
BodyImage | Gets the binary body image of the PhasorValueBase object. (Inherited from PhasorValueBase)
BodyLength | Gets the length of the BodyImage. (Inherited from PhasorValueBase)
CompositeValueCount | Gets total number of composite values that this PhasorValueBase provides. (Inherited from PhasorValueBase)
CoordinateFormat | Gets the CoordinateFormat of this PhasorValueBase. (Inherited from PhasorValueBase)
DataFormat | Gets the DataFormat of this ChannelValueBaseT. (Inherited from ChannelValueBaseT)
Definition | Gets or sets the PhasorDefinition associated with this PhasorValue.
FooterImage | Gets the binary footer image of the BinaryImageBase object. (Inherited from ChannelBase)
FooterLength | Gets the length of the footer portion of the BinaryImageBase object. (Inherited from BinaryImageBase)
HeaderImage | Gets the binary header image of the ChannelBase object. (Inherited from ChannelBase)
HeaderLength | Gets the length of the header portion of the BinaryImageBase object. (Inherited from BinaryImageBase)
Imaginary | Gets or sets the imaginary value of this PhasorValueBase. (Inherited from PhasorValueBase)
IsEmpty | Gets boolean value that determines if none of the composite values of PhasorValueBase have been assigned a value. (Inherited from PhasorValueBase)
Label | Gets text based label of this ChannelValueBaseT. (Inherited from ChannelValueBaseT)
Magnitude | Gets or sets the magnitude value (a.k.a., the absolute value or modulus) of this PhasorValueBase. (Inherited from PhasorValueBase)
Measurements | Gets the composite values of this ChannelValueBaseT as an array of IMeasurement values. (Inherited from ChannelValueBaseT)
Parent | Gets or sets the DataCell parent of this PhasorValue.
Phasor | Gets Phasor value from this IPhasorValue. (Inherited from PhasorValueBase)
Real | Gets or sets the real value of this PhasorValueBase. (Inherited from PhasorValueBase)
State | Gets or sets the parsing state for this ChannelBase object. (Inherited from ChannelBase)
Tag | Gets or sets a user definable reference to an object associated with this ChannelBase object. (Inherited from ChannelBase)
Type | Gets the PhasorType of this PhasorValueBase. (Inherited from PhasorValueBase)
UnscaledImaginary | Gets or sets the unscaled integer representation of the imaginary value of this PhasorValueBase. (Inherited from PhasorValueBase)
UnscaledReal | Gets or sets the unscaled integer representation of the real value of this PhasorValueBase. (Inherited from PhasorValueBase)

## Methods

CreateMeasurement | Creates a new IMeasurement value for specified composite value for this PhasorValueBase. (Inherited from PhasorValueBase)
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
GenerateBinaryImage | Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes. (Inherited from ChannelBase)
GenerateBodyImage(Byte[], Int32) | Generates the binary body image and copies it into the given buffer, for BodyLength bytes. (Inherited from BinaryImageBase)
GenerateFooterImage(Byte[], Int32) | Generates the binary footer image and copies it into the given buffer, for FooterLength bytes. (Inherited from BinaryImageBase)
GenerateHeaderImage(Byte[], Int32) | Generates the binary header image and copies it into the given buffer, for HeaderLength bytes. (Inherited from BinaryImageBase)
GetCompositeValue | Gets the specified composite value of this PhasorValueBase. (Inherited from PhasorValueBase)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from PhasorValueBase)
GetType | Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
ParseBinaryImage(Byte[], Int32, Int32) | Initializes object by parsing the specified buffer containing a binary image. (Inherited from BinaryImageBase)
ParseBodyImage | Parses the binary body image. (Inherited from PhasorValueBase)
ParseFooterImage(Byte[], Int32, Int32) | Parses the binary footer image. (Inherited from BinaryImageBase)
ParseHeaderImage(Byte[], Int32, Int32) | Parses the binary header image. (Inherited from BinaryImageBase)
ToString | Returns a string that represents the current object. (Inherited from Object)

## See Also

#### Reference

Gemstone.PhasorProtocols.SelCWS Namespace