mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 21:11:17 +00:00
A first setup of the new Weather Module
This commit is contained in:
24
modules/default/weather/weatherday.js
Normal file
24
modules/default/weather/weatherday.js
Normal file
@@ -0,0 +1,24 @@
|
||||
/* global Class */
|
||||
|
||||
/* Magic Mirror
|
||||
* Module: Weather
|
||||
*
|
||||
* By Michael Teeuw http://michaelteeuw.nl
|
||||
* MIT Licensed.
|
||||
*
|
||||
* This class is the blueprint for a day which includes weather information.
|
||||
*/
|
||||
|
||||
// Currently this is focused on the information which is nessecery for the current weather.
|
||||
// As soon as we start implementing the forecast, mode properties will be added.
|
||||
|
||||
class WeatherDay {
|
||||
constructor() {
|
||||
this.windSpeed = null
|
||||
this.windDirection = null
|
||||
this.sunrise = null
|
||||
this.sunset = null
|
||||
this.temperature = null
|
||||
this.weatherType = null
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user