注释了systags,没有更改任何逻辑

This commit is contained in:
2026-04-15 21:31:37 +08:00
parent b8978be8c1
commit a47ed5b817
2 changed files with 6 additions and 5 deletions

View File

@@ -375,7 +375,7 @@ namespace CapMachine.Wpf.Services
} }
if (iErr == 0) if (iErr == 0)
Superheat.PVModel.EngValue = InhTempTag.PVModel.EngValue - (te - 273.15); Superheat.PVModel.EngValue = Math.Abs(InhTempTag.PVModel.EngValue - (te - 273.15));
else else
Superheat.PVModel.EngValue = 0; 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); IRefProp64.SATPdll(ref p1, x, ref kph, ref te1, ref Dl, ref Dv, xliq, xvap, ref iErr, ref herr, ref herrLen);
} }
if (iErr == 0) if (iErr == 0)
Subcool.PVModel.EngValue = TxvFrTempTag.PVModel.EngValue - (te1 - 273.15); Subcool.PVModel.EngValue = Math.Abs(TxvFrTempTag.PVModel.EngValue - (te1 - 273.15));
else else
Subcool.PVModel.EngValue = 0; Subcool.PVModel.EngValue = 0;
@@ -492,14 +492,14 @@ namespace CapMachine.Wpf.Services
{ {
if (!string.IsNullOrWhiteSpace(thermoErr)) if (!string.IsNullOrWhiteSpace(thermoErr))
{ {
Logger?.Warn($"六个物性结果计算警告: {thermoErr}"); //Logger?.Warn($"六个物性结果计算警告: {thermoErr}");
} }
} }
else else
{ {
if (!string.IsNullOrWhiteSpace(thermoErr)) if (!string.IsNullOrWhiteSpace(thermoErr))
{ {
Logger?.Error($"六个物性结果计算失败: {thermoErr}"); //Logger?.Error($"六个物性结果计算失败: {thermoErr}");
} }
} }

View File

@@ -1398,4 +1398,5 @@
"BlockIndex": 0 "BlockIndex": 0
} }
} }
] ]