From 16a7e7fdf31029d4a4ad758c66912d23af6cad70 Mon Sep 17 00:00:00 2001 From: Tyrone CT Date: Tue, 7 Apr 2026 22:29:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=886=E4=B8=AA=E7=89=A9=E6=80=A7?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CapMachine.Wpf/CapMachine.Wpf.csproj | 3 +++ CapMachine.Wpf/Services/PPCService.cs | 28 +++++++++++++-------------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/CapMachine.Wpf/CapMachine.Wpf.csproj b/CapMachine.Wpf/CapMachine.Wpf.csproj index 1fcae89..6ebc24b 100644 --- a/CapMachine.Wpf/CapMachine.Wpf.csproj +++ b/CapMachine.Wpf/CapMachine.Wpf.csproj @@ -746,6 +746,9 @@ PreserveNewest + + PreserveNewest + PreserveNewest diff --git a/CapMachine.Wpf/Services/PPCService.cs b/CapMachine.Wpf/Services/PPCService.cs index de5ce05..f004db8 100644 --- a/CapMachine.Wpf/Services/PPCService.cs +++ b/CapMachine.Wpf/Services/PPCService.cs @@ -448,20 +448,20 @@ namespace CapMachine.Wpf.Services // 处理 err2 } - if (TryUpdateThermodynamicSixResults(out var thermoErr)) - { - if (!string.IsNullOrWhiteSpace(thermoErr)) - { - Logger?.Error($"六个物性结果计算警告: {thermoErr}"); - } - } - else - { - if (!string.IsNullOrWhiteSpace(thermoErr)) - { - Logger?.Error($"六个物性结果计算失败: {thermoErr}"); - } - } + //if (TryUpdateThermodynamicSixResults(out var thermoErr)) + //{ + // if (!string.IsNullOrWhiteSpace(thermoErr)) + // { + // Logger?.Error($"六个物性结果计算警告: {thermoErr}"); + // } + //} + //else + //{ + // if (!string.IsNullOrWhiteSpace(thermoErr)) + // { + // Logger?.Error($"六个物性结果计算失败: {thermoErr}"); + // } + //} } catch (Exception ex)