修改Calman灰阶中结果图显示、修改UI主题样式应用
This commit is contained in:
@@ -171,7 +171,7 @@ def _build_ld_result_row(test_item, pattern_label, value, x="--", y="--"):
|
||||
|
||||
def _measure_ld_row(self: "PQAutomationApp", test_item, pattern_label):
|
||||
"""读取一次 CA410 数据并包装为表格行。"""
|
||||
x, y, lv, _X, _Y, _Z = self.ca.readAllDisplay()
|
||||
x, y, lv, _X, _Y, _Z = self.read_ca_xyLv()
|
||||
if lv is None:
|
||||
raise RuntimeError(f"{pattern_label} 采集失败")
|
||||
return _build_ld_result_row(test_item, pattern_label, lv, x, y), lv
|
||||
@@ -549,7 +549,7 @@ def measure_ld_luminance(self: "PQAutomationApp"):
|
||||
|
||||
def measure():
|
||||
try:
|
||||
x, y, lv, _X, _Y, _Z = self.ca.readAllDisplay()
|
||||
x, y, lv, _X, _Y, _Z = self.read_ca_xyLv()
|
||||
except Exception as e:
|
||||
self._dispatch_ui(self.log_gui.log, f"采集异常: {str(e)}")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user