public DeviceSimulatorModel getSimDevicesByDeviceSimulatorId(int id)
        {
            var deviceSimulatorModel = new DeviceSimulatorModel();
            _header = _deviceSimService.GetByIdDeviceSimulatorIncludeChild(id);

            if (_header != null)
            {
                deviceSimulatorModel.Id = _header.Id;
                deviceSimulatorModel.Description = _header.Description;
                deviceSimulatorModel.Status = _header.Status;

                _header.SimDevices.ToList().ForEach(item =>
                {
                    deviceSimulatorModel.SimDeviceViewModel.Add(new SimDeviceViewModel
                    {
                        Id = item.Id,
                        Imei = item.Imei,
                        Description = item.Description,
                        SendTime = item.SendTime,
                        SendTotal = item.SendTotal,
                        Status = item.Status,
                        SendComplete = item.SendComplete,
                    });
                });

            }
            return deviceSimulatorModel;
        }
 public void Reset()
 {
     _isChoose = false;
     _selectDeviceSim = null;
     _deviceSimulatorList = null;
 }