| | |
| | | using NetTaste; |
| | | |
| | | namespace HStation.WinFrmUI |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | public partial class ProjectResultShowPanel : DevExpress.XtraEditors.XtraUserControl, IWizardPage<ImportXhsProjectViewModel> |
| | | { |
| | |
| | | public async void InitialPage(ImportXhsProjectViewModel vm) |
| | | { |
| | | _vm = vm; |
| | | this.txtAddress.EditValue = _vm.Address; |
| | | this.txtAddress.Text = _vm.Address; |
| | | this.mapSetSimpleMarkerContainer1.LoadCompletedEvent += MapSetSimpleMarkerContainer1_LoadCompletedEvent; |
| | | await this.mapSetSimpleMarkerContainer1.InitialContainer(); |
| | | xhsProjectInfoCtrl1.SetBindingData(_vm); |
| | | await xhsProjectHydroInfoCtrl1.SetBindingData(_vm.ProjectID ?? 0); |
| | | await xhsProjectBimfaceInfoCtrl1.SetBindingData(_vm.ProjectID ?? 0); |
| | | this.xhsProjectSimulationAnalysisCtrl1.SetBindingData(vm.RevitModel); |
| | | } |
| | | |
| | | //地图加载完成 |