Class CurtailmentRule
Syntax
public class CurtailmentRule
Constructors
CurtailmentRule(String)
Declaration
public CurtailmentRule(string activeMode)
Parameters
Type |
Name |
Description |
System.String |
activeMode |
The turbine type mode activated when the curtailment rules are true e.g. Shutdown
|
Properties
ActiveMode
Declaration
public string ActiveMode { get; set; }
Property Value
Type |
Description |
System.String |
|
CurtailmentType
Gets or sets the curtailment type. Added here to cope with the BindableCollectionItemReference.
Declaration
public CurtailmentType CurtailmentType { get; set; }
Property Value
EndDayOfYear
Declaration
public int EndDayOfYear { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
IsSaved
Gets whether the curtailment rule is saved or not.
Declaration
public bool IsSaved { get; }
Property Value
Type |
Description |
System.Boolean |
|
Note
Declaration
public string Note { get; set; }
Property Value
Type |
Description |
System.String |
|
StartDayOfYear
Declaration
public int StartDayOfYear { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
TimeFromAsSunRiseOffset
Declaration
public TimeSpan? TimeFromAsSunRiseOffset { get; set; }
Property Value
Type |
Description |
System.Nullable<System.TimeSpan> |
|
TimeFromAsSunSetOffset
Declaration
public TimeSpan? TimeFromAsSunSetOffset { get; set; }
Property Value
Type |
Description |
System.Nullable<System.TimeSpan> |
|
TimeFromAsTimeOfDay
Declaration
public TimeSpan? TimeFromAsTimeOfDay { get; set; }
Property Value
Type |
Description |
System.Nullable<System.TimeSpan> |
|
TimeToAsSunRiseOffset
Declaration
public TimeSpan? TimeToAsSunRiseOffset { get; set; }
Property Value
Type |
Description |
System.Nullable<System.TimeSpan> |
|
TimeToAsSunSetOffset
Declaration
public TimeSpan? TimeToAsSunSetOffset { get; set; }
Property Value
Type |
Description |
System.Nullable<System.TimeSpan> |
|
TimeToAsTimeOfDay
Declaration
public TimeSpan? TimeToAsTimeOfDay { get; set; }
Property Value
Type |
Description |
System.Nullable<System.TimeSpan> |
|
WindDirectionFrom
Declaration
public double WindDirectionFrom { get; set; }
Property Value
Type |
Description |
System.Double |
|
WindDirectionTo
Declaration
public double WindDirectionTo { get; set; }
Property Value
Type |
Description |
System.Double |
|
WindSpeedFrom
Declaration
public double WindSpeedFrom { get; set; }
Property Value
Type |
Description |
System.Double |
|
WindSpeedTo
Declaration
public double WindSpeedTo { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
Equals(CurtailmentRule)
Declaration
public bool Equals(CurtailmentRule val)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Equals(Object)
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(CurtailmentRule, CurtailmentRule)
Declaration
public static bool operator ==(CurtailmentRule a, CurtailmentRule b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if equal otherwise false is returned.
|
Inequality(CurtailmentRule, CurtailmentRule)
Declaration
public static bool operator !=(CurtailmentRule a, CurtailmentRule b)
Parameters
Returns
Type |
Description |
System.Boolean |
True if not equal otherwise false is returned.
|