Compare commits

...

2 Commits

Author SHA1 Message Date
xyy
8419aaaccd 2026-06-05 19:20:01 +08:00
xyy
4764ca789b 2026-06-05 19:18:29 +08:00
2 changed files with 5 additions and 5 deletions

View File

@@ -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\\";
@@ -91,6 +91,6 @@ public class CalibrationCoefficients
public ushort PressureProtection { get; set; }
public ushort TemperatureCoefficient { get; set; }
public ushort ResistanceCoefficient { get; set; }
public double ThermalConductivityCorrection { get; set; } = 39;//蒸馏水 比热率修正
public double ThermalDiffusivityCorrection { get; set; } = 0.5;//导热率修正
public double ThermalConductivityCorrection { get; set; } = 37;//蒸馏水 比热率修正
public double ThermalDiffusivityCorrection { get; set; } = 0.45;//导热率修正
}

View File

@@ -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++)