Class SymmetricalLayoutOptimisationSettings
Partial class to extend the auto-generated SymmetricalLayoutOptimisationSettings class.
Namespace: Scripting
Syntax
public class SymmetricalLayoutOptimisationSettings
Constructors
SymmetricalLayoutOptimisationSettings()
Creates an instance of the SymmetricalLayoutOptimisationSettings class.
Declaration
public SymmetricalLayoutOptimisationSettings()
Properties
FrequencyTableMetaData
Gets or sets the frequency table meta data to use to calculate the primary and secondary axes.
Declaration
public FrequencyTableMetaData FrequencyTableMetaData { get; set; }
Property Value
Type | Description |
---|---|
FrequencyTableMetaData |
NumberOfTurbinesToAdd
Declaration
public int NumberOfTurbinesToAdd { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TurbineType
Gets or sets turbine type to use when adding new turbines to the symmetrical layout.
Declaration
public TurbineType TurbineType { get; set; }
Property Value
Type | Description |
---|---|
TurbineType |
WindFarm
Gets or sets the wind farm to add new turbines to.
Declaration
public WindFarm WindFarm { get; set; }
Property Value
Type | Description |
---|---|
WindFarm |
Methods
Equals(SymmetricalLayoutOptimisationSettings)
Tests a SymmetricalLayoutOptimisationSettings against this current SymmetricalLayoutOptimisationSettings for equality.
Declaration
public bool Equals(SymmetricalLayoutOptimisationSettings val)
Parameters
Type | Name | Description |
---|---|---|
SymmetricalLayoutOptimisationSettings | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current SymmetricalLayoutOptimisationSettings 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(SymmetricalLayoutOptimisationSettings, SymmetricalLayoutOptimisationSettings)
Tests a SymmetricalLayoutOptimisationSettings against this current SymmetricalLayoutOptimisationSettings for equality.
Declaration
public static bool operator ==(SymmetricalLayoutOptimisationSettings a, SymmetricalLayoutOptimisationSettings b)
Parameters
Type | Name | Description |
---|---|---|
SymmetricalLayoutOptimisationSettings | a | |
SymmetricalLayoutOptimisationSettings | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(SymmetricalLayoutOptimisationSettings, SymmetricalLayoutOptimisationSettings)
Tests a SymmetricalLayoutOptimisationSettings against this current SymmetricalLayoutOptimisationSettings for inequality.
Declaration
public static bool operator !=(SymmetricalLayoutOptimisationSettings a, SymmetricalLayoutOptimisationSettings b)
Parameters
Type | Name | Description |
---|---|---|
SymmetricalLayoutOptimisationSettings | a | |
SymmetricalLayoutOptimisationSettings | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |