public MainWindowViewModel()
 {
     GetDataFromServiceCommand = new RelayCommand(GetServiceData);
     OpenMachineDetailCommand = new RelayCommand(OpenMachineDetailsWindow);
     //Initialize UIService
     var service = new UIService();
     service.Initialize();
     var t = new Timer(3000);
     t.Elapsed += T_Elapsed;
     t.Enabled = true;
 }
 public MachineViewModel(Machine userMachine)
 {
     Machine = userMachine;
     OpenMachineDetailCommand = new RelayCommand(OpenMachineDetailsWindow);
     
 }