This commit is contained in:
xyy
2026-06-04 16:56:22 +08:00
parent d236877078
commit 39037644f1

View File

@@ -303,7 +303,7 @@ public partial class D7896ViewModel : ObservableObject
double[] ustdBase = await _th1963Ustd.FetchBatchAsync(); double[] ustdBase = await _th1963Ustd.FetchBatchAsync();
double[] uptBase = await _th1953Ustd.FetchBatchAsync(); double[] uptBase = await _th1953Ustd.FetchBatchAsync();
double dynamicR0 = 2.45; // 默认值 double dynamicR0 = 1.49; // 默认值
if (ustdBase != null && ustdBase.Length > 0 && uptBase != null && uptBase.Length > 0) if (ustdBase != null && ustdBase.Length > 0 && uptBase != null && uptBase.Length > 0)
{ {
double sumR0 = 0; int cnt = 0; double sumR0 = 0; int cnt = 0;
@@ -348,7 +348,7 @@ public partial class D7896ViewModel : ObservableObject
double[] ustd = await _th1963Ustd.FetchBatchAsync(); double[] ustd = await _th1963Ustd.FetchBatchAsync();
double[] upt = await _th1953Ustd.FetchBatchAsync(); double[] upt = await _th1953Ustd.FetchBatchAsync();
if (dynamicR0 == 2.45) // 基线无效 if (dynamicR0 == 1.49) // 基线无效
{ {
double sumR0 = 0; int cnt = 0; double sumR0 = 0; int cnt = 0;
for (int j = 2; j < Math.Min(6, ustd.Length); j++) for (int j = 2; j < Math.Min(6, ustd.Length); j++)