Class ReadOnlyTurbineFlicker
A read-only definition of turbine flicker
Implements
Namespace: Scripting
Syntax
public class ReadOnlyTurbineFlicker : INamedItem
Properties
DailyFlicker
Gets a read-only list of daily flicker results
Declaration
public IList<ReadOnlyDailyFlickerResult> DailyFlicker { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ReadOnlyDailyFlickerResult> |
Name
Get the name (the name of the turbine)
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
TotalHoursPerYear
Gets the total hours per year
Declaration
public double TotalHoursPerYear { get; }
Property Value
Type | Description |
---|---|
System.Double |
TurbineName
Gets the turbine name
Declaration
public string TurbineName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(ReadOnlyTurbineFlicker)
Tests a ReadOnlyTurbineFlicker against this current ReadOnlyTurbineFlicker for equality.
Declaration
public bool Equals(ReadOnlyTurbineFlicker val)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyTurbineFlicker | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current ReadOnlyTurbineFlicker 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(ReadOnlyTurbineFlicker, ReadOnlyTurbineFlicker)
Tests a ReadOnlyTurbineFlicker against this current ReadOnlyTurbineFlicker for equality.
Declaration
public static bool operator ==(ReadOnlyTurbineFlicker a, ReadOnlyTurbineFlicker b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyTurbineFlicker | a | |
ReadOnlyTurbineFlicker | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(ReadOnlyTurbineFlicker, ReadOnlyTurbineFlicker)
Tests a ReadOnlyTurbineFlicker against this current ReadOnlyTurbineFlicker for inequality.
Declaration
public static bool operator !=(ReadOnlyTurbineFlicker a, ReadOnlyTurbineFlicker b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyTurbineFlicker | a | |
ReadOnlyTurbineFlicker | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |