예제 #1
0
파일: booth.py 프로젝트: swibrow/pibooth
 def __init__(self):
     State.__init__(self, 'wait')
     self.timer = PoolingTimer(self.app.config.getfloat('WINDOW', 'animate_delay'))
     if self.app.config.getfloat('WINDOW', 'final_image_delay') < 0:
         self.final_display_timer = None
     else:
         self.final_display_timer = PoolingTimer(self.app.config.getfloat('WINDOW', 'final_image_delay'))
예제 #2
0
파일: booth.py 프로젝트: jpgreth/pibooth
 def __init__(self, timeout):
     State.__init__(self, 'choose')
     self.timer = PoolingTimer(timeout)
예제 #3
0
파일: booth.py 프로젝트: jpgreth/pibooth
 def __init__(self):
     State.__init__(self, 'wait')
예제 #4
0
파일: booth.py 프로젝트: jpgreth/pibooth
 def __init__(self, timeout):
     State.__init__(self, 'failsafe')
     self.timer = PoolingTimer(timeout)
예제 #5
0
파일: booth.py 프로젝트: jpgreth/pibooth
 def __init__(self, timeout):
     State.__init__(self, 'finish')
     self.timer = PoolingTimer(timeout)
예제 #6
0
파일: booth.py 프로젝트: jpgreth/pibooth
 def __init__(self):
     State.__init__(self, 'print')
     self.timer = PoolingTimer(self.app.config.getfloat('PRINTER', 'printer_delay'))
     self.printed = False
예제 #7
0
파일: booth.py 프로젝트: jpgreth/pibooth
 def __init__(self):
     State.__init__(self, 'processing')
예제 #8
0
파일: booth.py 프로젝트: jpgreth/pibooth
 def __init__(self):
     State.__init__(self, 'capture')
     self.count = 0
예제 #9
0
 def __init__(self):
     State.__init__(self, 'wait')
     self.timer = PoolingTimer(self.app.config.getfloat('WINDOW', 'animate_delay'))
예제 #10
0
 def __init__(self):
     State.__init__(self, 'wait', 'choose')
예제 #11
0
 def __init__(self):
     State.__init__(self, 'capture', 'processing')
예제 #12
0
 def __init__(self, timeout):
     State.__init__(self, 'chosen', 'capture')
     self.timer = PoolingTimer(timeout)