| | |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | using Yw.DiagramFile; |
| | | using Yw.Model; |
| | | using Yw.Vmo; |
| | | |
| | |
| | | this.generalOkAndCancelCtrl1.OkEvent += GeneralOkAndCancelCtrl1_OkEvent; |
| | | } |
| | | |
| | | |
| | | |
| | | public event Action<SimulationWorkingReportViewModel> ReloadDataEvent; |
| | | |
| | | /// <summary> |
| | |
| | | HydroWorkingVmo working, |
| | | HydroCalcuResult calcuResult, |
| | | HydroVisualInfo visual |
| | | ) |
| | | ) |
| | | { |
| | | this.simulationWorkingReportCtrl1.SetBindingData(project, hydroInfo, allMonitorList, working, calcuResult, visual); |
| | | } |
| | |
| | | this.ReloadDataEvent?.Invoke(vm); |
| | | this.DialogResult = DialogResult.OK; |
| | | this.Close(); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |