コード例 #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));
        }
コード例 #2
0
 public GraphLineOptionViewTypeConverter(INutrientBusinessLogic nutrientBusinessLogic, INutrientTranslator nutrientTranslator)
 {
     this.nutrientBusinessLogic = nutrientBusinessLogic;
     this.nutrientTranslator = nutrientTranslator;
 }
コード例 #3
0
 public NutrientRecommendationBusinessLogic(INutrientBusinessLogic nutrientBusinessLogic, INutrientRecommendationRepository nutrientRecommendationRepository)
 {
     this.nutrientBusinessLogic = nutrientBusinessLogic;
     this.nutrientRecommendationRepository = nutrientRecommendationRepository;
 }
コード例 #4
0
 public BaseRDIImporter(INutrientBusinessLogic nutrientBusinessLogic, IGenderTypeBusinessLogic genderTypeBusinessLogic)
 {
     this.nutrientBusinessLogic = nutrientBusinessLogic;
     this.genderTypeBusinessLogic = genderTypeBusinessLogic;
 }
コード例 #5
0
 public IngredientParser(INutrientBusinessLogic nutrientBusinessLogic)
 {
     this.nutrientBusinessLogic = nutrientBusinessLogic;
 }
コード例 #6
0
 public InitialDataValuesExportEngine(INutrientBusinessLogic nutrientBusinessLogic, IGenderTypeBusinessLogic genderTypeBusinessLogic, IActivityLevelTypeBusinessLogic activityLevelTypeBusinessLogic)
 {
     this.activityLevelTypeBusinessLogic = activityLevelTypeBusinessLogic;
     this.nutrientBusinessLogic = nutrientBusinessLogic;
     this.genderTypeBusinessLogic = genderTypeBusinessLogic;
 }