protected override void ControlsToData()
{
if (itemDescription == null)
itemDescription = new SoftwareUUT();
base.ControlsToData();
var softwareUUT = itemDescription as SoftwareUUT;
if (softwareUUT != null)
{
List<object> warnings = new List<object>();
if (documentListControl.Items.Count > 0 )
warnings.AddRange(documentListControl.Harvest<Document>());
if (warningTextList.RowCount > 0 )
warnings.AddRange(warningTextList.GetColumnValues(0));
softwareUUT.Warnings = warnings.Count > 0 ? warnings : null;
softwareUUT.StatusCodes = statusCodeListControl.Harvest<SoftwareUUTStatusCode>();
}
}