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