Class ReadOnlyWindClimateUncertainty
Partial implementation of the ReadOnlyWindClimateUncertainty class.
Implements
Namespace: Scripting
Syntax
public class ReadOnlyWindClimateUncertainty : IWindClimate
Constructors
ReadOnlyWindClimateUncertainty()
Creates an instance of the ReadOnlyWindClimateUncertainty class.
Declaration
public ReadOnlyWindClimateUncertainty()
Properties
HeightAboveGround
Gets the height above ground of the WindClimate that the ReadOnlyWindClimateUncertainty refers to, Returns 0.0 if it can't find the corresponding WindClimate.
Declaration
public double HeightAboveGround { get; }
Property Value
Type | Description |
---|---|
System.Double |
MeasurementSiteName
Gets the name of the measurement site that this ReadOnlyWindClimateUncertainty is part of.
Returns string.Empty if it couldn't find one.
Declaration
public string MeasurementSiteName { get; }
Property Value
Type | Description |
---|---|
System.String |
StandardDeviation
Declaration
public double StandardDeviation { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(ReadOnlyWindClimateUncertainty)
Tests a ReadOnlyWindClimateUncertainty against this current ReadOnlyWindClimateUncertainty for equality.
Declaration
public bool Equals(ReadOnlyWindClimateUncertainty val)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyWindClimateUncertainty | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current ReadOnlyWindClimateUncertainty 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(ReadOnlyWindClimateUncertainty, ReadOnlyWindClimateUncertainty)
Tests a ReadOnlyWindClimateUncertainty against this current ReadOnlyWindClimateUncertainty for equality.
Declaration
public static bool operator ==(ReadOnlyWindClimateUncertainty a, ReadOnlyWindClimateUncertainty b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyWindClimateUncertainty | a | |
ReadOnlyWindClimateUncertainty | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(ReadOnlyWindClimateUncertainty, ReadOnlyWindClimateUncertainty)
Tests a ReadOnlyWindClimateUncertainty against this current ReadOnlyWindClimateUncertainty for inequality.
Declaration
public static bool operator !=(ReadOnlyWindClimateUncertainty a, ReadOnlyWindClimateUncertainty b)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyWindClimateUncertainty | a | |
ReadOnlyWindClimateUncertainty | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |