/// <summary>
        /// The set device type project.
        /// </summary>
        /// <param name="deviceTypeProject">
        /// The device Type Project.
        /// </param>
        /// <returns>
        /// The <see cref="DTMstudioTestData.DeviceTypeProject"/>.
        /// </returns>
        public static DeviceTypeProject GetDeviceTypeProject(DeviceTypeProject deviceTypeProject)
        {
            if (ConfiguratorDialog.SelectedConfiguration != null && ConfiguratorDialog.SelectedConfiguration.TestInformation != null)
            {
                deviceTypeProject.FDTDeviceTypeName     = ConfiguratorDialog.SelectedConfiguration.TestInformation.DeviceType;
                deviceTypeProject.DeviceTypeProjectPath = ConfiguratorDialog.SelectedConfiguration.TestInformation.DeviceTypeProjectPath;
            }

            return(deviceTypeProject);
        }
        /// <summary>
        /// The set device type project.
        /// </summary>
        /// <param name="deviceTypeProject">
        /// The device type project.
        /// </param>
        public static void SetDeviceTypeProject(DeviceTypeProject deviceTypeProject)
        {
            if (ConfiguratorDialog.SelectedConfiguration != null && ConfiguratorDialog.SelectedConfiguration.TestInformation != null)
            {
                if (!string.IsNullOrEmpty(deviceTypeProject.FDTDeviceTypeName))
                {
                    ConfiguratorDialog.SelectedConfiguration.TestInformation.DeviceType = deviceTypeProject.FDTDeviceTypeName;
                }

                if (!string.IsNullOrEmpty(deviceTypeProject.DeviceTypeProjectPath))
                {
                    ConfiguratorDialog.SelectedConfiguration.TestInformation.DeviceTypeProjectPath = deviceTypeProject.DeviceTypeProjectPath;
                }
            }
        }