def reinit(self):
    if self.execute:
        self.stop()
    self.__init__(self.function, self.realTime)
def reinit(self):
    if self.execute:
        self.stop()
    self.__init__(self.function, self.realTime)