public void Load() { CurrentAssessmentVM = new AssessmentVM(); CurrentFallVM = new FallsVM(); Assessments = ((IEnumerable <Assessment>)(CurrentAssessmentVM.Assessments)).ToList <Assessment>(); InitData(); }
public void Load() { CurrentFallPredictionVM = new FallPredictionVM(); CurrentFallVM = new FallsVM(); FallPredictionList = ((IEnumerable <FallPrediction>)(CurrentFallPredictionVM.FallPredictions)).ToList <FallPrediction>(); InitializeGraph(); }
public void Load() { CurrentFallPredictionVM = new AssessmentVM(); CurrentFallVM = new FallsVM(); FallPredictionList = ((IEnumerable <Assessment>)(CurrentFallPredictionVM.Assessments)).ToList <Assessment>(); InitializeGraph(); }
public GraphUC() { InitializeComponent(); DataContext = this; CurrentFallPredictionVM = new FallPredictionVM(); CurrentFallVM = new FallsVM(); FallPredictionList = ((IEnumerable <FallPrediction>)(CurrentFallPredictionVM.FallPredictions)).ToList <FallPrediction>(); InitializeGraph(); }
public ChartView() { InitializeComponent(); DataContext = this; CurrentAssessmentVM = new AssessmentVM(); CurrentFallVM = new FallsVM(); Assessments = ((IEnumerable <Assessment>)(CurrentAssessmentVM.Assessments)).ToList <Assessment>(); InitData(); }
public GraphView() { InitializeComponent(); DataContext = this; CurrentFallPredictionVM = new AssessmentVM(); CurrentFallVM = new FallsVM(); FallPredictionList = ((IEnumerable <Assessment>)(CurrentFallPredictionVM.Assessments)).ToList <Assessment>(); InitializeGraph(); }
public MainWindow() { InitializeComponent(); instance = this; CurrentVM = new FallsVM(); this.DataContext = CurrentVM; fallImageElement.Load(); fallImageElement.UpdateAll("0", secondMapElement); MainMap.TodayOnly(); }
public NewFallUC() { InitializeComponent(); CurrentVM = new FallsVM(); this.DataContext = CurrentVM; SaveButton.IsEnabled = true; TimeDatePicker.Text = DateTime.Now.ToString(); defaultPath = Image.Source; PredictionAndRealFalls = PredictionAndRealFallsVM.Instance; }
public void Load() { CurrentFallPredictionVM = new FallPredictionVM(); FallPredictionList = CurrentFallPredictionVM.FallPredictions.ToList(); CurrentFallReportVM = new FallReportVM(); FallReportList = CurrentFallReportVM.FallReports.ToList(); CurrentFallVM = new FallsVM(); FallList = CurrentFallVM.Falls.ToList(); ReportsNumber = FallReportList.Count(); PredictionsNumber = FallPredictionList.Count(); FallsNumber = FallList.Count(); }
public void Load() { CurrentFallPredictionVM = new AssessmentVM(); AssessmentsCount = CurrentFallPredictionVM.Assessments.Count(); CurrentFallReportVM = new ReportVM(); ReportList = CurrentFallReportVM.Reports.ToList(); CurrentFallVM = new FallsVM(); FallList = CurrentFallVM.Falls.ToList(); ReportsNumber = ReportList.Count(); AssessmentsCount = AssessmentList.Count(); FallsNumber = FallList.Count(); }
public StatisticsUC() { InitializeComponent(); this.DataContext = this; CurrentFallPredictionVM = new FallPredictionVM(); FallPredictionList = CurrentFallPredictionVM.FallPredictions.ToList(); CurrentFallReportVM = new FallReportVM(); FallReportList = CurrentFallReportVM.FallReports.ToList(); CurrentFallVM = new FallsVM(); FallList = CurrentFallVM.Falls.ToList(); ReportsNumber = FallReportList.Count(); PredictionsNumber = FallPredictionList.Count(); FallsNumber = FallList.Count(); }
public Statistics() { InitializeComponent(); this.DataContext = this; CurrentFallPredictionVM = new AssessmentVM(); AssessmentList = CurrentFallPredictionVM.Assessments.ToList(); CurrentFallReportVM = new ReportVM(); ReportList = CurrentFallReportVM.Reports.ToList(); CurrentFallVM = new FallsVM(); FallList = CurrentFallVM.Falls.ToList(); ReportsNumber = ReportList.Count(); AssessmentsCount = AssessmentList.Count(); FallsNumber = FallList.Count(); }
public void Load() { InitializeComponent(); CurrentVM = new FallsVM(); this.DataContext = CurrentVM; }
public FallsImages() { InitializeComponent(); CurrentVM = new FallsVM(); this.DataContext = CurrentVM; }
public AddFallCommand(FallsVM currentVM) { CurrentVM = currentVM; }
public OpenImageCommand(FallsVM Vm) { CurrentVM = Vm; }