| | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public SimulationCalcuResultHelper(SimulationWorkingHelper workingHelper) |
| | | public SimulationCalcuResultHelper |
| | | ( |
| | | SimulationWorkingHelper workingHelper |
| | | ) |
| | | { |
| | | _workingHelper = workingHelper; |
| | | workingHelper.InitialEvent += () => Initial(); |
| | | Initial(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 初始化事件 |
| | | /// </summary> |
| | | public event Action InitialEvent; |
| | | |
| | | private SimulationWorkingHelper _workingHelper = null;//工况辅助类 |
| | | private Dictionary<string, HydroCalcuVisualResult> _dict;//计算结果可见字典 |
| | | |
| | | |
| | | //初始化 |
| | | private void Initial() |
| | | { |
| | | _dict = _workingHelper.CalcuResult?.GetVisualDict(); |
| | | this.InitialEvent?.Invoke(); |
| | | } |
| | | |
| | | /// <summary> |