/// <summary>
        /// Load the default LoadCoefficientDatabase for each respective country.
        /// </summary>
        /// <remarks>Create</remarks>
        /// <param name="countryCode">National annex of calculation code (D/DK/EST/FIN/GB/H/N/PL/RO/S/TR)</param>
        /// <returns></returns>
        public static LoadCategoryDatabase GetDefault(string countryCode = "S")
        {
            string code = RestrictedString.EurocodeType(countryCode);
            LoadCategoryDatabase loadCategoryDatabase = LoadCategoryDatabase.DeserializeResource(code);

            loadCategoryDatabase.End = "";
            return(loadCategoryDatabase);
        }
Beispiel #2
0
        /// <summary>
        /// Load the default MaterialDatabase for each respective country.
        /// </summary>
        /// <remarks>Create</remarks>
        /// <param name="countryCode">National annex of calculation code (D/DK/EST/FIN/GB/H/N/PL/RO/S/TR)</param>
        /// <returns></returns>
        public static MaterialDatabase GetDefault(string countryCode = "S")
        {
            string           code             = RestrictedString.EurocodeType(countryCode);
            MaterialDatabase materialDatabase = MaterialDatabase.DeserializeResource(code);

            materialDatabase.End = "";
            return(materialDatabase);
        }