Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.sciChart = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 2:
                this.PolygonSeries = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;

            case 3:
                this.BallPolygon = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;

            case 4:
                this.LidarPoints = ((SciChart.Charting.Visuals.RenderableSeries.XyScatterRenderableSeries)(target));
                return;

            case 5:
                this.heatmapSeries = ((SciChart.Charting.Visuals.RenderableSeries.FastUniformHeatmapRenderableSeries)(target));
                return;

            case 6:
                this.ObjectsPolygonSeries = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.sciChart = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 2:
                this.PolygonSeries = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;

            case 3:
                this.RobotShapesSeries = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;

            case 4:
                this.RobotGhostSeries = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;

            case 5:
                this.BallPolygon = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;

            case 6:
                this.LidarPoints = ((SciChart.Charting.Visuals.RenderableSeries.XyScatterRenderableSeries)(target));
                return;

            case 7:
                this.heatmapSeries = ((SciChart.Charting.Visuals.RenderableSeries.FastUniformHeatmapRenderableSeries)(target));

            #line 40 "..\..\GlobalWorldMapDisplay.xaml"
                this.heatmapSeries.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.heatmapSeries_MouseLeftButtonUp);

            #line default
            #line hidden
                return;

            case 8:
                this.ObjectsPolygonSeries = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.sciChartSurface = ((SciChart.Charting.Visuals.SciChartSurface)(target));

            #line 13 "..\..\LocalWorldMapDisplay.xaml"
                this.sciChartSurface.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.sciChart_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 13 "..\..\LocalWorldMapDisplay.xaml"
                this.sciChartSurface.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.sciChart_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 2:
                this.PolygonTerrainSeries = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;

            case 3:
                this.heatmapSeries = ((SciChart.Charting.Visuals.RenderableSeries.FastUniformHeatmapRenderableSeries)(target));
                return;

            case 4:
                this.LidarPoints = ((SciChart.Charting.Visuals.RenderableSeries.XyScatterRenderableSeries)(target));
                return;

            case 5:
                this.LidarProcessedPoints = ((SciChart.Charting.Visuals.RenderableSeries.XyScatterRenderableSeries)(target));
                return;

            case 6:
                this.PolygonSeries = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;

            case 7:
                this.BallPoints = ((SciChart.Charting.Visuals.RenderableSeries.XyScatterRenderableSeries)(target));
                return;

            case 8:
                this.BallPolygon = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;

            case 9:
                this.ObjectsPolygonSeries = ((WpfWorldMapDisplay.PolygonRenderableSeries)(target));
                return;

            case 10:
                this.ObstaclePoints = ((SciChart.Charting.Visuals.RenderableSeries.XyScatterRenderableSeries)(target));
                return;

            case 11:
                this.LocalWorldMapTitle = ((SciChart.Charting.Visuals.Annotations.TextAnnotation)(target));
                return;

            case 12:
                this.AnnotRobotRole = ((SciChart.Charting.Visuals.Annotations.TextAnnotation)(target));
                return;

            case 13:
                this.AnnotationFond = ((SciChart.Charting.Visuals.Annotations.BoxAnnotation)(target));
                return;
            }
            this._contentLoaded = true;
        }