From 630b88ea44380933602ae73b725b3772fc105c35 Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期一, 23 十二月 2024 17:11:15 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0

---
 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