Class ReadOnlyPerformanceTable
A read-only definition of a performance table
Implements
Namespace: Scripting
Syntax
public class ReadOnlyPerformanceTable : IPerformanceTable
Constructors
ReadOnlyPerformanceTable()
Creates an instance of the ReadOnlyPerformanceTable class.
Declaration
public ReadOnlyPerformanceTable()
Properties
AirDensity
Gets the air density
Declaration
public double AirDensity { get; }
Property Value
Type | Description |
---|---|
System.Double |
DataTable
Gets a read-only data table
Declaration
public IEnumerable<ReadOnlyDataPoint> DataTable { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ReadOnlyDataPoint> |
PowerCurveAsList
Gets power curve data as a list.
Declaration
public List<Tuple<double, double>> PowerCurveAsList { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Tuple<System.Double, System.Double>> |
PowerCurveInfo
Gets the read-only power curve information
Declaration
public ReadOnlyPowerCurveInfo PowerCurveInfo { get; }
Property Value
Type | Description |
---|---|
ReadOnlyPowerCurveInfo |
ThrustCurveInfo
Gets the read-only thrust curve information
Declaration
public ReadOnlyThrustCurveInfo ThrustCurveInfo { get; }
Property Value
Type | Description |
---|---|
ReadOnlyThrustCurveInfo |
Turbulence
Gets the turbulence
Declaration
public double Turbulence { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(ReadOnlyPerformanceTable)
Tests a ReadOnlyPerformanceTable against this current ReadOnlyPerformanceTable for equality.
Declaration
public bool Equals(ReadOnlyPerformanceTable val)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyPerformanceTable | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current ReadOnlyPerformanceTable 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(ReadOnlyPerformanceTable, ReadOnlyPerformanceTable)
Tests a ReadOnlyPerformanceTable against this current ReadOnlyPerformanceTable for equality.
Declaration
public static bool operator ==(ReadOnlyPerformanceTable a, ReadOnlyPerformanceTable b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyPerformanceTable | a | |
ReadOnlyPerformanceTable | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(ReadOnlyPerformanceTable, ReadOnlyPerformanceTable)
Tests a ReadOnlyPerformanceTable against this current ReadOnlyPerformanceTable for inequality.
Declaration
public static bool operator !=(ReadOnlyPerformanceTable a, ReadOnlyPerformanceTable b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyPerformanceTable | a | |
ReadOnlyPerformanceTable | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |