From 0a7989934b6d561e32ae61d3af16cbf773074da2 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 20 十二月 2024 10:55:17 +0800 Subject: [PATCH] 修复报错 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/12-report/02-helper/SimulationWorkingReportCtrl.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/12-report/02-helper/SimulationWorkingReportCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/12-report/02-helper/SimulationWorkingReportCtrl.cs index 39d14ce..4469731 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/12-report/02-helper/SimulationWorkingReportCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/12-report/02-helper/SimulationWorkingReportCtrl.cs @@ -142,7 +142,7 @@ } private const string _tempFoler = "workingImageTemp"; - private const string _pumpAnalyImageFileName = "pump_analy.png"; + private const string _energyAnalyImageFileName = "energy_analy.png"; private const string _lossCurveImageFileName = "loss_curve.png"; private const string _energyInputImageFileName = "energy_input.png"; private const string _energyLossImageFileName = "energy_loss.png"; @@ -216,6 +216,8 @@ { vm.Working.Name = "褰撳墠璁$畻宸ュ喌"; } + vm.Working.EnergyAnalyImagePath = GetImageFilePath(_energyAnalyImageFileName); + _workingChart.ExportToImage(vm.Working.EnergyAnalyImagePath); vm.Working.LossCurveImagePath = GetImageFilePath(_lossCurveImageFileName); _lossCurve.ExportToImage(vm.Working.LossCurveImagePath); vm.Working.EnergyInputImagePath = GetImageFilePath(_energyInputImageFileName); -- Gitblit v1.9.3