点击开始检测开始按钮逻辑内部之前清理所有图表中的数据
This commit is contained in:
parent
48f2e586e8
commit
465d76d0db
|
|
@ -90,9 +90,10 @@ public partial class MainWindow : Window
|
||||||
if (!isDetecting)
|
if (!isDetecting)
|
||||||
{
|
{
|
||||||
// 开始检测
|
// 开始检测
|
||||||
|
// 清空之前图表数据
|
||||||
|
chartManager.ClearAllCharts();
|
||||||
sensorManager.Start();
|
sensorManager.Start();
|
||||||
//chartManager.Start(); // 启动图表刷新
|
//chartManager.Start(); // 启动图表刷新
|
||||||
//chartManager.Clear();
|
|
||||||
BtnSensorControl.Content = "检测确定";
|
BtnSensorControl.Content = "检测确定";
|
||||||
isDetecting = true;
|
isDetecting = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user