Beispiel #1
0
        public override async Task OnNavigatedToAsync(object parameter, NavigationMode mode, IDictionary <string, object> state)
        {
            if (_measurementManager.SelectedMeasurementMethod == null)
            {
                EventAggregator
                .GetEvent <ResetMeasurement>()
                .Publish(null);
            }

            UpdateNavigationCommands();

            if (parameter is MeasurementCalibrationViewModel)
            {
                await MeasurementMethodViewModel.SetNextElement();
            }
        }
Beispiel #2
0
        protected override async Task <bool> OnNext()
        {
            await MeasurementMethodViewModel.SetNextElement();

            return(await base.OnNext());
        }