Ejemplo n.º 1
0
 def configure(self, config):
     set_attribute(self, 'trigger',REQUIRED,config)
     SynchronizedExporter.configure(self, config)
Ejemplo n.º 2
0
 def configuration(self):
     config = SynchronizedExporter.configuration(self)
     get_attribute(self,'trigger',config,str)
     return config
Ejemplo n.º 3
0
 def go(self,end_time):
     self._time_keeper.start_time = end_time - self._seconds
     SynchronizedExporter.go(self,end_time)
Ejemplo n.º 4
0
 def __init__(self):
     SynchronizedExporter.__init__(self)
     self._sid = None
     self.evt = None #dil - debug
Ejemplo n.º 5
0
 def start(self):
     if not self.hours:
         raise EConfiguration('hours must be > 0')
     self._seconds = self.hours * 60 * 60
     SynchronizedExporter.start(self)
Ejemplo n.º 6
0
 def configuration(self):
     config = SynchronizedExporter.configuration(self)
     get_attribute(self,'hours',config,str)
     return config
Ejemplo n.º 7
0
 def configure(self,config):
     SynchronizedExporter.configure(self,config)
     set_attribute(self,'hours',REQUIRED,config,float)
Ejemplo n.º 8
0
 def configure(self, config):
     set_attribute(self, 'trigger', REQUIRED, config)
     SynchronizedExporter.configure(self, config)
Ejemplo n.º 9
0
 def __init__(self):
     SynchronizedExporter.__init__(self)
     self._sid = None
     self.evt = None  #dil - debug