lixiaojun
2024-11-04 865ca7b89bde6b1793641c8421fc466695d48f6a
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/XhsProjectSimulationCorePage.cs
@@ -556,8 +556,17 @@
            {
                return;
            }
            var allCalcuResultList = GetCalcuResultList();
            var parterListCtrl = GetParterListCtrl();
            parterListCtrl.SetBindingData(_hydroInfo, GetCalcuResultList());
            parterListCtrl.SetBindingData(_hydroInfo, allCalcuResultList);
            if (allCalcuResultList == null || allCalcuResultList.Count < 1)
            {
                parterListCtrl.SetNormalView();
            }
            else
            {
                parterListCtrl.SetCalcuView();
            }
            this.controlContainerBottom.Controls.Clear();
            this.controlContainerBottom.Controls.Add(parterListCtrl);
            this.docPnlBottom.Visibility = DevExpress.XtraBars.Docking.DockVisibility.Visible;
@@ -619,8 +628,22 @@
                {
                    return;
                }
                var dlg = new HydroWaterboxBulkSetListDlg();
                var dlg = new SetHydroWaterboxListDlg();
                dlg.SetBindingData(_hydroInfo);
                dlg.HydroClickEvent += async (obj) =>
                {
                    if (obj == null)
                    {
                        return;
                    }
                    _parter = obj;
                    await _bimfaceCtrl?.ZoomAndSelectComponent(obj.Code);
                    ShowProperty();
                };
                dlg.HydroChangedEvent += (obj) =>
                {
                };
                dlg.ShowDialog();
            };
            //连接节点
@@ -636,7 +659,22 @@
                {
                    return;
                }
                var dlg = new HydroBluntheadBulkSetListDlg();
                var dlg = new SetHydroBluntheadListDlg();
                dlg.SetBindingData(_hydroInfo);
                dlg.HydroClickEvent += async (obj) =>
                {
                    if (obj == null)
                    {
                        return;
                    }
                    _parter = obj;
                    await _bimfaceCtrl?.ZoomAndSelectComponent(obj.Code);
                    ShowProperty();
                };
                dlg.HydroChangedEvent += (obj) =>
                {
                };
                dlg.ShowDialog();
            };
            //弯头
@@ -646,8 +684,22 @@
                {
                    return;
                }
                var dlg = new HydroElbowBulkSetListDlg();
                var dlg = new SetHydroElbowListDlg();
                dlg.SetBindingData(_hydroInfo);
                dlg.HydroClickEvent += async (obj) =>
                {
                    if (obj == null)
                    {
                        return;
                    }
                    _parter = obj;
                    await _bimfaceCtrl?.ZoomAndSelectComponent(obj.Code);
                    ShowProperty();
                };
                dlg.HydroChangedEvent += (obj) =>
                {
                };
                dlg.ShowDialog();
            };
            //三通
@@ -657,7 +709,7 @@
                {
                    return;
                }
                var dlg = new HydroThreelinkBulkSetListDlg();
                var dlg = new SetHydroThreelinkListDlg();
                dlg.SetBindingData(_hydroInfo);
                dlg.ShowDialog();
            };
@@ -668,7 +720,7 @@
                {
                    return;
                }
                var dlg = new HydroFourlinkBulkSetListDlg();
                var dlg = new SetHydroFourlinkListDlg();
                dlg.SetBindingData(_hydroInfo);
                dlg.ShowDialog();
            };