コード例 #1
0
 def configuration(self):
     config = Translator.configuration(self)
     get_attribute(self, 'multiplier', config, str)
     get_attribute(self, 'offset', config, str)
     return config
コード例 #2
0
ファイル: linear_adjustor.py プロジェクト: mcruse/monotone
 def configuration(self):
     config = Translator.configuration(self)
     get_attribute(self,'multiplier',config,str)
     get_attribute(self,'offset',config,str)
     return config
コード例 #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 start(self):
     Translator.start(self)
     self._setup()
     return
コード例 #5
0
ファイル: linear_adjustor.py プロジェクト: mcruse/monotone
 def configure(self,config):        
     Translator.configure(self,config)
     set_attribute(self,'multiplier',1.0,config,float)        
     set_attribute(self,'offset',0.0,config,float)  
コード例 #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
コード例 #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
コード例 #8
0
ファイル: deadband.py プロジェクト: mcruse/monotone
 def start(self):
     Translator.start(self)
     self._setup()
     return
コード例 #9
0
ファイル: deadband.py プロジェクト: mcruse/monotone
 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
コード例 #10
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