コード例 #1
0
 public void Load()
 {
     CurrentAssessmentVM = new AssessmentVM();
     CurrentFallVM       = new FallsVM();
     Assessments         = ((IEnumerable <Assessment>)(CurrentAssessmentVM.Assessments)).ToList <Assessment>();
     InitData();
 }
コード例 #2
0
 public void Load()
 {
     CurrentFallPredictionVM = new FallPredictionVM();
     CurrentFallVM           = new FallsVM();
     FallPredictionList      = ((IEnumerable <FallPrediction>)(CurrentFallPredictionVM.FallPredictions)).ToList <FallPrediction>();
     InitializeGraph();
 }
コード例 #3
0
ファイル: GraphUC.xaml.cs プロジェクト: YissacharB/PL
 public void Load()
 {
     CurrentFallPredictionVM = new AssessmentVM();
     CurrentFallVM           = new FallsVM();
     FallPredictionList      = ((IEnumerable <Assessment>)(CurrentFallPredictionVM.Assessments)).ToList <Assessment>();
     InitializeGraph();
 }
コード例 #4
0
 public GraphUC()
 {
     InitializeComponent();
     DataContext             = this;
     CurrentFallPredictionVM = new FallPredictionVM();
     CurrentFallVM           = new FallsVM();
     FallPredictionList      = ((IEnumerable <FallPrediction>)(CurrentFallPredictionVM.FallPredictions)).ToList <FallPrediction>();
     InitializeGraph();
 }
コード例 #5
0
 public ChartView()
 {
     InitializeComponent();
     DataContext         = this;
     CurrentAssessmentVM = new AssessmentVM();
     CurrentFallVM       = new FallsVM();
     Assessments         = ((IEnumerable <Assessment>)(CurrentAssessmentVM.Assessments)).ToList <Assessment>();
     InitData();
 }
コード例 #6
0
 public GraphView()
 {
     InitializeComponent();
     DataContext             = this;
     CurrentFallPredictionVM = new AssessmentVM();
     CurrentFallVM           = new FallsVM();
     FallPredictionList      = ((IEnumerable <Assessment>)(CurrentFallPredictionVM.Assessments)).ToList <Assessment>();
     InitializeGraph();
 }
コード例 #7
0
ファイル: MainWindow.xaml.cs プロジェクト: YissacharB/PL
 public MainWindow()
 {
     InitializeComponent();
     instance         = this;
     CurrentVM        = new FallsVM();
     this.DataContext = CurrentVM;
     fallImageElement.Load();
     fallImageElement.UpdateAll("0", secondMapElement);
     MainMap.TodayOnly();
 }
コード例 #8
0
 public NewFallUC()
 {
     InitializeComponent();
     CurrentVM              = new FallsVM();
     this.DataContext       = CurrentVM;
     SaveButton.IsEnabled   = true;
     TimeDatePicker.Text    = DateTime.Now.ToString();
     defaultPath            = Image.Source;
     PredictionAndRealFalls = PredictionAndRealFallsVM.Instance;
 }
コード例 #9
0
        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();
        }
コード例 #10
0
        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();
        }
コード例 #11
0
        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();
        }
コード例 #12
0
        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();
        }
コード例 #13
0
 public void Load()
 {
     InitializeComponent();
     CurrentVM        = new FallsVM();
     this.DataContext = CurrentVM;
 }
コード例 #14
0
 public FallsImages()
 {
     InitializeComponent();
     CurrentVM        = new FallsVM();
     this.DataContext = CurrentVM;
 }
コード例 #15
0
 public AddFallCommand(FallsVM currentVM)
 {
     CurrentVM = currentVM;
 }
コード例 #16
0
 public OpenImageCommand(FallsVM Vm)
 {
     CurrentVM = Vm;
 }