Library/HydrEngineCSharp.dll | 补丁 | 查看 | 原始文档 | blame | 历史 | |
WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_ExportImport.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_出口_水体.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesign3DCtrl.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesignBaseCtrl.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowParas.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ctrlSectionBundleInfo.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Library/HydrEngineCSharp.dllBinary files differ
WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_ExportImport.cs
@@ -116,6 +116,7 @@ if (_sectionBundleInfo == null) return; CreateSectionStepCtrl(); _isHaveCreateWaterBody3d = false; DockStepParaCtrl(_ctrlSectionBundleInfo); if(_ctrlSectionBundleInfo != null) { @@ -133,7 +134,7 @@ if (_outflowParas == null) return; CreateOutflowStepCtrl(); _isHaveCreateWaterBody3d = false; DockStepParaCtrl(_ctrlSetOutflowParas); _ctrlSetOutflowParas.Isxml = true; InitilOutflowStepCtrl(this._stepTreeDockPanel.Step_ID_Section18_Full); WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_³ö¿Ú_Ë®Ìå.cs
@@ -281,15 +281,26 @@ { if(_outflowParas.LinkStyle == ViewModel.eOutflowLinkStyle.ç´çº¿åå¼§ && _outflowParas.ShapeStyle != ViewModel.eOutflowShapeStyle.ä¾§é¢åºå£_ç´çº¿è¿æ¥) { this._occDesign2dCtrl.Create2DWaterBody(pHydrGeomArcCurve); this._occDesign3dCtrl.Edit3DWaterBody(pHydrGeomArcCurve); if (!this._occDesign2dCtrl.Create2DWaterBody(pHydrGeomArcCurve)) { _isHaveCreateWaterBody3d = false; } if (this._occDesign3dCtrl.Edit3DWaterBody(pHydrGeomArcCurve).GetTipsId() != 1) { _isHaveCreateWaterBody3d = false; } this._occDesign3dCtrl.SetWaterBodyVisible(true); } else { this._occDesign2dCtrl.Create2DWaterBody(pHydrGeomCurve); this._occDesign3dCtrl.Edit3DWaterBody(pHydrGeomCurve); if (!this._occDesign2dCtrl.Create2DWaterBody(pHydrGeomCurve)) { _isHaveCreateWaterBody3d = false; } if (this._occDesign3dCtrl.Edit3DWaterBody(pHydrGeomCurve).GetTipsId() != 1) { _isHaveCreateWaterBody3d = false; } this._occDesign3dCtrl.SetWaterBodyVisible(true); } } @@ -298,14 +309,26 @@ _isHaveCreateWaterBody3d = true; if (_outflowParas.LinkStyle == ViewModel.eOutflowLinkStyle.ç´çº¿åå¼§ && _outflowParas.ShapeStyle != ViewModel.eOutflowShapeStyle.ä¾§é¢åºå£_ç´çº¿è¿æ¥) { this._occDesign2dCtrl.Create2DWaterBody(pHydrGeomArcCurve); this._occDesign3dCtrl.Create3DWaterBody(pHydrGeomArcCurve); if (!this._occDesign2dCtrl.Create2DWaterBody(pHydrGeomArcCurve)) { _isHaveCreateWaterBody3d = false; } if (this._occDesign3dCtrl.Create3DWaterBody(pHydrGeomArcCurve).GetTipsId() != 1) { _isHaveCreateWaterBody3d = false; } this._occDesign3dCtrl.SetWaterBodyVisible(true); } else { this._occDesign2dCtrl.Create2DWaterBody(pHydrGeomCurve); this._occDesign3dCtrl.Create3DWaterBody(pHydrGeomCurve); if (!this._occDesign2dCtrl.Create2DWaterBody(pHydrGeomCurve)) { _isHaveCreateWaterBody3d = false; } if (this._occDesign3dCtrl.Create3DWaterBody(pHydrGeomCurve).GetTipsId() != 1) { _isHaveCreateWaterBody3d = false; } this._occDesign3dCtrl.SetWaterBodyVisible(true); } } WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesign3DCtrl.cs
@@ -3,6 +3,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using HydrEngineCSharp; namespace DPumpHydr.WinFrmUI.Volute @@ -50,6 +51,10 @@ Invalidate(true); pDisplayView.FitAll3DViews(true); } if(theToolTips.GetTipsId() != 1) { MessageBox.Show(theToolTips.GetToolTips(), "å åæç¤º"); } } public void SetThicknessBodyVisible(bool isVisible) { WinFrmUI/DPumpHydr.WinFrmUI.Volute/Occ/OccDesignBaseCtrl.cs
@@ -411,7 +411,8 @@ } else { MessageBox.Show(theToolTips.GetToolTips(), "æç¤º"); pDisplayView.ClearTopoShape(TopoTypeDisplay.E2DMidCurve); MessageBox.Show(theToolTips.GetToolTips(), "2Dæç¤º"); return false; } } @@ -440,7 +441,8 @@ } else { MessageBox.Show(theToolTips.GetToolTips(), "æç¤º"); pDisplayView.ClearTopoShape(TopoTypeDisplay.E2DMidCurve); MessageBox.Show(theToolTips.GetToolTips(), "2Dæç¤º"); return false ; } } @@ -462,6 +464,7 @@ var tt = pDisplayView.buildWaterBody(theHydrProperties, pHydrGeomCurve); if (tt.GetTipsId() != 1) { MessageBox.Show(tt.GetToolTips(), "3Dæç¤º"); } Invalidate(true); pDisplayView.FitAll3DViews(true); @@ -484,6 +487,7 @@ var tt = pDisplayView.buildWaterBody(theHydrProperties, pHydrGeomArcCurve); if (tt.GetTipsId() != 1) { MessageBox.Show(tt.GetToolTips(), "3Dæç¤º"); } Invalidate(true); pDisplayView.FitAll3DViews(true); @@ -503,7 +507,9 @@ return null; if (tt.GetTipsId() != 1) { MessageBox.Show(tt.GetToolTips(), "æç¤º"); pDisplayView.ClearTopoShape(TopoTypeDisplay.EWaterBody); pDisplayView.FitAll3DViews(true); MessageBox.Show(tt.GetToolTips(), "3Dæç¤º"); } Invalidate(true); @@ -511,7 +517,7 @@ } public HydrEngineCSharp.ToolTips Edit3DWaterBody(HydrEngineCSharp.WaterBodyOuterArcParam pHydrGeomArcCurve) { { if (!this._is3D) return null; if (pDisplayView.hasBuildThicknessBody()) @@ -522,7 +528,9 @@ return null; if (tt.GetTipsId() != 1) { MessageBox.Show(tt.GetToolTips(), "æç¤º"); pDisplayView.ClearTopoShape(TopoTypeDisplay.EWaterBody); pDisplayView.FitAll3DViews(true); MessageBox.Show(tt.GetToolTips(), "3Dæç¤º"); } Invalidate(true); WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/ctrlSetOutflowParas.cs
@@ -201,17 +201,14 @@ else { comboBoxType.SelectedIndex = (int)_sharp_type; if (_isxml) { InitialOutflowStyle(); _isxml = false; } InitialOutflowStyle(); RefreshModel(); RefreshModel(); } if (_isxml) { _isxml = false; } return 1; } WinFrmUI/DPumpHydr.WinFrmUI.Volute/¶ÏÃæÉè¼Æ/ctrlSectionBundleInfo.cs
@@ -174,6 +174,7 @@ _sectionBundleInfo = sectionBundle_info; } bool _isxml = false; /// <summary> /// æ¾ç¤ºçé¢ /// </summary> @@ -186,6 +187,7 @@ ViewModel.GeomBaseInfo geom_info, DPumpHydr.ViewModel.eWizardStepDiretion step_direction, bool isRefreshModel = false) { _isxml = isRefreshModel; if (step_direction == DPumpHydr.ViewModel.eWizardStepDiretion.åé) { return; @@ -461,6 +463,10 @@ private void skyTextBoxæé¢VIIIy1_TextChanged(object sender, EventArgs e) { if (!_isxml) { return; } if (sender is SkyTextBox skytextBox) { string lastChar = skytextBox.Name[skytextBox.Name.Length - 1].ToString(); @@ -489,6 +495,10 @@ private void skyTextBoxæé¢VIIIy2_TextChanged(object sender, EventArgs e) { if (!_isxml) { return; } if (sender is SkyTextBox skytextBox) { string lastChar = skytextBox.Name[skytextBox.Name.Length - 1].ToString(); @@ -597,24 +607,6 @@ OnRefreshShape.Invoke(paras); } } private void mlBtnæ´æ¹æé¢è§åº¦_Click(object sender, EventArgs e) { //if (!RBtnæé¢å¯¹ç§°æ¢¯å½¢.Checked && !RBtnä¸å¯¹ç§°æ¢¯å½¢.Checked && !RBtnç©å½¢.Checked) //{ // MessageBox.Show("请å éæ©æé¢ç±»åï¼"); // return; //} //if (string.IsNullOrEmpty(skyTextBoxæé¢y18.Text) || string.IsNullOrEmpty(skyTextBoxæé¢r18.Text)) //{ // //skyLabelæç¤ºy2.Visible = false; // //skyLabelæç¤ºy1.Visible = false; // //skyLabely1.Visible = true; // //skyLabely2.Visible = true; // //MessageBox.Show("请å è¾å ¥y1ãy2ï¼"); // return; //} } private void RBtnæé¢å¯¹ç§°æ¢¯å½¢_CheckedChanged(object sender)