Пример #1
0
 public AssessmentVM()
 {
     PredictionAndRealFalls = PredictionAndRealFallsVM.Instance;
     CurrentModel           = new ManageFallPredictionModel();
     Assessments            = new ObservableCollection <Assessment>(CurrentModel.AllAssessments());
     // FallPredictions = CurrentModel.AllFallPrediction();
     Assessments.CollectionChanged += Assessment_CollectionChanged;
 }
Пример #2
0
 public FallReportVM()
 {
     PredictionAndRealFalls = PredictionAndRealFallsVM.Instance;
     CurrentModel           = new ManageFallReportModel();
     Reports = new ObservableCollection <Report>(CurrentModel.AllFallReports());
     Add     = new AddReportCommand(this);
     Reports.CollectionChanged += FallReports_CollectionChanged;
 }
 public FallPredictionVM()
 {
     PredictionAndRealFalls = PredictionAndRealFallsVM.Instance;
     CurrentModel           = new ManageFallPredictionModel();
     FallPredictions        = new ObservableCollection <FallPrediction>(CurrentModel.AllFallPrediction());
     // FallPredictions = CurrentModel.AllFallPrediction();
     FallPredictions.CollectionChanged += Falls_CollectionChanged;
 }