Class ReadOnlyDataPoint
A read-only definiton of a data point
Namespace: Scripting
Syntax
public class ReadOnlyDataPoint
Constructors
ReadOnlyDataPoint()
Creates an instance of the ReadOnlyDataPoint class.
Declaration
public ReadOnlyDataPoint()
Properties
PowerOutput
Gets the power output
Declaration
public double PowerOutput { get; }
Property Value
Type | Description |
---|---|
System.Double |
ReactivePower
Gets the reactive power
Declaration
public double ReactivePower { get; }
Property Value
Type | Description |
---|---|
System.Double |
RotorSpeed
Gets the rotor speed
Declaration
public double RotorSpeed { get; }
Property Value
Type | Description |
---|---|
System.Double |
ThrustCoEfficient
Gets the thrust coefficient
Declaration
public double ThrustCoEfficient { get; }
Property Value
Type | Description |
---|---|
System.Double |
WindSpeed
Gets the wind speed
Declaration
public double WindSpeed { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(ReadOnlyDataPoint)
Tests a ReadOnlyDataPoint against this current ReadOnlyDataPoint for equality.
Declaration
public bool Equals(ReadOnlyDataPoint val)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyDataPoint | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current ReadOnlyDataPoint for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean | True if object is equal otherwise false is returned. |
Overrides
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this object. |
Overrides
Operators
Equality(ReadOnlyDataPoint, ReadOnlyDataPoint)
Tests a ReadOnlyDataPoint against this current ReadOnlyDataPoint for equality.
Declaration
public static bool operator ==(ReadOnlyDataPoint a, ReadOnlyDataPoint b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyDataPoint | a | |
ReadOnlyDataPoint | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(ReadOnlyDataPoint, ReadOnlyDataPoint)
Tests a ReadOnlyDataPoint against this current ReadOnlyDataPoint for inequality.
Declaration
public static bool operator !=(ReadOnlyDataPoint a, ReadOnlyDataPoint b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyDataPoint | a | |
ReadOnlyDataPoint | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |