From 93f5c18553c036768ef6202547eeb899511fd50a Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期五, 25 十月 2024 11:16:54 +0800
Subject: [PATCH] 修改阀门匹配逻辑

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/03-valve/01-valvesinglematching/ValveSingleMatchingForm.cs |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/03-valve/01-valvesinglematching/ValveSingleMatchingForm.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/03-valve/01-valvesinglematching/ValveSingleMatchingForm.cs
index ecbb915..1625512 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/03-valve/01-valvesinglematching/ValveSingleMatchingForm.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/03-valve/01-valvesinglematching/ValveSingleMatchingForm.cs
@@ -110,11 +110,6 @@
             this.gridControl1.DataSource = _allPhartList;
         }
 
-        //鏇茬嚎鍒楄〃閫夋嫨椤瑰垏鎹簨浠�
-        private async void gridView1_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e)
-        {
-        }
-
         //鏌ョ湅鏇茬嚎
         private async void gridView1_RowCellClick(object sender, DevExpress.XtraGrid.Views.Grid.RowCellClickEventArgs e)
         {
@@ -127,10 +122,10 @@
                     if (vmo != null)
                     {
                         _pumpMatchingViewModel.MatchingChartDbId = vm.ID.ToString();
-                        var graph_qh = vmo.Diagram.GraphList.Find(x => x.GraphType == HStation.PhartRelation.eGraphType.ValveQL);
-                        if (graph_qh != null)
+                        var graph_ql = vmo.Diagram.GraphList.Find(x => x.GraphType == HStation.PhartRelation.eGraphType.ValveQL);
+                        if (graph_ql != null)
                         {
-                            var points_qh = PhartPerformCurveHelper.GetFeatPointList(graph_qh.GraphType, graph_qh.GeometryInfo, 100, null);
+                            var points_qh = PhartPerformCurveHelper.GetFeatPointList(graph_ql.GraphType, graph_ql.GeometryInfo, 100, null);
                             _pumpMatchingViewModel.MatchingCurveQL = new List<CurvePointMatchingViewModel>();
                             foreach (var item in points_qh)
                             {

--
Gitblit v1.9.3