public DeviceSimulatorViewModel(IDeviceSimulatorService deviceSimulatorService, 
                                        SimDeviceViewModel simDeviceViewModel,
                                        HeaderDevicesSimulatorViewModel addDevicesSimulatorNameViewModel,
                                        LoadDeviceSimulatorViewModel loadDeviceSimulatorViewModel)
        {
            _deviceSimulatorService = deviceSimulatorService;
            _selectedSimDevice = simDeviceViewModel;
            _headerDevicesSimulatorViewModel = addDevicesSimulatorNameViewModel;
            _loadDeviceSimulatorViewModel = loadDeviceSimulatorViewModel;

            //Default Add device win
            _headerDevicesSimulatorViewModel.Qty = 10;
            _headerDevicesSimulatorViewModel.QtyXml = 5;
            _headerDevicesSimulatorViewModel.SendTime = 2;

            //_simDeviceList = simDeviceList;
            _simDeviceList = new ObservableCollection<SimDeviceViewModel>();
            //Load default all data
            //_simDeviceList = _deviceSimulatorService.LoadAllSimDeviceViewModel();

            _statusWorkingList = deviceSimulatorService.GetAllStatusWorking();
            
            //Set pic control
            IconStartProperty = "Start-Disabled-icon.png";
            IconPauseProperty = "Pause-Disabled-icon.png";
            IconStopProperty = "Stop-Disabled-icon.png";
            StartText = "Start";

            SendCommand = new RelayCommand(Send, new Func<bool>(() =>
            {
                if (SelectedSimDevice == null) return false;
                return !string.IsNullOrEmpty(SelectedSimDevice.Imei);
            }));
        }
 public LoadDeviceSimulatorViewModel(IDeviceSimulatorService deviceSimulatorService)
 {
     _deviceSimulatorService = deviceSimulatorService;
     //_deviceSimulatorList = _deviceSimulatorService.GetAllDeviceSimulator();
 }