进行隐式等待和显示等待模式的切换 Switch between implicit waiting and display waiting modes.
(self, Time: int, RotationTime: int, ThrowException: bool)
| 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 | """ |