示例#1
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)
示例#2
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
示例#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)  
示例#4
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