another try

This commit is contained in:
2024-07-19 16:32:31 +08:00
parent 73230a7133
commit 2f782c9693
3 changed files with 58 additions and 45 deletions

View File

@ -619,6 +619,12 @@ class App(customtkinter.CTk):
tkinter.messagebox.showerror(title="参数错误", message="请检查对应参数是否填写正确!", )
def pre_warning(self):
if self.tabview.get() == 'Durable Action':
df = DataFrame(durable_data_current)
df.to_excel(durable_data_current_xlsx, index=False)
df = DataFrame(durable_data_current_max)
df.to_excel(durable_data_current_max_xlsx, index=False)
if tkinter.messagebox.askyesno(title="开始运行", message="确认机器已按照测试规范更新固件,并提按照测试机型前修改好工程?"):
pass
else: