Explorar o código

initialize the values with None

Sven Czarnian %!s(int64=3) %!d(string=hai) anos
pai
achega
46e04fca23
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      aman/sys/WeatherModel.py

+ 3 - 0
aman/sys/WeatherModel.py

@@ -9,6 +9,9 @@ class WeatherModel:
     def __init__(self, gaforId, weather : Weather):
         self.Gafor = gaforId
         self.Weather = weather
+        self.Altitudes = None
+        self.Directions = None
+        self.Windspeeds = None
         self.WindDirectionModel = None
         self.WindSpeedModel = None
         self.LastWeatherUpdate = None