This commit is contained in:
@@ -46,7 +46,7 @@ public class TestParameters
|
|||||||
public int MeasurementCount { get; set; } = 10;
|
public int MeasurementCount { get; set; } = 10;
|
||||||
[Range(5, 300)]
|
[Range(5, 300)]
|
||||||
public int IntervalSeconds { get; set; } = 30;
|
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 double PlatinumWireDiameter { get; set; } = 0.00006;
|
||||||
public string ReportOutputPath { get; set; } = "Reports\\";
|
public string ReportOutputPath { get; set; } = "Reports\\";
|
||||||
|
|
||||||
|
|||||||
@@ -304,7 +304,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.476979; // 默认值
|
||||||
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;
|
||||||
@@ -349,7 +349,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.476979) // 基线无效
|
||||||
{
|
{
|
||||||
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++)
|
||||||
|
|||||||
Reference in New Issue
Block a user