Shuxia Ning
2024-12-03 518af2feba1c07629417010c72c1e16bfdcd4b08
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/09-energy/SimulationSingleWorkingEnergyCtrl.cs
@@ -19,7 +19,7 @@
        {
            InitializeComponent();
            this.layoutControl1.SetupLayoutControl();
            this.hydroPumpRunStatusListCtrl1.SelectedChangedEvent += HydroPumpRunStatusListCtrl1_SelectedChangedEvent;
            this.hydroPumpListStateViewCtrl1.SelectedChangedEvent += HydroPumpRunStatusListCtrl1_SelectedChangedEvent;
        }
        private Yw.Model.HydroModelInfo _hydroInfo = null;//水力信息
@@ -62,7 +62,7 @@
            _hydroInfo = hydroInfo;
            _allCalcuResultVisualDict = allCalcuResultVisualDict;
            this.hydroEnergyTotalViewCtrl1.SetBindingData(hydroInfo, allCalcuResultVisualDict);
            this.hydroPumpRunStatusListCtrl1.SetBindingData(hydroInfo);
            this.hydroPumpListStateViewCtrl1.SetBindingData(hydroInfo);
        }
        //泵选择改变
@@ -98,7 +98,7 @@
                        this.txtE.EditValue = calcuResult.CalcuE.HasValue ? $"{Math.Round(calcuResult.CalcuE.Value, 1)}%" : null;
                    }
                    var matching = AssetsMatchingParasHelper.Create(_hydroInfo, pump, _allCalcuResultVisualDict.Values.ToList());
                    this.singlePumpCalcCtrl1.SetBindindData(matching);
                    //this.singlePumpCalcCtrl1.SetBindindData(matching);
                }
            }