From 465d76d0db5afb9f9c67e349014992a3b54856f1 Mon Sep 17 00:00:00 2001 From: YONGYE Date: Tue, 14 Oct 2025 11:12:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=BC=80=E5=A7=8B=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E5=BC=80=E5=A7=8B=E6=8C=89=E9=92=AE=E9=80=BB=E8=BE=91?= =?UTF-8?q?=E5=86=85=E9=83=A8=E4=B9=8B=E5=89=8D=E6=B8=85=E7=90=86=E6=89=80?= =?UTF-8?q?=E6=9C=89=E5=9B=BE=E8=A1=A8=E4=B8=AD=E7=9A=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MainWindow.xaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index a15c713..8b0e00b 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -90,9 +90,10 @@ public partial class MainWindow : Window if (!isDetecting) { // 开始检测 + // 清空之前图表数据 + chartManager.ClearAllCharts(); sensorManager.Start(); //chartManager.Start(); // 启动图表刷新 - //chartManager.Clear(); BtnSensorControl.Content = "检测确定"; isDetecting = true; }