Exemplo n.º 1
0
 def configuration(self):
     config = Translator.configuration(self)
     get_attribute(self, 'multiplier', config, str)
     get_attribute(self, 'offset', config, str)
     return config
Exemplo n.º 2
0
 def configuration(self):
     config = Translator.configuration(self)
     get_attribute(self,'multiplier',config,str)
     get_attribute(self,'offset',config,str)
     return config
Exemplo n.º 3
0
 def configure(self, config):
     Translator.configure(self, config)
     set_attribute(self, 'multiplier', 1.0, config, float)
     set_attribute(self, 'offset', 0.0, config, float)
Exemplo n.º 4
0
 def start(self):
     Translator.start(self)
     self._setup()
     return
Exemplo n.º 5
0
 def configure(self,config):        
     Translator.configure(self,config)
     set_attribute(self,'multiplier',1.0,config,float)        
     set_attribute(self,'offset',0.0,config,float)  
Exemplo n.º 6
0
 def configuration(self):
     config = Translator.configuration(self)
     get_attribute(self, 'activation', config, str)
     get_attribute(self, 'deactivation', config, str)
     get_attribute(self, 'intial_in_band', config, str)
     return config
Exemplo n.º 7
0
 def configure(self, config):
     Translator.configure(self, config)
     set_attribute(self, 'activation', REQUIRED, config, float)
     set_attribute(self, 'deactivation', REQUIRED, config, float)
     set_attribute(self, 'intial_in_band', 0, config, int)
     return
Exemplo n.º 8
0
 def start(self):
     Translator.start(self)
     self._setup()
     return
Exemplo n.º 9
0
 def configuration(self):
     config = Translator.configuration(self)
     get_attribute(self, 'activation', config, str)
     get_attribute(self, 'deactivation', config, str)
     get_attribute(self, 'intial_in_band', config, str)
     return config
Exemplo n.º 10
0
 def configure(self, config):
     Translator.configure(self, config)
     set_attribute(self, 'activation', REQUIRED, config, float)
     set_attribute(self, 'deactivation', REQUIRED, config, float)
     set_attribute(self, 'intial_in_band', 0, config, int)
     return