Class WindClimateUncertainty
Partial implementation of the WindClimateUncertainty class.
Implements
Namespace: Scripting
Syntax
public class WindClimateUncertainty : IWindClimate
Constructors
WindClimateUncertainty()
Creates an instance of the WindClimateUncertainty class.
Declaration
public WindClimateUncertainty()
Properties
HeightAboveGround
Gets the height above ground of the WindClimate that the WindClimateUncertainty 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 WindClimateUncertainty 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; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(WindClimateUncertainty)
Tests a WindClimateUncertainty against this current WindClimateUncertainty for equality.
Declaration
public bool Equals(WindClimateUncertainty val)
Parameters
Type | Name | Description |
---|---|---|
WindClimateUncertainty | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current WindClimateUncertainty 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(WindClimateUncertainty, WindClimateUncertainty)
Tests a WindClimateUncertainty against this current WindClimateUncertainty for equality.
Declaration
public static bool operator ==(WindClimateUncertainty a, WindClimateUncertainty b)
Parameters
Type | Name | Description |
---|---|---|
WindClimateUncertainty | a | |
WindClimateUncertainty | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(WindClimateUncertainty, WindClimateUncertainty)
Tests a WindClimateUncertainty against this current WindClimateUncertainty for inequality.
Declaration
public static bool operator !=(WindClimateUncertainty a, WindClimateUncertainty b)
Parameters
Type | Name | Description |
---|---|---|
WindClimateUncertainty | a | |
WindClimateUncertainty | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |