进行隐式等待和显示等待模式的切换 Switch between implicit waiting and display waiting modes.
(self, Time: int, RotationTime: int, ThrowException: bool)
| 59 | return response |
| 60 | |
| 61 | def StartShowWait(self, Time: int, RotationTime: int, ThrowException: bool): |
| 62 | """ |
| 63 | 进行隐式等待和显示等待模式的切换 |
| 64 | Switch between implicit waiting and display waiting modes. |
| 65 | """ |
| 66 | self.debug(rf"---- Enter the display waiting mode waiting time:{Time}s") |
| 67 | self.Show_Waiting = copy.deepcopy(self.Implicit_Waiting) |
| 68 | self.Show_Waiting_Frequency = copy.deepcopy(self.Implicit_Waiting_Frequency) |
| 69 | self.Show_Waiting_Throwing = copy.deepcopy(self.Implicit_Waiting_Throwing) |
| 70 | |
| 71 | self.Implicit_Waiting = Time |
| 72 | self.Implicit_Waiting_Frequency = RotationTime |
| 73 | self.Implicit_Waiting_Throwing = ThrowException |
| 74 | |
| 75 | def EndShowWait(self): |
| 76 | """ |