This commit is contained in:
xyy
2026-06-03 20:38:16 +08:00
parent 70da9f7c6c
commit 9a3cfff6d8

View File

@@ -38,7 +38,7 @@ public partial class D7896ViewModel : ObservableObject
private const double StandardResistor = 1.0;
// 铂丝电阻温度系数 (纯铂)
private const double AlphaPt = 0.00385; // /°C
private const double AlphaPt = 0.0040; // /°C
// 加热功率 Q 计算相关
private double _heatingCurrent; // 实际加热电流平均值
@@ -436,7 +436,7 @@ public partial class D7896ViewModel : ObservableObject
// 测量间隔(即使舍弃也等待,让样品恢复)
if (validCount < requiredCount && !_stopRequested && attemptCount < maxAttempts)
{
try { await Task.Delay(_config.TestParameters.IntervalSeconds * 500, _testCts.Token); } catch (OperationCanceledException) { break; }
try { await Task.Delay(_config.TestParameters.IntervalSeconds * 1000, _testCts.Token); } catch (OperationCanceledException) { break; }
}
}