From 75d94057704e7296d596c29eca2006062c534bc5 Mon Sep 17 00:00:00 2001 From: xyy <544939200@qq.com> Date: Fri, 12 Jun 2026 16:30:29 +0800 Subject: [PATCH] --- ViewModels/D7896ViewModel.cs | 2 +- Window1.xaml | 2 +- Window1.xaml.cs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ViewModels/D7896ViewModel.cs b/ViewModels/D7896ViewModel.cs index c37426a..70ed561 100644 --- a/ViewModels/D7896ViewModel.cs +++ b/ViewModels/D7896ViewModel.cs @@ -444,7 +444,7 @@ public partial class D7896ViewModel : ObservableObject // 测量间隔(即使舍弃也等待,让样品恢复) if (validCount < requiredCount && !_stopRequested && attemptCount < maxAttempts) { - try { await Task.Delay(_config.TestParameters.IntervalSeconds * 1000, _testCts.Token); } catch (OperationCanceledException) { break; } + try { await Task.Delay(_config.TestParameters.IntervalSeconds * 200, _testCts.Token); } catch (OperationCanceledException) { break; } } } diff --git a/Window1.xaml b/Window1.xaml index 5719259..db1ef6f 100644 --- a/Window1.xaml +++ b/Window1.xaml @@ -16,7 +16,7 @@