def configure(self,config): ChangedPointGroup.configure(self,config) set_attribute(self,'type','',config) set_attribute(self,'address',REQUIRED,config,int) for point in self.points: self.meta['types'].append(point['type']) return
def configure(self, config): ChangedPointGroup.configure(self, config) set_attribute(self, 'type', '', config) set_attribute(self, 'address', REQUIRED, config, int) for point in self.points: self.meta['types'].append(point['type']) return
def configuration(self): config = ChangedPointGroup.configuration(self) get_attribute(self,'type',config) get_attribute(self,'address',config,str) return config
def __init__(self): ChangedPointGroup.__init__(self) self.meta['types'] = []
def configuration(self): config = ChangedPointGroup.configuration(self) get_attribute(self, 'type', config) get_attribute(self, 'address', config, str) return config