Esempio n. 1
0
 def __init__(self, address):
     """
     device: 如果是 USB 连接,则为 adb devices 的返回结果;如果是模拟器,则为模拟器的控制 URL 。
     """
     BaseMixin.__init__(self)
     ShuatuMixin.__init__(self)
     DXCMixin.__init__(self)
     self.init_device(address)
Esempio n. 2
0
 def __init__(self, address, output_msg_fun: Callable[[dict], Any] = None):
     """
     device: 如果是 USB 连接,则为 adb devices 的返回结果;如果是模拟器,则为模拟器的控制 URL 。
     """
     BaseMixin.__init__(self)
     ShuatuMixin.__init__(self)
     DXCMixin.__init__(self)
     self.init_device(address)
     if output_msg_fun is not None:
         self.output_msg_fun = output_msg_fun  # 向外传输信息
 def __init__(self,
              address,
              account,
              auto_task=False,
              auto_policy=True,
              auto_goods=False,
              speedup=True):
     """
     device: 如果是 USB 连接,则为 adb devices 的返回结果;如果是模拟器,则为模拟器的控制 URL 。
     """
     BaseMixin.__init__(self)
     ShuatuMixin.__init__(self)
     DXCMixin.__init__(self)
     self.init(address, account)