/// <summary>
        /// Get the description for the profile type based off
        /// the enum value given.
        /// </summary>
        /// <param name="type">Enum value to determine the type.</param>
        /// <returns>Description of the profile.</returns>
        public static string GetTitle(eProfileType type)
        {
            switch (type)
            {
            case eProfileType.WP_Velocity_BEAM:
                return(TITLE_WP_VEL_BEAM);

            case eProfileType.WP_Velocity_XYZ:
                return(TITLE_WP_VEL_XYZ);

            case eProfileType.WP_Velocity_ENU:
                return(TITLE_WP_VEL_ENU);

            case eProfileType.WP_Amplitude:
                return(TITLE_WP_AMP);

            case eProfileType.WP_Correlation:
                return(TITLE_WP_CORR);

            case eProfileType.WT_Velocity_BEAM:
                return(TITLE_WT_VEL_BEAM);

            case eProfileType.WT_Velocity_XYZ:
                return(TITLE_WT_VEL_XYZ);

            case eProfileType.WT_Velocity_ENU:
                return(TITLE_WT_VEL_ENU);

            case eProfileType.WT_Amplitude:
                return(TITLE_WT_AMP);

            case eProfileType.WT_Correlation:
                return(TITLE_WT_CORR);

            default:
                return("");
            }
        }
 /// <summary>
 /// Create a profile type with the given
 /// profile enum.  This will create an object
 /// with a code and title.
 /// </summary>
 /// <param name="type">Profile type.</param>
 public ProfileType(eProfileType type)
 {
     // Set the values
     Code  = type;
     Title = GetTitle(type);
 }