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"); }
internal void SetPlannerSearch() { PlannerViewModel planner = SimpleIoc.Default.GetInstance <PlannerViewModel>(); planner.NaarStation = this.CurrentSearch.NaarStation; planner.VanStation = this.CurrentSearch.VanStation; planner.ViaStation = this.CurrentSearch.ViaStation; }