Class OctaveBands
Namespace: Scripting
Syntax
public class OctaveBands
Properties
DB125
Gets or sets the 125 hz band in dB
Declaration
public double DB125 { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DB1K
Gets or sets the 1Khz band in dB
Declaration
public double DB1K { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DB250
Gets or sets the 250 hz band in dB
Declaration
public double DB250 { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DB2K
Gets or sets the 2Khz band in dB
Declaration
public double DB2K { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DB31
Gets or sets the 31.5 hz band in dB
Declaration
public double DB31 { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DB4K
Gets or sets the 4Khz band in dB
Declaration
public double DB4K { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DB500
Gets or sets the 500 hz band in dB
Declaration
public double DB500 { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DB63
Gets or sets the 63 hz band in dB
Declaration
public double DB63 { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DB8K
Gets or sets the 8Khz band in dB
Declaration
public double DB8K { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
IsOctaveBands
Gets or sets whether octave bands can be entered
Declaration
public bool IsOctaveBands { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
TotalSoundPowerLevel
Gets or sets the total sound power level (if IsOctaveBands is false)
Declaration
public double TotalSoundPowerLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
WindSpeed
Gets or sets the wind speed
Declaration
public double WindSpeed { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(OctaveBands)
Tests a OctaveBands against this current OctaveBands for equality.
Declaration
public bool Equals(OctaveBands val)
Parameters
Type | Name | Description |
---|---|---|
OctaveBands | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current OctaveBands 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(OctaveBands, OctaveBands)
Tests a OctaveBands against this current OctaveBands for equality.
Declaration
public static bool operator ==(OctaveBands a, OctaveBands b)
Parameters
Type | Name | Description |
---|---|---|
OctaveBands | a | |
OctaveBands | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(OctaveBands, OctaveBands)
Tests a OctaveBands against this current OctaveBands for inequality.
Declaration
public static bool operator !=(OctaveBands a, OctaveBands b)
Parameters
Type | Name | Description |
---|---|---|
OctaveBands | a | |
OctaveBands | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |