Calculation Class |
The Calculation type exposes the following members.
Name | Description | |
---|---|---|
CoolingDegreeDays | Returns a non-null CoolingDegreeDaysCalculation object with the specified base temperature. | |
Equals |
Two Calculation objects are equal if they have the same
class and the same configuration.
(Overrides ObjectEquals(Object)) | |
GetHashCode |
Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode) | |
HeatingDegreeDays | Returns a non-null HeatingDegreeDaysCalculation object with the specified base temperature. |
To create a Calculation object you can use the static factory methods of this class. For example:
Calculation hdd = Calculation.HeatingDegreeDays(Temperature.Celsius(12.5)); Calculation cdd = Calculation.CoolingDegreeDays(Temperature.Celsius(21));
This abstract class is not designed to be extended by third-party code, which is why it does not have an accessible constructor.