E-Paper-Calendar/Calendar/WeatherForecast.py

24 lines
729 B
Python
Raw Normal View History

2019-02-20 18:50:18 +01:00
class WeatherForecast (object):
"""Defines a weather forecast, independent of any implementation"""
def __init__ (self):
self.air_temperature = None
2019-02-23 19:26:58 +01:00
self.air_pressure = None
self.air_humidity = None
2019-02-20 18:50:18 +01:00
self.rain_probability = None
self.rain_amount = None
2019-02-23 19:26:58 +01:00
self.snow_amount = None
2019-02-20 18:50:18 +01:00
self.sunrise = None
self.sunset = None
self.moon_phase = None
self.wind_speed = None
2019-05-15 09:14:22 +02:00
self.wind_deg = None
2019-02-23 19:14:36 +01:00
self.clouds = None
2019-02-20 18:50:18 +01:00
self.icon = None
self.short_description = None
2019-02-23 19:26:58 +01:00
self.detailed_description = None
2019-02-20 18:50:18 +01:00
self.units = None
2019-02-23 19:31:52 +01:00
self.datetime = None
2019-02-23 19:33:39 +01:00
self.location = None
2019-02-23 19:28:07 +01:00
self.fetch_datetime = None