예제 #1
0
        public static MedicationEntryViewModel CreateTriggerEntry()
        {
            var dat = new MedicationViewModel { MediType = "StandigeMedikamente" };
            dat.Fields["Verordnetab"] = DateTime.Now.AddDays(-10);

            var mediEntry = new MedicationEntryViewModel
            {
                Medications =
                    new ObservableCollection<MedicationViewModel> { dat }
            };

            return mediEntry;
        }
예제 #2
0
        public static MedicationEntryViewModel CreateTriggerEntry()
        {
            var dat = new MedicationViewModel {
                MediType = "StandigeMedikamente"
            };

            dat.Fields["Verordnetab"] = DateTime.Now.AddDays(-10);

            var mediEntry = new MedicationEntryViewModel
            {
                Medications =
                    new ObservableCollection <MedicationViewModel> {
                    dat
                }
            };

            return(mediEntry);
        }