From 4764ca789baea6b391977625d055d9eeabb3afd2 Mon Sep 17 00:00:00 2001 From: xyy <544939200@qq.com> Date: Fri, 5 Jun 2026 19:18:29 +0800 Subject: [PATCH] --- Models/AppConfig.cs | 2 +- ViewModels/D7896ViewModel.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Models/AppConfig.cs b/Models/AppConfig.cs index 535ca5f..4f362ea 100644 --- a/Models/AppConfig.cs +++ b/Models/AppConfig.cs @@ -46,7 +46,7 @@ public class TestParameters public int MeasurementCount { get; set; } = 10; [Range(5, 300)] public int IntervalSeconds { get; set; } = 30; - public double PlatinumWireLength { get; set; } = 0.056; // 默认 5.6 cm + public double PlatinumWireLength { get; set; } = 0.04; // 默认 5.6 cm public double PlatinumWireDiameter { get; set; } = 0.00006; public string ReportOutputPath { get; set; } = "Reports\\"; diff --git a/ViewModels/D7896ViewModel.cs b/ViewModels/D7896ViewModel.cs index a2ef4aa..01635b0 100644 --- a/ViewModels/D7896ViewModel.cs +++ b/ViewModels/D7896ViewModel.cs @@ -304,7 +304,7 @@ public partial class D7896ViewModel : ObservableObject double[] ustdBase = await _th1963Ustd.FetchBatchAsync(); double[] uptBase = await _th1953Ustd.FetchBatchAsync(); - double dynamicR0 = 2.45; // 默认值 + double dynamicR0 = 1.476979; // 默认值 if (ustdBase != null && ustdBase.Length > 0 && uptBase != null && uptBase.Length > 0) { double sumR0 = 0; int cnt = 0; @@ -349,7 +349,7 @@ public partial class D7896ViewModel : ObservableObject double[] ustd = await _th1963Ustd.FetchBatchAsync(); double[] upt = await _th1953Ustd.FetchBatchAsync(); - if (dynamicR0 == 2.45) // 基线无效 + if (dynamicR0 == 1.476979) // 基线无效 { double sumR0 = 0; int cnt = 0; for (int j = 2; j < Math.Min(6, ustd.Length); j++)