-
Notifications
You must be signed in to change notification settings - Fork 0
DiGi.EPW.Classes
Represents a single period entry of the DATA PERIODS header record of an EPW file.
public class DataPeriod : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DataPeriod
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the DataPeriod class by copying an existing instance.
public DataPeriod(DiGi.EPW.Classes.DataPeriod? dataPeriod);dataPeriod DataPeriod
The source data period to copy from.
Initializes a new instance of the DataPeriod class.
public DataPeriod(string? name, string? startDayOfWeek, string? startDate, string? endDate);name System.String
The name of the data period.
startDayOfWeek System.String
The day of week on which the data period starts.
startDate System.String
The start date of the data period.
endDate System.String
The end date of the data period.
Initializes a new instance of the DataPeriod class from a JSON object.
public DataPeriod(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing data period data.
Gets the end date of the data period.
public string? EndDate { get; }Gets the name of the data period.
public string? Name { get; }Gets the start date of the data period.
public string? StartDate { get; }Gets the day of week on which the data period starts.
public string? StartDayOfWeek { get; }Represents a single hourly weather data record of an EPW file.
public class DataRecord : DiGi.Weather.Classes.WeatherRecord, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DiGi.Weather.Classes.WeatherRecord → DataRecord
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the DataRecord class by copying an existing instance.
public DataRecord(DiGi.EPW.Classes.DataRecord? dataRecord);dataRecord DataRecord
The source data record to copy from.
DataRecord(DateTime, string, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, int, int, float, float, int, string, float, float, float, int, float, float, float) Constructor
Initializes a new instance of the DataRecord class.
public DataRecord(System.DateTime dateTime, string? dataSourceAndUncertaintyFlags, float dryBulbTemperature, float dewPointTemperature, float relativeHumidity, float atmosphericStationPressure, float extraterrestrialHorizontalRadiation, float extraterrestrialDirectNormalRadiation, float horizontalInfraredRadiationIntensity, float globalHorizontalRadiation, float directNormalRadiation, float diffuseHorizontalRadiation, float globalHorizontalIlluminance, float directNormalIlluminance, float diffuseHorizontalIlluminance, float zenithLuminance, float windDirection, float windSpeed, int totalSkyCover, int opaqueSkyCover, float visibility, float ceilingHeight, int presentWeatherObservation, string? presentWeatherCodes, float precipitableWater, float aerosolOpticalDepth, float snowDepth, int daysSinceLastSnowfall, float albedo, float liquidPrecipitationDepth, float liquidPrecipitationQuantity);dateTime System.DateTime
The date and time of the record.
dataSourceAndUncertaintyFlags System.String
The data source and uncertainty flags string.
dryBulbTemperature System.Single
The dry bulb temperature, in degrees Celsius.
dewPointTemperature System.Single
The dew point temperature, in degrees Celsius.
relativeHumidity System.Single
The relative humidity, in percent.
atmosphericStationPressure System.Single
The atmospheric station pressure, in Pascals.
extraterrestrialHorizontalRadiation System.Single
The extraterrestrial horizontal radiation, in Wh/m2.
extraterrestrialDirectNormalRadiation System.Single
The extraterrestrial direct normal radiation, in Wh/m2.
horizontalInfraredRadiationIntensity System.Single
The horizontal infrared radiation intensity, in Wh/m2.
globalHorizontalRadiation System.Single
The global horizontal radiation, in Wh/m2.
directNormalRadiation System.Single
The direct normal radiation, in Wh/m2.
diffuseHorizontalRadiation System.Single
The diffuse horizontal radiation, in Wh/m2.
globalHorizontalIlluminance System.Single
The global horizontal illuminance, in lux.
directNormalIlluminance System.Single
The direct normal illuminance, in lux.
diffuseHorizontalIlluminance System.Single
The diffuse horizontal illuminance, in lux.
zenithLuminance System.Single
The zenith luminance, in Cd/m2.
windDirection System.Single
The wind direction, in degrees.
windSpeed System.Single
The wind speed, in m/s.
totalSkyCover System.Int32
The total sky cover, in tenths.
opaqueSkyCover System.Int32
The opaque sky cover, in tenths.
visibility System.Single
The visibility, in km.
ceilingHeight System.Single
The ceiling height, in m.
presentWeatherObservation System.Int32
The present weather observation flag.
presentWeatherCodes System.String
The present weather codes.
precipitableWater System.Single
The precipitable water, in mm.
aerosolOpticalDepth System.Single
The aerosol optical depth, in thousandths.
snowDepth System.Single
The snow depth, in cm.
daysSinceLastSnowfall System.Int32
The number of days since the last snowfall.
albedo System.Single
The albedo.
liquidPrecipitationDepth System.Single
The liquid precipitation depth, in mm.
liquidPrecipitationQuantity System.Single
The liquid precipitation quantity, in hours.
Initializes a new instance of the DataRecord class from a JSON object.
public DataRecord(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing hourly weather data.
Gets the aerosol optical depth, in thousandths.
public float AerosolOpticalDepth { get; }Gets the albedo.
public float Albedo { get; }Gets the data source and uncertainty flags string.
public string? DataSourceAndUncertaintyFlags { get; }Gets the number of days since the last snowfall.
public int DaysSinceLastSnowfall { get; }Gets the extraterrestrial direct normal radiation, in Wh/m2.
public float ExtraterrestrialDirectNormalRadiation { get; }Gets the extraterrestrial horizontal radiation, in Wh/m2.
public float ExtraterrestrialHorizontalRadiation { get; }Gets the liquid precipitation depth, in mm.
public float LiquidPrecipitationDepth { get; }Gets the liquid precipitation quantity, in hours.
public float LiquidPrecipitationQuantity { get; }Gets the precipitable water, in mm.
public float PrecipitableWater { get; }Gets the present weather codes.
public string? PresentWeatherCodes { get; }Gets the present weather observation flag.
public int PresentWeatherObservation { get; }Gets the visibility, in km.
public float Visibility { get; }Gets the zenith luminance, in Cd/m2.
public float ZenithLuminance { get; }Represents the DESIGN CONDITIONS header record of an EPW file.
public class DesignConditions : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DesignConditions
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the DesignConditions class by copying an existing instance.
public DesignConditions(DiGi.EPW.Classes.DesignConditions? designConditions);designConditions DesignConditions
The source design conditions to copy from.
Initializes a new instance of the DesignConditions class.
public DesignConditions(int numberOfDesignConditions, string? source, string? name, System.Collections.Generic.IList<double>? heatingValues, System.Collections.Generic.IList<double>? coolingValues, System.Collections.Generic.IList<double>? extremeValues);numberOfDesignConditions System.Int32
The number of design conditions contained in the record.
source System.String
The source of the design condition data.
name System.String
The design condition name, if specified.
heatingValues System.Collections.Generic.IList<System.Double>
The heating design condition values, in file order.
coolingValues System.Collections.Generic.IList<System.Double>
The cooling design condition values, in file order.
extremeValues System.Collections.Generic.IList<System.Double>
The extreme design condition values, in file order.
Initializes a new instance of the DesignConditions class from a JSON object.
public DesignConditions(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing design conditions data.
Gets the cooling design condition values, in file order.
public System.Collections.Generic.IList<double>? CoolingValues { get; }System.Collections.Generic.IList<System.Double>
Gets the extreme design condition values, in file order.
public System.Collections.Generic.IList<double>? ExtremeValues { get; }System.Collections.Generic.IList<System.Double>
Gets the heating design condition values, in file order.
public System.Collections.Generic.IList<double>? HeatingValues { get; }System.Collections.Generic.IList<System.Double>
Gets the design condition name, if specified.
public string? Name { get; }Gets the number of design conditions contained in the record.
public int NumberOfDesignConditions { get; }Gets the source of the design condition data.
public string? Source { get; }Represents an EnergyPlus Weather (EPW) file and its associated data.
public class EPWFile : DiGi.Weather.Classes.Weather, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → DiGi.Weather.Classes.Weather<DiGi.Weather.Classes.WeatherRecord> → DiGi.Weather.Classes.Weather → EPWFile
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the EPWFile class by copying an existing instance.
public EPWFile(DiGi.EPW.Classes.EPWFile? ePWFile);ePWFile EPWFile
The source EPW file to copy from.
EPWFile(Location, DesignConditions, IList<TypicalExtremePeriod>, IList<GroundTemperature>, HolidaysDaylightSaving, string, string, IList<DataPeriod>, IList<DataRecord>) Constructor
Initializes a new instance of the EPWFile class.
public EPWFile(DiGi.EPW.Classes.Location? location, DiGi.EPW.Classes.DesignConditions? designConditions=null, System.Collections.Generic.IList<DiGi.EPW.Classes.TypicalExtremePeriod>? typicalExtremePeriods=null, System.Collections.Generic.IList<DiGi.EPW.Classes.GroundTemperature>? groundTemperatures=null, DiGi.EPW.Classes.HolidaysDaylightSaving? holidaysDaylightSaving=null, string? comments1=null, string? comments2=null, System.Collections.Generic.IList<DiGi.EPW.Classes.DataPeriod>? dataPeriods=null, System.Collections.Generic.IList<DiGi.EPW.Classes.DataRecord>? dataRecords=null);location Location
The location associated with the EPW file.
designConditions DesignConditions
The design conditions header record.
typicalExtremePeriods System.Collections.Generic.IList<TypicalExtremePeriod>
The typical/extreme periods header record.
groundTemperatures System.Collections.Generic.IList<GroundTemperature>
The ground temperatures header record.
holidaysDaylightSaving HolidaysDaylightSaving
The holidays/daylight saving header record.
comments1 System.String
The first comments header record.
comments2 System.String
The second comments header record.
dataPeriods System.Collections.Generic.IList<DataPeriod>
The data periods header record.
dataRecords System.Collections.Generic.IList<DataRecord>
The hourly weather data records.
Initializes a new instance of the EPWFile class from a JSON object.
public EPWFile(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing EPW file data.
Gets the first comments header record.
public string? Comments1 { get; }Gets the second comments header record.
public string? Comments2 { get; }Gets the data periods header record.
public System.Collections.Generic.IList<DiGi.EPW.Classes.DataPeriod>? DataPeriods { get; }System.Collections.Generic.IList<DataPeriod>
Gets the hourly weather data records.
public System.Collections.Generic.IList<DiGi.EPW.Classes.DataRecord>? DataRecords { get; }System.Collections.Generic.IList<DataRecord>
Gets the design conditions header record.
public DiGi.EPW.Classes.DesignConditions? DesignConditions { get; }Gets the ground temperatures header record.
public System.Collections.Generic.IList<DiGi.EPW.Classes.GroundTemperature>? GroundTemperatures { get; }System.Collections.Generic.IList<GroundTemperature>
Gets the holidays/daylight saving header record.
public DiGi.EPW.Classes.HolidaysDaylightSaving? HolidaysDaylightSaving { get; }Gets the location information associated with this EPW file.
public DiGi.EPW.Classes.Location? Location { get; }Gets the typical/extreme periods header record.
public System.Collections.Generic.IList<DiGi.EPW.Classes.TypicalExtremePeriod>? TypicalExtremePeriods { get; }System.Collections.Generic.IList<TypicalExtremePeriod>
Represents a single depth entry of the GROUND TEMPERATURES header record of an EPW file.
public class GroundTemperature : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → GroundTemperature
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the GroundTemperature class by copying an existing instance.
public GroundTemperature(DiGi.EPW.Classes.GroundTemperature? groundTemperature);groundTemperature GroundTemperature
The source ground temperature to copy from.
GroundTemperature(double, Nullable<double>, Nullable<double>, Nullable<double>, IList<double>) Constructor
Initializes a new instance of the GroundTemperature class.
public GroundTemperature(double depth, System.Nullable<double> conductivity, System.Nullable<double> density, System.Nullable<double> specificHeat, System.Collections.Generic.IList<double>? monthlyValues);depth System.Double
The ground depth, in meters.
conductivity System.Nullable<System.Double>
The soil thermal conductivity, if specified.
density System.Nullable<System.Double>
The soil density, if specified.
specificHeat System.Nullable<System.Double>
The soil specific heat, if specified.
monthlyValues System.Collections.Generic.IList<System.Double>
The twelve monthly ground temperature values.
Initializes a new instance of the GroundTemperature class from a JSON object.
public GroundTemperature(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing ground temperature data.
Gets the soil thermal conductivity, if specified.
public System.Nullable<double> Conductivity { get; }System.Nullable<System.Double>
Gets the soil density, if specified.
public System.Nullable<double> Density { get; }System.Nullable<System.Double>
Gets the ground depth, in meters.
public double Depth { get; }Gets the twelve monthly ground temperature values.
public System.Collections.Generic.IList<double>? MonthlyValues { get; }System.Collections.Generic.IList<System.Double>
Gets the soil specific heat, if specified.
public System.Nullable<double> SpecificHeat { get; }System.Nullable<System.Double>
Represents a single holiday entry of the HOLIDAYS/DAYLIGHT SAVINGS header record of an EPW file.
public class Holiday : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → Holiday
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the Holiday class by copying an existing instance.
public Holiday(DiGi.EPW.Classes.Holiday? holiday);holiday Holiday
The source holiday to copy from.
Initializes a new instance of the Holiday class.
public Holiday(string? name, string? date);name System.String
The name of the holiday.
date System.String
The date of the holiday.
Initializes a new instance of the Holiday class from a JSON object.
public Holiday(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing holiday data.
Gets the date of the holiday.
public string? Date { get; }Gets the name of the holiday.
public string? Name { get; }Represents the HOLIDAYS/DAYLIGHT SAVINGS header record of an EPW file.
public class HolidaysDaylightSaving : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → HolidaysDaylightSaving
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the HolidaysDaylightSaving class.
public HolidaysDaylightSaving(bool leapYearObserved, string? daylightSavingStartDate, string? daylightSavingEndDate, System.Collections.Generic.IList<DiGi.EPW.Classes.Holiday>? holidays);leapYearObserved System.Boolean
Indicates whether the leap year is observed.
daylightSavingStartDate System.String
The daylight saving start date.
daylightSavingEndDate System.String
The daylight saving end date.
holidays System.Collections.Generic.IList<Holiday>
The list of holidays defined in the file.
Initializes a new instance of the HolidaysDaylightSaving class by copying an existing instance.
public HolidaysDaylightSaving(DiGi.EPW.Classes.HolidaysDaylightSaving? holidaysDaylightSaving);holidaysDaylightSaving HolidaysDaylightSaving
The source holidays/daylight saving record to copy from.
Initializes a new instance of the HolidaysDaylightSaving class from a JSON object.
public HolidaysDaylightSaving(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing holidays/daylight saving data.
Gets the daylight saving end date.
public string? DaylightSavingEndDate { get; }Gets the daylight saving start date.
public string? DaylightSavingStartDate { get; }Gets the list of holidays defined in the file.
public System.Collections.Generic.IList<DiGi.EPW.Classes.Holiday>? Holidays { get; }System.Collections.Generic.IList<Holiday>
Gets a value indicating whether the leap year is observed.
public bool LeapYearObserved { get; }Represents a geographical location including coordinates, elevation, and administrative details.
public class Location : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → Location
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the Location class by copying an existing instance.
public Location(DiGi.EPW.Classes.Location? location);location Location
The source location to copy from.
Initializes a new instance of the Location class.
public Location(string? city, string? region, string? country, string? source, string? wHO, double latitude, double longitude, double timeZone, double elevation);city System.String
The name of the city.
region System.String
The region or administrative area.
country System.String
The name of the country.
source System.String
The source of the location data.
wHO System.String
The World Health Organization designation.
latitude System.Double
The latitude coordinate.
longitude System.Double
The longitude coordinate.
timeZone System.Double
The time zone offset.
elevation System.Double
The elevation above sea level.
Initializes a new instance of the Location class from a JSON object.
public Location(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing location data.
Gets the name of the city.
public string? City { get; }Gets the name of the country.
public string? Country { get; }Gets the elevation of the location.
public double Elevation { get; }Gets the latitude coordinate of the location.
public double Latitude { get; }Gets the longitude coordinate of the location.
public double Longitude { get; }Gets the region or administrative area of the location.
public string? Region { get; }Gets the source from which the location data was retrieved.
public string? Source { get; }Gets the time zone offset for the location.
public double TimeZone { get; }Gets the World Health Organization (WHO) designation for the location.
public string? WHO { get; }Represents a single period entry of the TYPICAL/EXTREME PERIODS header record of an EPW file.
public class TypicalExtremePeriod : DiGi.Core.Classes.SerializableObject, DiGi.EPW.Interfaces.IEPWSerializableObject, DiGi.EPW.Interfaces.IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObjectInheritance System.Object → DiGi.Core.Classes.Object → DiGi.Core.Classes.SerializableObject → TypicalExtremePeriod
Implements IEPWSerializableObject, IEPWObject, DiGi.Core.Interfaces.IObject, DiGi.Core.Interfaces.ISerializableObject, DiGi.Core.Interfaces.ICloneableObject<DiGi.Core.Interfaces.ISerializableObject>, DiGi.Core.Interfaces.ICloneableObject
Initializes a new instance of the TypicalExtremePeriod class by copying an existing instance.
public TypicalExtremePeriod(DiGi.EPW.Classes.TypicalExtremePeriod? typicalExtremePeriod);typicalExtremePeriod TypicalExtremePeriod
The source typical/extreme period to copy from.
Initializes a new instance of the TypicalExtremePeriod class.
public TypicalExtremePeriod(string? name, string? periodType, string? startDate, string? endDate);name System.String
The name of the typical or extreme period.
periodType System.String
The type of the period, e.g. Typical or Extreme.
startDate System.String
The start date of the period.
endDate System.String
The end date of the period.
Initializes a new instance of the TypicalExtremePeriod class from a JSON object.
public TypicalExtremePeriod(System.Text.Json.Nodes.JsonObject? jsonObject);jsonObject System.Text.Json.Nodes.JsonObject
The JSON object containing typical/extreme period data.
Gets the end date of the period.
public string? EndDate { get; }Gets the name of the typical or extreme period.
public string? Name { get; }Gets the type of the period, e.g. Typical or Extreme.
public string? PeriodType { get; }Gets the start date of the period.
public string? StartDate { get; }