调试更改

This commit is contained in:
2026-03-18 12:18:26 +08:00
parent e51bfe21e0
commit 9b28bf6499
7 changed files with 44 additions and 43 deletions

View File

@@ -306,7 +306,7 @@ namespace CapMachine.Wpf.Services
}
if (iErr == 0)
Superheat.EngPvValue = InhTempTag.EngPvValue - (te - 273.15);
Superheat.EngPvValue =Math.Abs(InhTempTag.EngPvValue - (te - 273.15)) ;
else
Superheat.EngPvValue = 0;
@@ -316,7 +316,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.EngPvValue = TxvFrTempTag.EngPvValue - (te1 - 273.15);
Subcool.EngPvValue = Math.Abs(TxvFrTempTag.EngPvValue - (te1 - 273.15));
else
Subcool.EngPvValue = 0;