优化AI图像显示,添加发送图片到UCD
This commit is contained in:
@@ -11,8 +11,7 @@ import matplotlib.pyplot as plt
|
||||
from app_version import APP_NAME, APP_VERSION, get_app_title
|
||||
from drivers.UCD323_Function import UCDController
|
||||
from app.pq.pq_config import PQConfig
|
||||
from app.pq.pq_result import PQResult, PQResultStore
|
||||
from app.views.pq_debug_panel import PQDebugPanel
|
||||
from app.pq.pq_result import PQResultStore
|
||||
from app.export import (
|
||||
save_result_images as _save_result_images_impl,
|
||||
export_excel_report as _export_excel_report_impl,
|
||||
@@ -459,7 +458,6 @@ class PQAutomationApp:
|
||||
|
||||
if hasattr(self, "log_gui"):
|
||||
tab_names = ["屏模组测试", "SDR测试", "HDR"]
|
||||
self.log_gui.log(f"已切换到 {tab_names[target_tab]} 信号格式", level="success")
|
||||
except Exception as e:
|
||||
if hasattr(self, "log_gui"):
|
||||
self.log_gui.log(f"切换信号格式失败: {str(e)}", level="error")
|
||||
@@ -619,7 +617,6 @@ class PQAutomationApp:
|
||||
self.testing = False
|
||||
self.log_gui.log("=" * 50, level="separator")
|
||||
self.log_gui.log("正在停止测试...", level="info")
|
||||
self.log_gui.log("=" * 50, level="separator")
|
||||
self.stop_btn.config(state=tk.DISABLED)
|
||||
self.status_var.set("正在停止测试,请稍候...")
|
||||
self.root.update()
|
||||
@@ -707,7 +704,6 @@ class PQAutomationApp:
|
||||
self._disable_debug_panel()
|
||||
self.log_gui.log("=" * 50, level="separator")
|
||||
self.log_gui.log("测试已停止,所有数据已清空", level="success")
|
||||
self.log_gui.log("=" * 50, level="separator")
|
||||
messagebox.showinfo(
|
||||
"测试已停止",
|
||||
"测试已停止,本次测试数据已清空。\n\n可以重新开始新的测试。",
|
||||
@@ -761,7 +757,6 @@ class PQAutomationApp:
|
||||
# 3) 成功提示
|
||||
log("=" * 50, level="separator")
|
||||
log(f"测试结果已保存到目录: {result_dir}", level="success")
|
||||
log("=" * 50, level="separator")
|
||||
messagebox.showinfo("成功", f"测试结果已保存到目录:\n{result_dir}")
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user