/// <summary> /// Initializes a new instance of the <see cref="CameraDetailViewModel"/> class. /// </summary> public CameraDetailViewModel(INavigationService navigationService, IDfwTranstarService dallasTranstarService) : base(navigationService) { this._dallasTranstarService = dallasTranstarService; this.Camera = new Camera(); this.IsBeingActivated(); }
/// <summary> /// Initializes a new instance of the <see cref="ConstructionClosureViewModel"/> class. /// </summary> public ConstructionClosureViewModel(INavigationService navigationService, IDfwTranstarService dallasTranstarService) : base(navigationService) { this._dallasTranstarService = dallasTranstarService; this._dataRetrievalErrorInteractionRequest = new InteractionReq.InteractionRequest<InteractionReq.Notification>(); this.IsBeingActivated(); }
/// <summary> /// Initializes a new instance of the <see cref="CameraTypeListViewModel"/> class. /// </summary> public CameraTypeListViewModel(INavigationService navigationService, IDfwTranstarService dallasTranstarService) : base(navigationService) { this._dallasTranstarService = dallasTranstarService; this.Roadways = new ObservableCollection<Roadway>(); this.SelectRoadwayCommand = new DelegateCommand<Roadway>(this.SelectRoadway); this.IsBeingActivated(); }
/// <summary> /// Initializes a new instance of the <see cref="MessageSignViewModel"/> class. /// </summary> public MessageSignViewModel(INavigationService navigationService, IDfwTranstarService dallasTranstarService) : base(navigationService) { this._dallasTranstarService = dallasTranstarService; this._dataRetrievalErrorInteractionRequest = new InteractionReq.InteractionRequest<InteractionReq.Notification>(); this.Locations = new ObservableCollection<Roadway>(); this.ViewMessageSignCommand = new DelegateCommand(this.ViewMessageSign, () => this.CanViewMessageSign); this.IsBeingActivated(); }
/// <summary> /// Initializes a new instance of the <see cref="CameraListViewModel"/> class. /// </summary> public CameraListViewModel(INavigationService navigationService, IDfwTranstarService dallasTranstarService) : base(navigationService) { this._dallasTranstarService = dallasTranstarService; this._dataRetrievalErrorInteractionRequest = new InteractionReq.InteractionRequest<InteractionReq.Notification>(); this.Cameras = new ObservableCollection<Camera>(); this.SelectCameraCommand = new DelegateCommand<Camera>(this.SelectCamera); this.IsBeingActivated(); }
/// <summary> /// Initializes a new instance of the <see cref="TravelTimeViewModel"/> class. /// </summary> public TravelTimeViewModel(INavigationService navigationService, IDfwTranstarService dallasTranstarService) : base(navigationService) { this._dallasTranstarService = dallasTranstarService; this._dataRetrievalErrorInteractionRequest = new InteractionReq.InteractionRequest<InteractionReq.Notification>(); this.TravelTimeRoadways = new ObservableCollection<Roadway>(); this.TravelTimeOrigins = new ObservableCollection<Roadway>(); this.TravelTimeDestinations = new ObservableCollection<Roadway>(); this.GetTravelTimeCommand = new DelegateCommand(this.GetTravelTime, () => this.CanGetTravelTime); this.IsBeingActivated(); }
/// <summary> /// Initializes a new instance of the <see cref="MainViewModel"/> class. /// </summary> public MainViewModel(INavigationService navigationService, IDfwTranstarService dallasTranstarService) : base(navigationService) { this._dallasTranstarService = dallasTranstarService; this._dataRetrievalErrorInteractionRequest = new InteractionReq.InteractionRequest<InteractionReq.Notification>(); this.Incidents = new ObservableCollection<Incident>(); this.TravelTimeRoadways = new ObservableCollection<Roadway>(); this.CameraTypes = new ObservableCollection<string>(); this.ConstructionClosures = new ObservableCollection<Roadway>(); this.MessageSigns = new ObservableCollection<Roadway>(); this.SelectTravelTimeRoadwayCommand = new DelegateCommand<Roadway>(this.SelectTravelTimeRoadway); this.SelectCameraTypeCommand = new DelegateCommand<string>(this.SelectCameraType); this.SelectConstructionClosureCommand = new DelegateCommand<Roadway>(this.SelectConstructionClosure); this.SelectMessageSignCommand = new DelegateCommand<Roadway>(this.SelectMessageSign); this.RefreshCommand = new DelegateCommand(this.RefreshData, () => this.CanRefreshData); this.ViewAppSettingsCommand = new DelegateCommand(this.ViewAppSettings); this.IsBeingActivated(); }