public MainWindowViewModel()
 {
     SearchBoxGotFocusCommand = new RelayCommand<UIElement>(SearchboxGotFocusHandler);
     GetClientsLocationCommand = new RelayCommand<Sensor>(GetSensorsLocation);
     SearchCommand = new RelayCommand<string>(SearchFilter);
     SetupHubConnection();
     SearchBoxLostFocusCommand = new RelayCommand<UIElement>(SearchboxLostFocusHandler);
 }
예제 #2
0
 public MainPageViewModel()
 {
     GetSensorData();
     GetSensorLocationCommand = new RelayCommand<Sensor>(GetSensorLocation);
     CheckInCommand = new RelayCommand(NavToCheckIn);
 }