Exemple #1
0
 public override void UpdateDateTimeMinMax()
 {
     if (SelectedParameter == WeatherType.ParameterEnum.Observation)
     {
         DateTimeViewModel.UpdateDateTimeMinMax(DateTimeViewModel.DefaultDateTimeMin, DateTime.Now);
     }
     else
     {
         DateTimeViewModel.UpdateDateTimeMinMax(DateTimeViewModel.DefaultDateTimeMin,
                                                DateTimeViewModel.DefaultDateTimeMax);
     }
 }
Exemple #2
0
        public override void CreateDateTimeViewModel()
        {
            var dateTimeInputModel = Model.CreateDateTimeInputModel();

            DateTimeViewModel = new DateTimeViewModel(dateTimeInputModel);
        }