From 28a7344a9f352624c9f44cc3fcb38d7226d5a754 Mon Sep 17 00:00:00 2001 From: qin <a@163.com> Date: 星期三, 19 三月 2025 09:10:02 +0800 Subject: [PATCH] 优化IBox接口请求 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/00-core/06-mark/SimulationMarkHelper.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/00-core/06-mark/SimulationMarkHelper.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/00-core/06-mark/SimulationMarkHelper.cs index 8a1270d..41faccb 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/00-core/06-mark/SimulationMarkHelper.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/00-core/06-mark/SimulationMarkHelper.cs @@ -4,20 +4,22 @@ namespace HStation.WinFrmUI { /// <summary> - /// + /// 姘村姏妯℃嫙鏍囨敞杈呭姪绫� /// </summary> public class SimulationMarkHelper { /// <summary> /// /// </summary> - public SimulationMarkHelper(SimulationVisualListHelper visualListHelper, ISimulationMarkView view) + public SimulationMarkHelper(SimulationVisualListHelper visualListHelper, SimulationCalcuResultHelper calcuResultHelper, ISimulationMarkView view) { _visualListHelper = visualListHelper; + _calcuResultHelper = calcuResultHelper; _views = new List<ISimulationMarkView>() { view }; } private SimulationVisualListHelper _visualListHelper = null;//鍙鍒楄〃杈呭姪绫� + private SimulationCalcuResultHelper _calcuResultHelper = null;//璁$畻缁撴灉杈呭姪绫� private List<ISimulationMarkView> _views = null;//瑙嗗浘鍒楄〃 /// <summary> @@ -69,7 +71,7 @@ { if (_results == null) { - _results = HydroMarkHelper.GetResultList(_visualListHelper.HydroInfo, this.Sets); + _results = HydroMarkHelper.GetResultList(_visualListHelper.HydroInfo, this.Sets, _calcuResultHelper.GetVisualDict()); if (_results == null) { _results = new List<HydroMarkResultViewModel>(); @@ -122,7 +124,7 @@ { return; } - var result = HydroMarkHelper.GetResult(visual, this.Sets); + var result = HydroMarkHelper.GetResult(visual, this.Sets, _calcuResultHelper.GetVisualDict()); if (result == null) { return; -- Gitblit v1.9.3