public AssessmentVM()
 {
     PredictionAndRealFalls = AssessmentAndlFallsVM.Instance;
     CurrentModel           = new ManageFallPredictionModel();
     Assessments            = new ObservableCollection <Assessment>(CurrentModel.AllAssessments());
     // FallPredictions = CurrentModel.AllFallPrediction();
     Assessments.CollectionChanged += Assessment_CollectionChanged;
 }
예제 #2
0
 public ReportVM()
 {
     AssessmentAndRealFalls = AssessmentAndlFallsVM.Instance;
     CurrentModel           = new ManageFallReportModel();
     Reports = new ObservableCollection <Report>(CurrentModel.AllFallReports());
     Add     = new AddReportCommand(this);
     Reports.CollectionChanged += Reports_CollectionChanged;
 }