MCPcopy Create free account
hub / github.com/a943512/PyAibote / StartShowWait

Method StartShowWait

PyAibote/AndroidBotModel/AndroidLoadWait.py:43–55  ·  view source on GitHub ↗

进行隐式等待和显示等待模式的切换 Switch between implicit waiting and display waiting modes.

(self, Time: int, RotationTime: int, ThrowException: bool)

Source from the content-addressed store, hash-verified

41 return response
42
43 def StartShowWait(self, Time: int, RotationTime: int, ThrowException: bool):
44 """
45 进行隐式等待和显示等待模式的切换
46 Switch between implicit waiting and display waiting modes.
47 """
48 self.debug(rf"---- Enter the display waiting mode waiting time:{Time}s")
49 self.Show_Waiting = copy.deepcopy(self.Implicit_Waiting)
50 self.Show_Waiting_Frequency = copy.deepcopy(self.Implicit_Waiting_Frequency)
51 self.Show_Waiting_Throwing = copy.deepcopy(self.Implicit_Waiting_Throwing)
52
53 self.Implicit_Waiting = Time
54 self.Implicit_Waiting_Frequency = RotationTime
55 self.Implicit_Waiting_Throwing = ThrowException
56
57 def EndShowWait(self):
58 """

Callers

nothing calls this directly

Calls 1

debugMethod · 0.45

Tested by

no test coverage detected