diff --git a/CapMachine.Wpf/Services/PPCService.cs b/CapMachine.Wpf/Services/PPCService.cs index 570a20e..4ac1cde 100644 --- a/CapMachine.Wpf/Services/PPCService.cs +++ b/CapMachine.Wpf/Services/PPCService.cs @@ -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}"); } } diff --git a/CapMachine.Wpf/TagConfig/SysTags.json b/CapMachine.Wpf/TagConfig/SysTags.json index 2568314..bbe6a23 100644 --- a/CapMachine.Wpf/TagConfig/SysTags.json +++ b/CapMachine.Wpf/TagConfig/SysTags.json @@ -1398,4 +1398,5 @@ "BlockIndex": 0 } } -] \ No newline at end of file +] + \ No newline at end of file