def configuration(self): cd = CompositeNode.configuration(self) get_attribute(self, 'node_url', cd) if not self.is_remote(): for attr in PTYPE_MAP.get(self.parent.ptype)().supported_attrs(): get_attribute(self, attr, cd) return cd
def configuration(self): cd = CompositeNode.configuration(self) get_attribute( self, 'enable_local_view', cd, int ) # max num instances of Alarm allowed in cur AlarmsMsg object's list get_attribute(self, '__node_id__', cd, str) return cd
def configuration(self): cd = CompositeNode.configuration(self) get_attribute(self, 'node_url', cd) if not self.is_remote(): for attr in PTYPE_MAP.get(self.parent.ptype)().supported_attrs(): get_attribute(self, attr, cd) return cd
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'debug', config, as_onoff) get_attribute(self, 'host', config) self.__node_id__ = '120071' get_attribute(self, '__node_id__', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'address', config, str) get_attribute(self, 'line_handler', config, str) get_attribute(self, 'debug', config, str) get_attribute(self, 'proxy', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'register', config, str) get_attribute(self, 'read_only', config, str) get_attribute(self, 'debug', config, str) get_attribute(self, 'offset', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self,'id',config) get_attribute(self,'column',config,str) get_attribute(self,'spaces',config,str) set_attribute(self,'conversion',float,config,_name) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'debug', config, as_onoff) get_attribute(self, 'discover', config, str) get_attribute(self, 'discover_start', config, str) get_attribute(self, 'discover_stop', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'address', config, str) get_attribute(self, 'line_handler', config, str) get_attribute(self, 'debug', config, str) get_attribute(self, 'proxy', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'register', config, str) get_attribute(self, 'base', config, str) get_attribute(self, 'offset', config, str) get_attribute(self, 'multiplier', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'debug', config, as_onoff) get_attribute(self, 'host',config) self.__node_id__ = '120071' get_attribute(self, '__node_id__', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'password', config) #get_attribute(self, 'security_level', config) #get_attribute(self, 'password_enable', config) get_attribute(self, 'timeout', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, "debug", config, as_onoff) get_attribute(self, "discover", config, str) get_attribute(self, "discover_start", config, str) get_attribute(self, "discover_stop", config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'password', config) #get_attribute(self, 'security_level', config) #get_attribute(self, 'password_enable', config) get_attribute(self, 'timeout', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'register', config, str) get_attribute(self, 'read_only', config, str) get_attribute(self, 'debug', config, str) get_attribute(self, 'offset', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'ttl', cd) get_attribute(self, 'read_op', cd) get_attribute(self, 'read_params', cd) get_attribute(self, 'write_op', cd) get_attribute(self, 'write_params', cd) return cd
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, '__node_id__', config) get_attribute(self, 'source', config) get_attribute(self, 'device_link', config) get_attribute(self, 'discover_mode', config) get_attribute(self, 'bacnet_datatype', config) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, '__node_id__', config) get_attribute(self, 'source', config) get_attribute(self, 'device_link', config) get_attribute(self, 'discover_mode', config) get_attribute(self, 'bacnet_datatype', config) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'ttl', cd) get_attribute(self, 'read_op', cd) get_attribute(self, 'read_params', cd) get_attribute(self, 'write_op', cd) get_attribute(self, 'write_params', cd) return cd
def configuration(self): config = CompositeNode.configuration(self) config['port'] = config['parent'] get_attribute(self, 'id', config) get_attribute(self,'cache_life',config,str) get_attribute(self,'timeout',config,str) get_attribute(self,'patience',config,str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'url', config, str) get_attribute(self, 'user', config, str) get_attribute(self, 'password', config, str) get_attribute(self, 'spreadsheet', config, str) get_attribute(self, 'worksheet', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'ip', config, str) config['port'] = str(self.udp_port) get_attribute(self, 'debug', config, str) get_attribute(self, 'last_error', config, str) get_attribute(self, 'retries', config, str) get_attribute(self, 'report_timeouts', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'parameter',config, str) get_attribute(self, 'debug',config, str) get_attribute(self, 'position', config, str) get_attribute(self, 'description', config, str) get_attribute(self, 'ttl', config, str) get_attribute(self, 'readwrite', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'debug', config, as_onoff) get_attribute(self, 'Name', config, str) get_attribute(self, 'Type', config, str) self.__node_id__ = '120073' get_attribute(self, '__node_id__', config, str) config.update(self.soap_attributes) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'parameter', config, str) get_attribute(self, 'debug', config, str) get_attribute(self, 'position', config, str) get_attribute(self, 'description', config, str) get_attribute(self, 'ttl', config, str) get_attribute(self, 'readwrite', config, str) return config
def configuration( self ): config = CompositeNode.configuration( self ) get_attribute( self, 'debug', config ) get_attribute( self, 'override_defaultroute', config ) get_attribute( self, 'noipdefault', config ) get_attribute( self, 'mtu', config ) get_attribute( self, 'mru', config ) get_attribute( self, 'advanced_options', config ) return config
def configuration(self): cd = CompositeNode.configuration(self) get_attribute(self, 'discovered', cd, str) get_attribute(self, '__node_id__', cd) get_attribute(self, 'debug', cd, str) get_attribute(self, 'instance', cd, int) if self._parent_device.is_proxy(): ProxyAbstractClass.configuration(self, cd) return cd
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self,'debug', config, as_onoff) get_attribute(self,'Name',config, str) get_attribute(self,'Type', config, str) self.__node_id__ = '120073' get_attribute(self, '__node_id__', config, str) config.update(self.soap_attributes) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'debug', config) get_attribute(self, 'override_defaultroute', config) get_attribute(self, 'noipdefault', config) get_attribute(self, 'mtu', config) get_attribute(self, 'mru', config) get_attribute(self, 'advanced_options', config) return config
def configuration(self): cd = CompositeNode.configuration(self) get_attribute(self, 'discovered', cd, str) get_attribute(self, '__node_id__', cd) get_attribute(self, 'debug', cd, str) get_attribute(self, 'instance', cd, int) if self._parent_device.is_proxy(): ProxyAbstractClass.configuration(self, cd) return cd
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, '__node_id__', config) get_attribute(self, 'source', config) #get_attribute(self, 'default', config) get_attribute(self, 'link', config) get_attribute(self, 'bacnet_datatype', config) get_attribute(self, 'force', config) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, '__node_id__', config) get_attribute(self, 'source', config) #get_attribute(self, 'default', config) get_attribute(self, 'link', config) get_attribute(self, 'bacnet_datatype', config) get_attribute(self, 'force', config) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'debug', config, as_onoff) get_attribute(self, 'device_name',config) get_attribute(self, 'unit_number', config, str) get_attribute(self, 'controller_type', config, str) get_attribute(self, 'controller_version', config, str) get_attribute(self, '__node_id__', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'debug', config, as_onoff) get_attribute(self, 'post',config, str) get_attribute(self, 'server', config, str) get_attribute(self, 'action', config, str) get_attribute(self, 'ttl', config, str) self.__node_id__ = '120072' get_attribute(self, '__node_id__', config, str) return config
def configuration(self): cd = CompositeNode.configuration(self) get_attribute(self, 'discovered', cd, str) get_attribute(self, '__node_id__',cd) get_attribute(self, 'device_info', cd, str) get_attribute(self, 'instance', cd, int) get_attribute(self, 'debug', cd, int) if self.debug > 0: get_attribute(self, 'test_resp', cd, int) return cd
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'timeout', config, str) get_attribute(self, 'debug', config, str) get_attribute(self, 'interval_calculation', config, str) get_attribute(self, 'silent_interval_characters', config, str) get_attribute(self, 'silent_interval_absolute', config, str) get_attribute(self, 'retries', config, str) get_attribute(self, 'report_timeouts', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'debug', config, as_onoff) get_attribute(self, 'post', config, str) get_attribute(self, 'server', config, str) get_attribute(self, 'action', config, str) get_attribute(self, 'ttl', config, str) self.__node_id__ = '120072' get_attribute(self, '__node_id__', config, str) return config
def configuration(self): # Standard attributes. config = CompositeNode.configuration(self) config.update({'version':self.version, 'address':self.address}) buf = self.validate('2') for a in self.attrdict.keys(): if getattr(self.attrdict[a]): i = self.attrdict[a] config[a.name] = a.get(int(buf[i:i+2],16)) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'PID', config) get_attribute(self, 'description', config) get_attribute(self, 'format', config) get_attribute(self, 'properties', config) get_attribute(self, 'ttl', config, int) get_attribute(self, 'last_response', config, repr) get_attribute(self, 'scale', config, float) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'network', config, str) get_attribute(self, 'discover', config, str) get_attribute(self, 'discover_interval', config, str) get_attribute(self, 'debug', config, int) get_attribute(self, 'bcu_list', config, str) if self.debug: get_attribute(self, 'found_devices', config, str) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'PID', config) get_attribute(self, 'description', config) get_attribute(self, 'format', config) get_attribute(self, 'properties', config) get_attribute(self, 'ttl', config, int) get_attribute(self, 'last_response', config, repr) get_attribute(self, 'scale', config, float) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'timeout', config, str) get_attribute(self, 'debug', config, str) get_attribute(self, 'interval_calculation', config, str) get_attribute(self, 'silent_interval_characters', config, str) get_attribute(self, 'silent_interval_absolute', config, str) get_attribute(self, 'retries', config, str) get_attribute(self, 'report_timeouts', config, str) return config
def configuration( self ): config_dict = CompositeNode.configuration( self ) get_attribute( self, 'enabled', config_dict ) get_attribute( self, 'debug', config_dict ) get_attribute( self, 'period', config_dict ) get_attribute( self, 'fast_adjust_threshold', config_dict ) get_attribute( self, 'adjust_threshold', config_dict ) get_attribute( self, 'nudge_amount', config_dict ) get_attribute( self, 'bcu_date', config_dict ) get_attribute( self, 'bcu_time', config_dict ) return config_dict
def configuration(self): cd = CompositeNode.configuration(self) get_attribute(self, 'proxy', cd, str) get_attribute(self, '__node_id__',cd) get_attribute(self, 'device_info', cd, str) get_attribute(self, 'time_rp', cd, str) get_attribute(self, 'time_rpm', cd, str) get_attribute(self, 'time_wp', cd, str) get_attribute(self, 'time_wpm', cd, str) return cd
def configuration(self): cd = CompositeNode.configuration(self) get_attribute(self, 'proxy', cd, str) get_attribute(self, '__node_id__', cd) get_attribute(self, 'device_info', cd, str) get_attribute(self, 'time_rp', cd, str) get_attribute(self, 'time_rpm', cd, str) get_attribute(self, 'time_wp', cd, str) get_attribute(self, 'time_wpm', cd, str) return cd
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'mac_address', config, str) #mac address string # the following paramters are ignored get_attribute(self, 'parity', config, int_to_parity) get_attribute(self, 'flow_control', config, int_to_flowctl) get_attributes(self, ('baud', 'bits', 'stop_bits', 'debug', 'dump_cpl'), config, str) get_attribute(self, 'custom_baud', config, int) get_attribute(self, 'lock_directory', config) return config
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'mac_address', config, str) get_attribute(self, 'discovery_mode', config, str) get_attribute(self, 'timeout', config, str) get_attribute(self, 'debug', config, str) get_attribute(self, 'relay_node', config, str) try: self.status = self.get_status() except Exception, e: self.status = str(e)
def configuration(self): config = CompositeNode.configuration(self) get_attribute(self, 'debug_lvl', config) get_attribute(self, 'lan_address', config) get_attribute(self, 'id_number', config) get_attribute(self, 'description', config) get_attribute(self, 'proxy_lan_addr', config) get_attribute(self, 'proxy_obj_ref', config) get_attribute(self, '__node_id__', config) ActiveProxyAbstractClass.configuration(self, config) return config