def __init__(self, inst, props, *args, **kwargs): super(SpringfieldCounterTimerController, self).__init__(inst, props, *args, **kwargs) # initialize hardware communication self.springfield = springfieldlib.SpringfieldCounterHW() # do some initialization self._counters = {}
def __init__(self, inst, props, *args, **kwargs): """Constructor""" super(SpringfieldBaseCounterTimerController, self).__init__(inst, props, *args, **kwargs) self.springfield = springfieldlib.SpringfieldCounterHW()