internal void AddSession(ProfileSession profileSession) { _surfaceProfileChartController = new SurfaceProfileChartController(); _surfaceProfileChartController.OnProfileGraphClicked += OnProfileGraphClicked; _surfaceProfileChartController.InvisibleZonesChanged += InvokeInvisibleZonesChanged; _surfaceProfileChartController.ProfileRemoved += InvokeProfileRemoved; _surfaceProfileChartController.SelectedProfileChanged += InvokeSelectedProfileChanged; _surfaceProfileChartController.IntersectionLinesDrawing += InvokeIntersectionLinesDrawing; _surfaceProfileChartController.SetSession(profileSession); SurfaceProfileChart surfaceProfileChart = _surfaceProfileChartController.CreateProfileChart(profileSession.ObserverHeight); View.AddNewTab(surfaceProfileChart, profileSession.SessionId); }
internal void SetChart(SurfaceProfileChart currentChart) { _surfaceProfileChartController = _surfaceProfileChartController.GetCurrentController(currentChart, this); }
internal MilSpaceProfileGraphsController() { _surfaceProfileChartController = new SurfaceProfileChartController(); _surfaceProfileChartController.OnProfileGraphClicked += OnProfileGraphClicked; }