示例#1
0
 private static void CreatePlanner()
 {
     if (_planner == null)
     {
         _planner = new PlannerViewModel();
     }
 }
        internal void SetStationForPlanner()
        {
            PlannerViewModel planner = SimpleIoc.Default.GetInstance <PlannerViewModel>();

            planner.VanStation = this.CurrentStation;
            Messenger.Default.Send(planner.VanStation.Name, "setVan");
        }
示例#3
0
        internal void SetPlannerSearch()
        {
            PlannerViewModel planner = SimpleIoc.Default.GetInstance <PlannerViewModel>();

            planner.NaarStation = this.CurrentSearch.NaarStation;
            planner.VanStation  = this.CurrentSearch.VanStation;
            planner.ViaStation  = this.CurrentSearch.ViaStation;
        }