Class TurbineMode
A class representing a turbine mode.
Namespace: Scripting
Syntax
public class TurbineMode
Constructors
TurbineMode()
Creates an instance of the TurbineMode class.
Declaration
public TurbineMode()
Properties
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PerformanceTableList
Declaration
public IList<PerformanceTable> PerformanceTableList { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<PerformanceTable> |
StartStopStrategy
Declaration
public StartStopStrategy StartStopStrategy { get; set; }
Property Value
Type | Description |
---|---|
StartStopStrategy |
TurbineNoise
Declaration
public TurbineNoise TurbineNoise { get; }
Property Value
Type | Description |
---|---|
TurbineNoise |
Methods
Equals(TurbineMode)
Tests a TurbineMode against this current TurbineMode for equality.
Declaration
public bool Equals(TurbineMode val)
Parameters
Type | Name | Description |
---|---|---|
TurbineMode | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current TurbineMode 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()
SetNormalMode()
Sets the turbine mode to be the normal operating mode.
Declaration
public void SetNormalMode()
Operators
Equality(TurbineMode, TurbineMode)
Tests a TurbineMode against this current TurbineMode for equality.
Declaration
public static bool operator ==(TurbineMode a, TurbineMode b)
Parameters
Type | Name | Description |
---|---|---|
TurbineMode | a | |
TurbineMode | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(TurbineMode, TurbineMode)
Tests a TurbineMode against this current TurbineMode for inequality.
Declaration
public static bool operator !=(TurbineMode a, TurbineMode b)
Parameters
Type | Name | Description |
---|---|---|
TurbineMode | a | |
TurbineMode | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |