注释了systags,没有更改任何逻辑
This commit is contained in:
@@ -375,7 +375,7 @@ namespace CapMachine.Wpf.Services
|
||||
}
|
||||
|
||||
if (iErr == 0)
|
||||
Superheat.PVModel.EngValue = InhTempTag.PVModel.EngValue - (te - 273.15);
|
||||
Superheat.PVModel.EngValue = Math.Abs(InhTempTag.PVModel.EngValue - (te - 273.15));
|
||||
else
|
||||
Superheat.PVModel.EngValue = 0;
|
||||
|
||||
@@ -385,7 +385,7 @@ namespace CapMachine.Wpf.Services
|
||||
IRefProp64.SATPdll(ref p1, x, ref kph, ref te1, ref Dl, ref Dv, xliq, xvap, ref iErr, ref herr, ref herrLen);
|
||||
}
|
||||
if (iErr == 0)
|
||||
Subcool.PVModel.EngValue = TxvFrTempTag.PVModel.EngValue - (te1 - 273.15);
|
||||
Subcool.PVModel.EngValue = Math.Abs(TxvFrTempTag.PVModel.EngValue - (te1 - 273.15));
|
||||
else
|
||||
Subcool.PVModel.EngValue = 0;
|
||||
|
||||
@@ -492,14 +492,14 @@ namespace CapMachine.Wpf.Services
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(thermoErr))
|
||||
{
|
||||
Logger?.Warn($"六个物性结果计算警告: {thermoErr}");
|
||||
//Logger?.Warn($"六个物性结果计算警告: {thermoErr}");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(thermoErr))
|
||||
{
|
||||
Logger?.Error($"六个物性结果计算失败: {thermoErr}");
|
||||
//Logger?.Error($"六个物性结果计算失败: {thermoErr}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1399,3 +1399,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user