| | |
| | | // MessageBox.Show("您还没有完成定义参数!请定义完成后在进行导出!(至少完成第三步)"); |
| | | // return; |
| | | //} |
| | | var currentStepID = this._stepTreeDockPanel.CurrentStepID; |
| | | if (_hdrBaseInfo == null) |
| | | { |
| | | var currentStepID = this._stepTreeDockPanel.CurrentStepID; |
| | | if (currentStepID == this._stepTreeDockPanel.Step_ID_Hdr_Base_Info) |
| | | { |
| | | if (!SaveParaStep1()) |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | #region 暂时需要导出目前页面的值,并没有进行判断,测试使用 |
| | | if (currentStepID == this._stepTreeDockPanel.Step_ID_Hdr_Base_Info) |
| | | { |
| | | if (!SaveParaStep1()) |
| | | return ; |
| | | } |
| | | else if (currentStepID == this._stepTreeDockPanel.Step_ID_Section18_Full) |
| | | { |
| | | if (!SaveParaStep2()) |
| | | return ; |
| | | } |
| | | else if (currentStepID == this._stepTreeDockPanel.Step_ID_Outflow_Paras) |
| | | { |
| | | if (!SaveParaStep3()) |
| | | return ; |
| | | } |
| | | #endregion |
| | | SaveFileDialog dlg = new SaveFileDialog(); |
| | | dlg.Title = "导出蜗壳信息"; |
| | | dlg.FileName = "蜗壳信息.xml"; |
| | |
| | | } |
| | | |
| | | _ctrlSectionBundleInfo.ShowPage(_hdrBaseInfo, _geomBaseInfo, |
| | | DPumpHydr.ViewModel.eWizardStepDiretion.前进); |
| | | DPumpHydr.ViewModel.eWizardStepDiretion.前进,true); |
| | | _ctrlSectionBundleInfo.RefreshAllSectPara(_sectionBundleInfo); |
| | | RefreshSectShapeWhole18(_sectionBundleInfo); |
| | | } |