private static void setPREFERENCES_CONCRETE_DESIGN_ACI_318_14(Model model, List <Dictionary <string, string> > table) { foreach (Dictionary <string, string> tableRow in table) { ACI_318_14_Preferences preferences = new ACI_318_14_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"]), SeismicCategory = Enums.EnumLibrary.ConvertStringToEnumByDescription <ACI_318_14_Preferences.SeismicCategories>(tableRow["SeisCat"]), 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"]), PhiVSeismic = Adaptor.toDouble(tableRow["PhiVSeismic"]), PhiVJoint = Adaptor.toDouble(tableRow["PhiVJoint"]) }; model.Design.ConcreteDesigner.ConcreteDesignPreferences = ConcreteDesignPreferences <ACI_318_14_Preferences> .Factory(preferences); } }
private static void setPREFERENCES_CONCRETE_DESIGN_NZS_3101_06(Model model, List <Dictionary <string, string> > table) { foreach (Dictionary <string, string> tableRow in table) { NZS_3101_2006_Preferences preferences = new NZS_3101_2006_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"]), PhiB = Adaptor.toDouble(tableRow["PhiB"]), PhiT = Adaptor.toDouble(tableRow["PhiT"]), PhiC = Adaptor.toDouble(tableRow["PhiC"]), PhiV = Adaptor.toDouble(tableRow["PhiV"]), Omega = Adaptor.toDouble(tableRow["Omega"]), PhiZero = Adaptor.toDouble(tableRow["PhiZero"]), Rm = Adaptor.toDouble(tableRow["Rm"]), Rv = Adaptor.toDouble(tableRow["Rv"]) }; model.Design.ConcreteDesigner.ConcreteDesignPreferences = ConcreteDesignPreferences <NZS_3101_2006_Preferences> .Factory(preferences); } }
private static void setPREFERENCES_CONCRETE_DESIGN_ITALIAN_NTC_2008(Model model, List <Dictionary <string, string> > table) { foreach (Dictionary <string, string> tableRow in table) { NTC_2008_Preferences preferences = new NTC_2008_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"]), GammaS = Adaptor.toDouble(tableRow["GammaS"]), GammaC = Adaptor.toDouble(tableRow["GammaC"]), Theta0 = Adaptor.toDouble(tableRow["Theta0"]), AlphaCC = Adaptor.toDouble(tableRow["AlphaCC"]), AlphaCT = Adaptor.toDouble(tableRow["AlphaCT"]), AlphaLCC = Adaptor.toDouble(tableRow["AlphaLCC"]), AlphaLCT = Adaptor.toDouble(tableRow["AlphaLCT"]), DesignCombinationEquation = Enums.EnumLibrary.ConvertStringToEnumByDescription <NTC_2008_Preferences.DesignCombinationEquations>(tableRow["CombosEq"]), ReliabilityClass = Enums.EnumLibrary.ConvertStringToEnumByDescription <NTC_2008_Preferences.ReliabilityClasses>(tableRow["RelClass"]), SecondOrderMethod = Enums.EnumLibrary.ConvertStringToEnumByDescription <NTC_2008_Preferences.SecondOrderMethods>(tableRow["SOM"]) }; model.Design.ConcreteDesigner.ConcreteDesignPreferences = ConcreteDesignPreferences <NTC_2008_Preferences> .Factory(preferences); } }
private static void setPREFERENCES_CONCRETE_DESIGN_TS_500_2000(Model model, List <Dictionary <string, string> > table) { foreach (Dictionary <string, string> tableRow in table) { TS_500_2000_Preferences preferences = new TS_500_2000_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"]), }; model.Design.ConcreteDesigner.ConcreteDesignPreferences = ConcreteDesignPreferences <TS_500_2000_Preferences> .Factory(preferences); } }