def detail(self, args=None): """ show one component detail """ try: self.my_ow = OneWireNetwork(args[0], self._log) except OneWireException as err: raise HelperError(err.value) return self.my_ow.show_component_detail(args[1])
def ds2408(self, args=None): """ show ds2408 components """ try: self.my_ow = OneWireNetwork(args[0], self._log) except OneWireException as err: raise HelperError(err.value) return self.my_ow.show_ds2408_detail()
def all(self, args=None): """ show all components """ try: self.my_ow = OneWireNetwork(args[0], self._log) except OneWireException as err: raise HelperError(err.value) return self.my_ow.show_all_components()