private void ControlsToData()
{
if (_hardwareItemDescriptionError == null)
_hardwareItemDescriptionError = new HardwareItemDescriptionError();
_hardwareItemDescriptionError.Description = edtDescription.GetValue<string>();
_hardwareItemDescriptionError.ID = edtID.GetValue<string>();
_hardwareItemDescriptionError.source = edtSource.GetValue<string>();
_hardwareItemDescriptionError.type = edtType.GetValue<string>();
}