本文整理匯總了Python中plugin_system.plugin_base.PluginBase.start方法的典型用法代碼示例。如果您正苦於以下問題:Python PluginBase.start方法的具體用法?Python PluginBase.start怎麽用?Python PluginBase.start使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類plugin_system.plugin_base.PluginBase
的用法示例。
在下文中一共展示了PluginBase.start方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: start
# 需要導入模塊: from plugin_system.plugin_base import PluginBase [as 別名]
# 或者: from plugin_system.plugin_base.PluginBase import start [as 別名]
def start(self, device_information):
self.mw.button_flash.hide()
PluginBase.start(self, device_information)
self.mw.set_tool_status_okay("-")
self.mw.set_uid_status_okay("-")
self.mw.set_flash_status_okay("-")
self.mw.set_value_normal('-')
self.mw.button_continue.hide()
示例2: start
# 需要導入模塊: from plugin_system.plugin_base import PluginBase [as 別名]
# 或者: from plugin_system.plugin_base.PluginBase import start [as 別名]
def start(self, device_information):
self.mw.button_flash.hide()
PluginBase.start(self, device_information)
self.show_device_information(device_information, clear_value=True)
self.is_flashing = False
self.flash_thread.start()
示例3: start
# 需要導入模塊: from plugin_system.plugin_base import PluginBase [as 別名]
# 或者: from plugin_system.plugin_base.PluginBase import start [as 別名]
def start(self, device_information):
self.mw.button_continue.hide()
PluginBase.start(self, device_information)
self.show_device_information(device_information, clear_value=True)