Package org.powertac.common
Class WeatherReport
- java.lang.Object
-
- org.powertac.common.WeatherReport
-
-
Constructor Summary
Constructors Constructor Description WeatherReport(int timeslot, double temperature, double windSpeed, double windDirection, double cloudCover)
WeatherReport(Timeslot timeslot, double temperature, double windSpeed, double windDirection, double cloudCover)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description double
getCloudCover()
Timeslot
getCurrentTimeslot()
Deprecated.long
getId()
double
getTemperature()
int
getTimeslotIndex()
double
getWindDirection()
double
getWindSpeed()
-
-
-
Constructor Detail
-
WeatherReport
public WeatherReport(int timeslot, double temperature, double windSpeed, double windDirection, double cloudCover)
-
WeatherReport
@Deprecated @ChainedConstructor public WeatherReport(Timeslot timeslot, double temperature, double windSpeed, double windDirection, double cloudCover)
Deprecated.Constructor that uses timeslot is deprecated
-
-
Method Detail
-
getId
public long getId()
-
getTimeslotIndex
public int getTimeslotIndex()
-
getCurrentTimeslot
@Deprecated public Timeslot getCurrentTimeslot()
Deprecated.
-
getTemperature
public double getTemperature()
-
getWindSpeed
public double getWindSpeed()
-
getWindDirection
public double getWindDirection()
-
getCloudCover
public double getCloudCover()
-
-