public BetonModelEC(BetonClassTypeEC betonClassType, double αcc = 0.85, double αct = 1.00, double y_c = 1.5) { this.name = GetStringFromType(betonClassType); this.y_c = y_c; this.αcc = αcc; this.αct = αct; }
private string GetStringFromType(BetonClassTypeEC betonClassType) { return(Enum.GetName(typeof(BetonClassTypeEC), betonClassType).Replace("_", "/")); }