示例#1
0
    def configuration(self):
        config = ConfigurableNode.configuration(self)

        get_attribute(self, 'value', config, str)
        get_attribute(self, 'debug', config, str)
        get_attribute(self, '__node_id__', config)
        return config
示例#2
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     
     get_attribute(self, 'value',config, str)
     get_attribute(self, 'debug',config, str)
     get_attribute(self, '__node_id__', config)
     return config
示例#3
0
 def configuration(self):
     config = ConfigurableNode.configuration( self )
     get_attribute( self, 'enable', config )        
     get_attribute( self, 'user_id', config )        
     get_attribute( self, 'password', config )        
     get_attribute( self, 'local_ip', config )        
     get_attribute( self, 'client_ip', config )        
     get_attribute( self, 'debug', config )        
     return config
示例#4
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'enable', config)
     get_attribute(self, 'user_id', config)
     get_attribute(self, 'password', config)
     get_attribute(self, 'local_ip', config)
     get_attribute(self, 'client_ip', config)
     get_attribute(self, 'debug', config)
     return config
示例#5
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'output', config, as_node_url)
     get_attribute(self, 'input', config, as_node_url)
     get_attribute(self, 'period', config, str)
     get_attribute(self, 'asyncOK', config, str)
     get_attribute(self, 'debug', config, str)
     get_attribute(self, 'enabled', config, str)
     get_attribute(self, 'backoff_on_failure', config, str)
     get_attribute(self, 'conversion', config, str)
     return config
示例#6
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'message', config)
     get_attribute(self, 'subject', config)
     get_attribute(self, 'send_retries', config)
     get_attribute(self, 'enabled', config, str)
     get_attribute(self, 'prodnode', config, str)
     get_attribute(self, 'eventmodule', config, str)
     get_attribute(self, 'eventclass', config, str)
     get_attribute(self, 'debug', config, int)
     return config
示例#7
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'output', config, as_node_url)
     get_attribute(self, 'input', config, as_node_url)
     get_attribute(self, 'period', config, str)
     get_attribute(self, 'asyncOK', config, str)
     get_attribute(self, 'debug', config, str)
     get_attribute(self, 'enabled', config, str)
     get_attribute(self, 'backoff_on_failure', config, str)
     get_attribute(self, 'conversion', config, str)
     return config
示例#8
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'message', config)
     get_attribute(self, 'subject', config)
     get_attribute(self, 'send_retries', config)
     get_attribute(self, 'enabled', config, str)
     get_attribute(self, 'prodnode', config, str)
     get_attribute(self, 'eventmodule', config, str)
     get_attribute(self, 'eventclass', config, str)
     get_attribute(self, 'debug', config, int)
     return config
示例#9
0
 def configuration( self ):
     config_dict = ConfigurableNode.configuration( self )
     get_attribute( self, 'enable', config_dict )
     get_attribute( self, 'debug', config_dict )
     
     get_attribute( self, 'ddns_service', config_dict )
     get_attribute( self, 'ddns_acct', config_dict )
     get_attribute( self, 'ddns_pswd', config_dict )
     get_attribute( self, 'host_name', config_dict )
     map_from_attribute( self, 'period', config_dict, map_from_seconds )
     
     return config_dict
示例#10
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'off_text', config, str)
     get_attribute(self, 'on_text', config, str)
     get_attribute(self, 'auto_text', config, str)
     get_attribute(self, 'reverse_output', config, str)
     get_attribute(self, 'output', config, self.as_deferred_node)
     get_attribute(self, 'input', config, as_node_url)
     get_attribute(self, 'period', config, str)
     get_attribute(self, 'asyncOK', config, str)
     get_attribute(self, 'state', config, str)
     get_attribute(self, 'debug', config, str)
     get_attribute(self, 'enabled', config, str)
     get_attribute(self, 'min_on_time', config, str)
     get_attribute(self, 'min_off_time', config, str)
     return config
示例#11
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'off_text', config, str)
     get_attribute(self, 'on_text', config, str)
     get_attribute(self, 'auto_text', config, str)
     get_attribute(self, 'reverse_output', config, str)
     get_attribute(self, 'output', config, self.as_deferred_node)
     get_attribute(self, 'input', config, as_node_url)
     get_attribute(self, 'period', config, str)
     get_attribute(self, 'asyncOK', config, str)
     get_attribute(self, 'state', config, str)
     get_attribute(self, 'debug', config, str)
     get_attribute(self, 'enabled', config, str)
     get_attribute(self, 'min_on_time', config, str)
     get_attribute(self, 'min_off_time', config, str)
     return config
示例#12
0
 def configuration(self):
     self.debug_print('Reading configuration...', 0)
     config = ConfigurableNode.configuration(self)
     return config
示例#13
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'bit', config, str)
     return config
示例#14
0
 def configuration( self ):
     config_dict = ConfigurableNode.configuration( self )
     get_attribute( self, 'debug', config_dict )
     return config_dict
示例#15
0
 def configuration(self):
     cd = ConfigurableNode.configuration(self)
     get_attribute(self, 'www_file_path', cd, str)
     get_attribute(self, 'HTML_target_file', cd, str)
     return cd
示例#16
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'ion', config, as_node_url)
     get_attribute(self, 'divisor', config, str)
     return config
示例#17
0
 def configuration(self):
     cd = ConfigurableNode.configuration(self)
     get_attribute(self,'www_file_path',cd,str)
     get_attribute(self,'HTML_target_file',cd,str)
     return cd
示例#18
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, self.ION, config, as_node_url)
     get_attribute(self, self.MULTIPLIER, config)
     return config
示例#19
0
文件: dg50.py 项目: mcruse/monotone
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, self.ION, config, as_node_url)
     get_attribute(self, self.MULTIPLIER, config)
     return config
示例#20
0
文件: enx.py 项目: mcruse/monotone
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'bit', config, str)
     return config
示例#21
0
	def configuration(self):
		self.debug_print('Reading configuration...', 0)
		config = ConfigurableNode.configuration(self)
		return config
示例#22
0
 def configuration(self):
     config = ConfigurableNode.configuration(self)
     get_attribute(self, 'ion', config, as_node_url)
     get_attribute(self, 'divisor', config, str)
     return config