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)

[((204, 247), 'kivy.properties.NumericProperty', 'NumericProperty', (['config.ProximitySensor.max'], {}), '(config.ProximitySensor.max)\n', (219, 247), False, 'from kivy.properties import NumericProperty\n'), ((289, 332), 'kivy.properties.NumericProperty', 'NumericProperty', (['config.ProximitySensor.min'], {}), '(config.ProximitySensor.min)\n', (304, 332), False, 'from kivy.properties import NumericProperty\n')]