コード例 #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 FallPredictionVM()
 {
     PredictionAndRealFalls = PredictionAndRealFallsVM.Instance;
     CurrentModel           = new ManageFallPredictionModel();
     FallPredictions        = new ObservableCollection <FallPrediction>(CurrentModel.AllFallPrediction());
     // FallPredictions = CurrentModel.AllFallPrediction();
     FallPredictions.CollectionChanged += Falls_CollectionChanged;
 }