This commit is contained in:
@@ -91,7 +91,7 @@ namespace MembranePoreTester.ViewModels
|
||||
|
||||
private async void AutoCollectTimer_Tick(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsActive) return;
|
||||
//if (!IsActive) return;
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
@@ -79,12 +79,12 @@ namespace MembranePoreTester.Views
|
||||
if (isPoreDistributionActive)
|
||||
{
|
||||
// 切换到孔分布时,清空之前的数据
|
||||
selectedStation.PoreDistributionVM.ClearData();
|
||||
//selectedStation.PoreDistributionVM.ClearData();
|
||||
}
|
||||
else
|
||||
{
|
||||
// 离开孔分布界面时,停止自动采集
|
||||
selectedStation.PoreDistributionVM.StopCollecting();
|
||||
//selectedStation.PoreDistributionVM.StopCollecting();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace MembranePoreTester.Views
|
||||
if (!this.IsVisible)
|
||||
{
|
||||
// 离开孔分布界面时,停止自动采集
|
||||
vm.StopCollecting();
|
||||
//vm.StopCollecting();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user