Ejemplo n.º 1
0
        public void Count()
        {
            antenna = new Antenna()
            {
                NumberOfMeasurement = NumberOfMeasurement,
                TimeUnit = TimeUnit,
                RealSpeed = RealSpeed,
                AbstractSpeed = AbstractSpeed,
                SignalPeriod = SignalPeriod,
                BasicSignals = BasicSignals,
                SamplingFrequency = SamplingFrequency,
                BuffersLength = BuffersLength,
                ReportingPeriod = ReportingPeriod
            };

            OriginalList = antenna.GetOriginalDistance();
            CountedList = antenna.CountDistances();
            DiffrenceList = antenna.CountDiffrence(OriginalList, CountedList);

            DrawCharts(antenna);

            OnPropertyChanged(nameof(OriginalList));
            OnPropertyChanged(nameof(CountedList));
            OnPropertyChanged(nameof(DiffrenceList));
        }