def configuration(self):
     config = Translator.configuration(self)
     get_attribute(self, 'multiplier', config, str)
     get_attribute(self, 'offset', config, str)
     return config
Exemple #2
0
 def configuration(self):
     config = Translator.configuration(self)
     get_attribute(self,'multiplier',config,str)
     get_attribute(self,'offset',config,str)
     return config
 def configure(self, config):
     Translator.configure(self, config)
     set_attribute(self, 'multiplier', 1.0, config, float)
     set_attribute(self, 'offset', 0.0, config, float)
Exemple #4
0
 def start(self):
     Translator.start(self)
     self._setup()
     return
Exemple #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)  
Exemple #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
Exemple #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
Exemple #8
0
 def start(self):
     Translator.start(self)
     self._setup()
     return
Exemple #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
Exemple #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