Exemplo n.º 1
0
        public IronRDIImporter(INutrientBusinessLogic nutrientBusinessLogic, IGenderTypeBusinessLogic genderTypeBusinessLogic)
            : base(nutrientBusinessLogic, genderTypeBusinessLogic)
        {
            WomanRecommendations.Add(createAgeRecommendation(-1, 6, 8));
            WomanRecommendations.Add(createAgeRecommendation(6, 9, 9));

            WomanRecommendations.Add(createAgeRecommendation(10, 13, 11));
            WomanRecommendations.Add(createAgeRecommendation(14, 17, 15));
            WomanRecommendations.Add(createAgeRecommendation(18, 30, 15));
            WomanRecommendations.Add(createAgeRecommendation(31, 60, 15));
            WomanRecommendations.Add(createAgeRecommendation(61, 74, 9));
            WomanRecommendations.Add(createAgeRecommendation(75, 200, 9));

            ManRecommendations.Add(createAgeRecommendation(-1, 6, 8));
            ManRecommendations.Add(createAgeRecommendation(6, 9, 9));
            ManRecommendations.Add(createAgeRecommendation(-1, 10, 8));

            ManRecommendations.Add(createAgeRecommendation(10, 17, 11));
            ManRecommendations.Add(createAgeRecommendation(18, 200, 9));
        }
 public GraphLineOptionViewTypeConverter(INutrientBusinessLogic nutrientBusinessLogic, INutrientTranslator nutrientTranslator)
 {
     this.nutrientBusinessLogic = nutrientBusinessLogic;
     this.nutrientTranslator = nutrientTranslator;
 }
 public NutrientRecommendationBusinessLogic(INutrientBusinessLogic nutrientBusinessLogic, INutrientRecommendationRepository nutrientRecommendationRepository)
 {
     this.nutrientBusinessLogic = nutrientBusinessLogic;
     this.nutrientRecommendationRepository = nutrientRecommendationRepository;
 }
Exemplo n.º 4
0
 public BaseRDIImporter(INutrientBusinessLogic nutrientBusinessLogic, IGenderTypeBusinessLogic genderTypeBusinessLogic)
 {
     this.nutrientBusinessLogic = nutrientBusinessLogic;
     this.genderTypeBusinessLogic = genderTypeBusinessLogic;
 }
Exemplo n.º 5
0
 public IngredientParser(INutrientBusinessLogic nutrientBusinessLogic)
 {
     this.nutrientBusinessLogic = nutrientBusinessLogic;
 }
 public InitialDataValuesExportEngine(INutrientBusinessLogic nutrientBusinessLogic, IGenderTypeBusinessLogic genderTypeBusinessLogic, IActivityLevelTypeBusinessLogic activityLevelTypeBusinessLogic)
 {
     this.activityLevelTypeBusinessLogic = activityLevelTypeBusinessLogic;
     this.nutrientBusinessLogic = nutrientBusinessLogic;
     this.genderTypeBusinessLogic = genderTypeBusinessLogic;
 }