Beispiel #1
0
        public async void Initialize()
        {
            Title                 = "CHORALE";
            BackgroundColor       = Resources.ColorBlue;
            TextColor             = Resources.ColorWhite;
            ProgressBarVisibility = System.Windows.Visibility.Visible;

            await Task.Run(() =>
            {
                GraphDataList       = EcologDao.GetGraphDataOnSemanticLink(SemanticLink, Direction);
                RecentGraphDataList = EcologDao.GetRecentGraphDataOnSemanticLink(SemanticLink, Direction);
                OutlierExclusion();
                ChoraleModel = ChoraleModel.Init(GraphDataList);
                RModel       = RModel.Init(GraphDataList);
            });

            SwitchToChoralePage();
        }
        public async void Initialize()
        {
            //var SemanticLinks = SemanticLinkDao.OutwardSemanticLinks;
            //Direction = new TripDirection { Direction = "outward" };
            //SemanticLink = SemanticLinks.FirstOrDefault(s => s.SemanticLinkId == 13);
            Title                 = "CHORALE";
            BackgroundColor       = Resources.ColorBlue;
            TextColor             = Resources.ColorWhite;
            ProgressBarVisibility = System.Windows.Visibility.Visible;

            await Task.Run(() =>
            {
                GraphDataList = EcologDao.GetGraphDataOnSemanticLink(SemanticLink, Direction);
                OutlierExclusion();
                ChoraleModel = ChoraleModel.Init(GraphDataList);
                RModel       = RModel.Init(GraphDataList);
            });

            SwitchToChoralePage();
        }