예제 #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
파일: deadband.py 프로젝트: mcruse/monotone
 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