private static void setPREFERENCES_STEEL_DESIGN_KBC_2009(Model model, List <Dictionary <string, string> > table)
        {
            foreach (Dictionary <string, string> tableRow in table)
            {
                KBC_2009_Preferences preferences = new KBC_2009_Preferences
                {
                    MultiResponseCase        = Enums.EnumLibrary.ConvertStringToEnumByDescription <eMultiResponseCase>(tableRow["THDesign"]),
                    FrameType                = Enums.EnumLibrary.ConvertStringToEnumByDescription <KBC_2009_Preferences.FrameTypes>(tableRow["FrameType"]),
                    PatternLiveLoadFactor    = Adaptor.toDouble(tableRow["PatLLF"]),
                    DemandCapacityRatioLimit = Adaptor.toDouble(tableRow["SRatioLimit"]),
                    MaximumIterations        = Adaptor.toInteger(tableRow["MaxIter"]),
                    IsDeflectionConsidered   = Adaptor.fromYesNo(tableRow["CheckDefl"]),
                    RatioDL                  = Adaptor.toDouble(tableRow["DLRat"]),
                    RatioSDLAndLL            = Adaptor.toDouble(tableRow["SDLAndLLRat"]),
                    RatioLL                  = Adaptor.toDouble(tableRow["LLRat"]),
                    RatioTotal               = Adaptor.toDouble(tableRow["TotalRat"]),
                    RatioNet                 = Adaptor.toDouble(tableRow["NetRat"]),
                    PhiB                     = Adaptor.toDouble(tableRow["PhiB"]),
                    PhiC                     = Adaptor.toDouble(tableRow["PhiC"]),
                    PhiTY                    = Adaptor.toDouble(tableRow["PhiTY"]),
                    PhiTF                    = Adaptor.toDouble(tableRow["PhiTF"]),
                    PhiV                     = Adaptor.toDouble(tableRow["PhiV"]),
                    PhiVRolledI              = Adaptor.toDouble(tableRow["PhiVRolledI"]),
                    PhiVT                    = Adaptor.toDouble(tableRow["PhiVT"]),
                    UseSeismicCode           = Adaptor.fromYesNo(tableRow["SeisCode"]),
                    UseSeismicLoading        = Adaptor.fromYesNo(tableRow["SeisLoad"]),
                    IsDoublerPlatePlugWelded = Adaptor.fromYesNo(tableRow["PlugWeld"]),
                    HSSWeldingType           = Enums.EnumLibrary.ConvertStringToEnumByDescription <KBC_2009_Preferences.HSSWeldingTypes>(tableRow["HSSWelding"]),
                    ReduceHSSThickness       = Adaptor.fromYesNo(tableRow["HSSReduceT"]),
                    AnalysisMethod           = Enums.EnumLibrary.ConvertStringToEnumByDescription <KBC_2009_Preferences.AnalysisMethods>(tableRow["AMethod"]),
                    SecondOrderMethod        = Enums.EnumLibrary.ConvertStringToEnumByDescription <KBC_2009_Preferences.SecondOrderMethods>(tableRow["SOMethod"]),
                    StiffnessReductionMethod = Enums.EnumLibrary.ConvertStringToEnumByDescription <KBC_2009_Preferences.StiffnessReductionMethods>(tableRow["SRMethod"]),
                    SeismicDesignCategory    = Enums.EnumLibrary.ConvertStringToEnumByDescription <KBC_2009_Preferences.SeismicDesignCategories>(tableRow["SDC"]),
                    ImportanceFactor         = Adaptor.toDouble(tableRow["ImpFactor"]),
                    Rho     = Adaptor.toDouble(tableRow["SystemRho"]),
                    Sds     = Adaptor.toDouble(tableRow["SystemSds"]),
                    R       = Adaptor.toDouble(tableRow["SystemR"]),
                    Cd      = Adaptor.toDouble(tableRow["SystemCd"]),
                    Omega0  = Adaptor.toDouble(tableRow["Omega0"]),
                    NLCoeff = Adaptor.toDouble(tableRow["NLCoeff"])
                };

                model.Design.SteelDesigner.SteelDesignPreferences.UpdateItem(
                    SteelDesignPreferences <KBC_2009_Preferences> .Factory(preferences)
                    );
            }
        }
        private static void setPREFERENCES_CONCRETE_DESIGN_KBC_2009(Model model, List <Dictionary <string, string> > table)
        {
            foreach (Dictionary <string, string> tableRow in table)
            {
                KBC_2009_Preferences preferences = new KBC_2009_Preferences
                {
                    MultiResponseCase           = Enums.EnumLibrary.ConvertStringToEnumByDescription <eMultiResponseCase>(tableRow["THDesign"]),
                    NumberOfInteractionCurves   = Adaptor.toInteger(tableRow["NumCurves"]),
                    NumberOfInteractionPoints   = Adaptor.toInteger(tableRow["NumPoints"]),
                    ConsiderMinimumEccentricity = Adaptor.fromYesNo(tableRow["MinEccen"]),
                    PatternLiveLoadFactor       = Adaptor.toDouble(tableRow["PatLLF"]),
                    UtilizationFactorLimit      = Adaptor.toDouble(tableRow["UFLimit"]),
                    Rho        = Adaptor.toDouble(tableRow["Rho"]),
                    Sds        = Adaptor.toDouble(tableRow["Sds"]),
                    PhiT       = Adaptor.toDouble(tableRow["PhiT"]),
                    PhiCTied   = Adaptor.toDouble(tableRow["PhiCTied"]),
                    PhiCSpiral = Adaptor.toDouble(tableRow["PhiCSpiral"]),
                    PhiV       = Adaptor.toDouble(tableRow["PhiV"]),
                    PhiVJoint  = Adaptor.toDouble(tableRow["PhiVJoint"])
                };

                model.Design.ConcreteDesigner.ConcreteDesignPreferences = ConcreteDesignPreferences <KBC_2009_Preferences> .Factory(preferences);
            }
        }