修改Calman灰阶中结果图显示、修改UI主题样式应用
This commit is contained in:
@@ -394,8 +394,7 @@ def send_fix_pattern(self: "PQAutomationApp", mode):
|
||||
# 测量数据
|
||||
if mode == "custom":
|
||||
result = []
|
||||
self.ca.set_Display(1)
|
||||
tcp, duv, lv, X, Y, Z = self.ca.readAllDisplay()
|
||||
tcp, duv, lv, X, Y, Z = self.read_ca_tcp_duv()
|
||||
|
||||
if should_log_detail:
|
||||
self.log_gui.log(
|
||||
@@ -403,8 +402,7 @@ def send_fix_pattern(self: "PQAutomationApp", mode):
|
||||
f"X={X:.4f}, Y={Y:.4f}, Z={Z:.4f}"
|
||||
, level="success")
|
||||
|
||||
self.ca.set_Display(8)
|
||||
lambda_, Pe, lv, X, Y, Z = self.ca.readAllDisplay()
|
||||
lambda_, Pe, lv, X, Y, Z = self.read_ca_lambda_pe()
|
||||
|
||||
if should_log_detail:
|
||||
self.log_gui.log(
|
||||
@@ -449,9 +447,7 @@ def send_fix_pattern(self: "PQAutomationApp", mode):
|
||||
self.log_gui.log(f"第 {i+1} 行实时结果写入失败: {str(e)}", level="error")
|
||||
|
||||
else:
|
||||
self.ca.set_xyLv_Display()
|
||||
|
||||
x, y, lv, X, Y, Z = self.ca.readAllDisplay()
|
||||
x, y, lv, X, Y, Z = self.read_ca_xyLv()
|
||||
results.append([x, y, lv, X, Y, Z])
|
||||
|
||||
if should_log_detail:
|
||||
|
||||
Reference in New Issue
Block a user