private void DebugInit()
        {
            //    左发动机	右发动机	发动机	大气机数据	惯导飞控	位移	
            //着陆姿态A	着陆姿态B	角速度	过载	告警信号A	告警信号B
            //1. SetPanel
            ChartPanel[] chartPanels = new ChartPanel[]{
                new ChartPanel(){ PanelID = "A", PanelName="左发动机" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "B", PanelName="右发动机" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "C", PanelName="发动机" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "D", PanelName="大气机数据" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "E", PanelName="惯导飞控" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "F", PanelName="位移" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "G", PanelName="着陆姿态A" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "H", PanelName="着陆姿态B" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "I", PanelName="角速度" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "J", PanelName="过载" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "K", PanelName="告警信号A" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
                new ChartPanel(){ PanelID = "L", PanelName="告警信号B" , 
                    ParameterIDs = new string[]{
                        "Hp","Tt","Pt"
                    }
                },
            };

            foreach (var panel in chartPanels)
            {
                this.m_panelViewItems.Add(new PanelViewModelItem(panel));
            }

            //2. currentPanel
            this.SelectedPanelIndex = 0;

            this.Group1 = new FlightAnalysisChartGroupViewModel()
            {
                Serie1Definition = new SerieDefinitionViewModel() { ParameterID = "Hp" }
            };
            this.Group1.DataSerie = new FlightAnalysisChartSerieViewModel();
            var serie1 = this.Group1.DataSerie;
            serie1.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 1,
                Value = 3
            });
            serie1.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 2,
                Value = 4
            });
            serie1.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 3,
                Value = 2
            });
            serie1.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 4,
                Value = 1
            });
            serie1.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 5,
                Value = 5
            });
            serie1.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 6,
                Value = 3
            });

            this.Group2 = new FlightAnalysisChartGroupViewModel()
            {
                Serie1Definition = new SerieDefinitionViewModel() { ParameterID = "Tt" }
            };
            this.Group2.DataSerie = new FlightAnalysisChartSerieViewModel();
            var serie2 = this.Group2.DataSerie;
            serie2.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 1,
                Value = 3
            });
            serie2.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 2,
                Value = 4
            });
            serie2.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 3,
                Value = 2
            });
            serie2.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 4,
                Value = 1
            });
            serie2.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 5,
                Value = 5
            });
            serie2.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 6,
                Value = 3
            });

            this.Group3 = new FlightAnalysisChartGroupViewModel()
            {
                Serie1Definition = new SerieDefinitionViewModel() { ParameterID = "Pt" }
            };
            this.Group3.DataSerie = new FlightAnalysisChartSerieViewModel();
            var serie3 = this.Group3.DataSerie;
            serie3.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 1,
                Value = 3
            });
            serie3.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 2,
                Value = 4
            });
            serie3.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 3,
                Value = 2
            });
            serie3.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 4,
                Value = 1
            });
            serie3.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 5,
                Value = 5
            });
            serie3.Add(new AircraftDataAnalysisModel1.WinRT.MyControl.SimpleDataPoint()
            {
                Second = 6,
                Value = 3
            });
        }
 public PanelViewModelItem(FlightDataEntitiesRT.Charts.ChartPanel panel)
 {
     this.m_panel = panel;
 }