lixiaojun
2024-11-11 7446de6efb5d353c1fa6a92b01a0f56685a4ee06
核心界面数据流转更新
已修改2个文件
9 ■■■■ 文件已修改
Hydro/Yw.Hydro.Core/ParseHelper.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/XhsProjectSimulationCorePage.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Hydro/Yw.Hydro.Core/ParseHelper.cs
@@ -419,6 +419,10 @@
                                        var point2dList = curveol.CurveData.Select(x => new Yw.Geometry.Point2d(x.X, x.Y)).ToList();
                                        var ptCurveOL = new Yw.Geometry.CubicSpline2d(point2dList);
                                        valveModel.ValveSetting = ptCurveOL.GetPointY(valve.OpeningDegree).ToString();
                                        if (valve.OpeningDegree > 0)
                                        {
                                            valveModel.LinkStatus = Yw.EPAnet.ValveStatus.None;
                                        }
                                    }
                                }
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/XhsProjectSimulationCorePage.cs
@@ -1044,7 +1044,7 @@
        #region 水力计算
        #region 前提条件
        #region 工况
        //显示工况计算窗体
@@ -1088,6 +1088,9 @@
                if (_calcuResult.Succeed)
                {
                    GetCalcuResultList(false);
                    UpdateVisualViewModelCalcuProperty();
                    UpdateVisualListCtrl();
                    UpdateSelectedProperty();
                    await _bimfaceCtrl?.SetLogicCalcuCustomLabels(_calcuResult);
                    TipFormHelper.ShowSucceed("计算成功!");
                    var codes = _hydroInfo.Pumps.Select(x => x.Code).ToList();