from kivy.properties import NumericProperty

from gui.sensors.sensor import Sensor
import config


class ProximitySensor(Sensor):
    """Proximity sensor view"""

    # maximum possible reading
    max = NumericProperty(config.ProximitySensor.max)
    # minimum possible reading
    min = NumericProperty(config.ProximitySensor.min)

[((11, 10, 11, 53), 'kivy.properties.NumericProperty', 'NumericProperty', ({(11, 26, 11, 52): 'config.ProximitySensor.max'}, {}), '(config.ProximitySensor.max)', False, 'from kivy.properties import NumericProperty\n'), ((13, 10, 13, 53), 'kivy.properties.NumericProperty', 'NumericProperty', ({(13, 26, 13, 52): 'config.ProximitySensor.min'}, {}), '(config.ProximitySensor.min)', False, 'from kivy.properties import NumericProperty\n')]