This commit is contained in:
xyy
2026-05-29 18:35:36 +08:00
parent a888691151
commit 5e72a9aefa
4 changed files with 164 additions and 61 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.04;
public double PlatinumWireLength { get; set; } = 0.056; // 默认 5.6 cm
public double PlatinumWireDiameter { get; set; } = 0.00006;
public string ReportOutputPath { get; set; } = "Reports\\";
@@ -60,6 +60,18 @@ public class TestParameters
public CalibrationCoefficients CalibrationCoefficients { get; set; } = new();
// 可选:强制使用固定的物性值,便于测试和校准
public bool UseFixedAlpha { get; set; } = false;
public double FixedAlpha { get; set; } = 1.4e-7; // m^2/s
public bool UseFixedLambda { get; set; } = false;
public double FixedLambda { get; set; } = 0.606; // W/(m·K)
public double FitStartTime { get; set; } = 0.01; // 默认0.35秒,避开早期扰动
public double FitEndTime { get; set; } = 0.1;
}