Пример #1
0
        public SignalPanelArgs(Signal signal, List<int> lvlShowed, bool PDMShowed)
        {
            charts = new List<Chart>();
            Name = signal.Name;

            Chart chart = ChartConstructor.Construct(signal);
            charts.Add(chart);

            foreach (int lvl in lvlShowed)
            {
                Chart chartWave = ChartConstructor.Construct(signal.GetWavelet(lvl), "Wavelet transfort level " + lvl.ToString());
                charts.Add(chartWave);
            }

            if (PDMShowed)
                charts.Add(ChartConstructor.Construct(signal.CurrentPDMData));
        }
Пример #2
0
        public SignalPanelArgs(Signal signal, List<int> lvlShowed)
        {
            charts = new List<Chart>();
            Name = signal.Name;

            Chart chart = ChartConstructor.Construct(signal);
            charts.Add(chart);

            wpfCharts = new List<System.Windows.Controls.DataVisualization.Charting.Chart>();
            System.Windows.Controls.DataVisualization.Charting.Chart wchart = ChartConstructor.WpfConstruct(signal);
            wpfCharts.Add(wchart);

            foreach (int lvl in lvlShowed)
            {
                Chart chartWave = ChartConstructor.Construct(signal.GetWavelet(lvl), "Wavelet transfort level " + lvl.ToString());
                charts.Add(chartWave);
            }
        }