Class ReadOnlyTurbineType
A read-only definition of a turbine type
Namespace: Scripting
Syntax
public class ReadOnlyTurbineType
Constructors
ReadOnlyTurbineType()
Creates an instance of the ReadOnlyTurbineType class.
Declaration
public ReadOnlyTurbineType()
Properties
AnemometerMake
Gets the anemometer make
Declaration
public string AnemometerMake { get; }
Property Value
Type | Description |
---|---|
System.String |
AnemometerMatchingFactor
Gets the anemometer matching factor
Declaration
public double AnemometerMatchingFactor { get; }
Property Value
Type | Description |
---|---|
System.Double |
Comments
Gets the comments for this turbine type
Declaration
public string Comments { get; }
Property Value
Type | Description |
---|---|
System.String |
HubHeight
Gets the hub height
Declaration
public double HubHeight { get; }
Property Value
Type | Description |
---|---|
System.Double |
ManufacturerName
Gets the manufacturer's name
Declaration
public string ManufacturerName { get; }
Property Value
Type | Description |
---|---|
System.String |
Model
Gets the turbine model
Declaration
public string Model { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets the name of the turbine type
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
NominalVoltage
Gets the nominal voltage
Declaration
public double NominalVoltage { get; }
Property Value
Type | Description |
---|---|
System.Double |
NormalMode
Gets the turbine mode marked as normal mode
Declaration
public ReadOnlyTurbineMode NormalMode { get; }
Property Value
Type | Description |
---|---|
ReadOnlyTurbineMode |
NormalPerformanceTables
Gets the normal mode performance tables
Declaration
public List<ReadOnlyPerformanceTable> NormalPerformanceTables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ReadOnlyPerformanceTable> |
PowerControlType
Gets the power control type
Declaration
public PowerControlType PowerControlType { get; }
Property Value
Type | Description |
---|---|
PowerControlType |
RatedPower
Gets the rated power
Declaration
public double RatedPower { get; }
Property Value
Type | Description |
---|---|
System.Double |
ReferenceURI
Gets the reference URI
Declaration
public string ReferenceURI { get; }
Property Value
Type | Description |
---|---|
System.String |
RotorDiameter
Gets the rotor diameter
Declaration
public double RotorDiameter { get; }
Property Value
Type | Description |
---|---|
System.Double |
RotorSpeedMax
Gets the rotor maximum speed
Declaration
public double RotorSpeedMax { get; }
Property Value
Type | Description |
---|---|
System.Double |
RotorSpeedMin
Gets the rotor minimum speed
Declaration
public double RotorSpeedMin { get; }
Property Value
Type | Description |
---|---|
System.Double |
RotorSpeedType
Gets the rotor speed type
Declaration
public RotorSpeedType RotorSpeedType { get; }
Property Value
Type | Description |
---|---|
RotorSpeedType |
TurbineClassification
Gets a read-only turbine classification
Declaration
public ReadOnlyTurbineClassification TurbineClassification { get; }
Property Value
Type | Description |
---|---|
ReadOnlyTurbineClassification |
TurbineModes
Gets a read-only turbine mode list
Declaration
public IEnumerable<ReadOnlyTurbineMode> TurbineModes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ReadOnlyTurbineMode> |
Methods
Equals(ReadOnlyTurbineType)
Tests a ReadOnlyTurbineType against this current ReadOnlyTurbineType for equality.
Declaration
public bool Equals(ReadOnlyTurbineType val)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyTurbineType | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current ReadOnlyTurbineType 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(ReadOnlyTurbineType, ReadOnlyTurbineType)
Tests a ReadOnlyTurbineType against this current ReadOnlyTurbineType for equality.
Declaration
public static bool operator ==(ReadOnlyTurbineType a, ReadOnlyTurbineType b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyTurbineType | a | |
ReadOnlyTurbineType | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(ReadOnlyTurbineType, ReadOnlyTurbineType)
Tests a ReadOnlyTurbineType against this current ReadOnlyTurbineType for inequality.
Declaration
public static bool operator !=(ReadOnlyTurbineType a, ReadOnlyTurbineType b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyTurbineType | a | |
ReadOnlyTurbineType | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |