This commit is contained in:
@@ -38,7 +38,7 @@ public partial class D7896ViewModel : ObservableObject
|
|||||||
private const double StandardResistor = 1.0;
|
private const double StandardResistor = 1.0;
|
||||||
|
|
||||||
// 铂丝电阻温度系数 (纯铂)
|
// 铂丝电阻温度系数 (纯铂)
|
||||||
private const double AlphaPt = 0.00385; // /°C
|
private const double AlphaPt = 0.0040; // /°C
|
||||||
|
|
||||||
// 加热功率 Q 计算相关
|
// 加热功率 Q 计算相关
|
||||||
private double _heatingCurrent; // 实际加热电流平均值
|
private double _heatingCurrent; // 实际加热电流平均值
|
||||||
@@ -436,7 +436,7 @@ public partial class D7896ViewModel : ObservableObject
|
|||||||
// 测量间隔(即使舍弃也等待,让样品恢复)
|
// 测量间隔(即使舍弃也等待,让样品恢复)
|
||||||
if (validCount < requiredCount && !_stopRequested && attemptCount < maxAttempts)
|
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; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user