Class WindFarm
Extends the data facade WindFarm class
Syntax
public class WindFarm : INamedItem
Constructors
WindFarm(String)
Declaration
public WindFarm(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
The name of the wind farm
|
Properties
CurtailmentRules
Gets the curtailment rules collection
Declaration
public ICollection<CurtailmentRule> CurtailmentRules { get; }
Property Value
ExcludeFromCalculation
Get and set is this wind farm excluded from calculation
Declaration
public bool ExcludeFromCalculation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsIncludedInBlockageCalculation
Gets or sets whether this wind farm is include in the blockage model.
Declaration
public bool IsIncludedInBlockageCalculation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsNeighbour
Declaration
public bool IsNeighbour { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsWindFarmFixed
Declaration
public bool IsWindFarmFixed { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Notes
Declaration
public string Notes { get; set; }
Property Value
Type |
Description |
System.String |
|
Owner
Declaration
public string Owner { get; set; }
Property Value
Type |
Description |
System.String |
|
Turbines
The collection of turbines for this wind farm
Declaration
public IEditableKeyedEnumerable<string, Turbine> Turbines { get; }
Property Value
Methods
Equals(WindFarm)
Declaration
public bool Equals(WindFarm val)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Equals(Object)
Tests a System.Object against this current WindFarm 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
System.Object.Equals(System.Object)
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
System.Object.GetHashCode()
Operators
Equality(WindFarm, WindFarm)
Declaration
public static bool operator ==(WindFarm a, WindFarm b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Inequality(WindFarm, WindFarm)
Declaration
public static bool operator !=(WindFarm a, WindFarm b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if not equal otherwise false is returned.
|
Implements