From dfe6dd164735ab680db9c57cc7f6c9670c7dfc7c Mon Sep 17 00:00:00 2001 From: pandx Date: Thu, 13 Nov 2025 14:48:48 +0800 Subject: [PATCH] add codes. --- SamplingDialog.py | 2 +- mainwindow.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SamplingDialog.py b/SamplingDialog.py index d1fed93..3e35308 100644 --- a/SamplingDialog.py +++ b/SamplingDialog.py @@ -753,7 +753,7 @@ class CalibrationDialog(QDialog): print(f"top10_max 去除最大的数据后的平均值1:{mean_max}") mean_min = self.mean_without_min_optimized(result['top10_min']) print(f"top10_min 去除最大的数据后的平均值2:{mean_min}") - pp = mean_max - mean_min + pp = (mean_max - mean_min) / 100 if self.type_cb.currentIndex() == 2: self.value_labels[self.type_index].setText(str(round(pp, 6))) print(f"pp :{mean_max - mean_min}") diff --git a/mainwindow.py b/mainwindow.py index d01b090..5e68985 100644 --- a/mainwindow.py +++ b/mainwindow.py @@ -340,9 +340,9 @@ class SocketClientApp(QMainWindow): msg.setWindowTitle("软件版本信息") # 设置消息框的内容 - msg.setText("软件版本号:2.2\n" + msg.setText("软件版本号:2.3\n" "支持的分布式节点版本号:2.2以上\n" - "更新日期:2025-11-12") + "更新日期:2025-11-13") # 设置按钮 msg.setStandardButtons(QMessageBox.Ok)