Package elisa :: Package plugins :: Package bad :: Package weather :: Module weather_model :: Class WeatherModel
[hide private]
[frames] | no frames]

Class WeatherModel

source code


Modelize the weather.

Nested Classes [hide private]

Inherited from core.component.Component: __metaclass__

Instance Methods [hide private]
 
__repr__(self)
repr(x)
source code

Inherited from base_components.model.Model: __init__

Inherited from core.component.Component: clean, initialize, load_config, save_config

Inherited from core.observers.observable.Observable: __setattr__, add_observer, remove_observer

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __str__

Static Methods [hide private]

Inherited from core.component.Component: __classinit__

Class Variables [hide private]
  sky = ''
  view = 0
string name = 'weather_model'
Component's name

Inherited from core.component.Component: checked, config_doc, default_config, id, plugin

Inherited from extern.log.log.Loggable: logCategory

Instance Variables [hide private]
string location = ''
the location, the data where taken at
float temp = 0
temperature in celsius
float relHumidity = 0
the relative Humidity in percent
integer wind_speed = 0
speed of the wind in kilometers per hour (km/h)
integer wind_dir = 0
direction of the wind in degrees (°)
float press = 0
pressure in hectopasca (hPa)
float dew = 0
the dew point in celsius
string icon = ''
what icon to use

Inherited from base_components.model.Model: activate_action, activity, loading, parent

Inherited from core.component.Component: config, path

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)