Class TurbineNoise
Namespace: Scripting
Syntax
public class TurbineNoise
Properties
DoesTurbineProduceTonalNoise
Whether the turbine produces tonal noise or not
Declaration
public bool DoesTurbineProduceTonalNoise { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
OctaveBands
Gets the octave bands list
Declaration
public IList<OctaveBands> OctaveBands { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<OctaveBands> |
ReferenceHeight
The reference height is hub height is not used
Declaration
public double ReferenceHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TonalPenalty
Gets or sets the tonal penalty
Declaration
public double TonalPenalty { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
UseHubHeightForReference
Whether to use the hub height as the reference height or not
Declaration
public bool UseHubHeightForReference { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Equals(TurbineNoise)
Tests a TurbineNoise against this current TurbineNoise for equality.
Declaration
public bool Equals(TurbineNoise val)
Parameters
Type | Name | Description |
---|---|---|
TurbineNoise | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current TurbineNoise 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(TurbineNoise, TurbineNoise)
Tests a TurbineNoise against this current TurbineNoise for equality.
Declaration
public static bool operator ==(TurbineNoise a, TurbineNoise b)
Parameters
Type | Name | Description |
---|---|---|
TurbineNoise | a | |
TurbineNoise | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(TurbineNoise, TurbineNoise)
Tests a TurbineNoise against this current TurbineNoise for inequality.
Declaration
public static bool operator !=(TurbineNoise a, TurbineNoise b)
Parameters
Type | Name | Description |
---|---|---|
TurbineNoise | a | |
TurbineNoise | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |