csv导入和导出的问题

排量配置的问题
物性参数回差值配置的问题
This commit is contained in:
2026-04-30 11:35:27 +08:00
parent 74bf47ee62
commit 802348a743
15 changed files with 457 additions and 229 deletions

View File

@@ -19,6 +19,18 @@ namespace CapMachine.Wpf.PPCalculation
private static volatile bool _rpInitialized;
private static string _rpFluidFile = string.Empty;
private double _h3TempOffset_C = -10.0;
public void SetH3TempOffset_C(double offsetC)
{
if (double.IsNaN(offsetC) || double.IsInfinity(offsetC))
{
return;
}
_h3TempOffset_C = offsetC;
}
/// <summary>
/// 构造函数。
/// </summary>
@@ -924,7 +936,8 @@ namespace CapMachine.Wpf.PPCalculation
}
double tSatC = tSatK - 273.15;
txvFrTempForH3_C = tSatC - 10.0;
double offsetC = _h3TempOffset_C;
txvFrTempForH3_C = tSatC + offsetC;
return true;
}