def changed(self, what): Converter.changed(self, what) if self.type is self.PROGRESS and len(self.downstream_elements): if not self.source.event and self.downstream_elements[0].visible: self.downstream_elements[0].visible = False elif self.source.event and not self.downstream_elements[0].visible: self.downstream_elements[0].visible = True
def show_hide(self, configElement=None): Converter.changed(self, (self.CHANGED_ALL,))
def forceChanged(self, configElement=None): if self.LastRotorPos != config.misc.lastrotorposition.value: Converter.changed(self, (self.CHANGED_ALL,))
def changed(self, what): if what[0] is self.CHANGED_SPECIFIC: Converter.changed(self, what) elif what[0] is self.CHANGED_POLL: self.downstream_elements.changed(what)
def changed(self, what): Converter.changed(self, (self.CHANGED_POLL, ))
def changed(self, what): Converter.changed(self, (self.CHANGED_POLL,))
def changed(self, what): if what[0] != self.CHANGED_SPECIFIC or what[1] == self.type: Converter.changed(self, what)
def changed(self, what): if what[0] is self.CHANGED_SPECIFIC: Converter.changed(self, what) elif what[0] is self.CHANGED_POLL: self.downstream_elements.changed(what)
def changed(self, what): if what[0] != self.CHANGED_SPECIFIC or what[1] == self.type: Converter.changed(self, what)
def show_hide(self, configElement=None): Converter.changed(self, (self.CHANGED_ALL, ))
def forceChanged(self, configElement=None): if self.LastRotorPos != config.misc.lastrotorposition.value: Converter.changed(self, (self.CHANGED_ALL, ))
def changed(self, what): Converter.changed(self, what)
def changed(self, what): if what[0] != self.CHANGED_SPECIFIC or what[1] == self.type: pondebug("changed - tipo [" + str(self.type) + "]" + "-" + str(what), self.type) Converter.changed(self, what)