Example #1
0
 public AssessmentVM()
 {
     PredictionAndRealFalls = PredictionAndRealFallsVM.Instance;
     CurrentModel           = new ManageFallPredictionModel();
     Assessments            = new ObservableCollection <Assessment>(CurrentModel.AllAssessments());
     // FallPredictions = CurrentModel.AllFallPrediction();
     Assessments.CollectionChanged += Assessment_CollectionChanged;
 }
 public FallPredictionVM()
 {
     PredictionAndRealFalls = PredictionAndRealFallsVM.Instance;
     CurrentModel           = new ManageFallPredictionModel();
     FallPredictions        = new ObservableCollection <FallPrediction>(CurrentModel.AllFallPrediction());
     // FallPredictions = CurrentModel.AllFallPrediction();
     FallPredictions.CollectionChanged += Falls_CollectionChanged;
 }