Beispiel #1
0
 public static int GiveAdditionalPointsForLanguages(LanguagePoints frenchLanguagePoints, LanguagePoints englishLanguagePoints)
 {
     if (frenchLanguagePoints.CLBSpeakingPoints >= 7 &&
         frenchLanguagePoints.CLBWritingPoints >= 7 &&
         frenchLanguagePoints.CLBReadingPoints >= 7 &&
         frenchLanguagePoints.CLBListeningPoints >= 7)
     {
         if (englishLanguagePoints == null
             ||
             (englishLanguagePoints.CLBSpeakingPoints <= 4 &&
              englishLanguagePoints.CLBWritingPoints <= 4 &&
              englishLanguagePoints.CLBReadingPoints <= 4 &&
              englishLanguagePoints.CLBListeningPoints <= 4))
         {
             return(15);
         }
         else
         {
             return(30);
         }
     }
     else
     {
         return(0);
     }
 }
Beispiel #2
0
 private static int EduAndLangPoints(LanguagePoints languagePoints, ushort educationLevel)
 {
     if ((
             languagePoints.CLBSpeakingPoints >= 7 &&
             languagePoints.CLBWritingPoints >= 7 &&
             languagePoints.CLBReadingPoints >= 7 &&
             languagePoints.CLBListeningPoints >= 7) &&
         (languagePoints.CLBSpeakingPoints < 9 ||
          languagePoints.CLBWritingPoints < 9 ||
          languagePoints.CLBReadingPoints < 9 ||
          languagePoints.CLBListeningPoints < 9) &&
         (educationLevel == 3 ||
          educationLevel == 4 ||
          educationLevel == 5))
     {
         return(13);
     }
     else if ((
                  languagePoints.CLBSpeakingPoints >= 7 &&
                  languagePoints.CLBWritingPoints >= 7 &&
                  languagePoints.CLBReadingPoints >= 7 &&
                  languagePoints.CLBListeningPoints >= 7) &&
              (languagePoints.CLBSpeakingPoints < 9 ||
               languagePoints.CLBWritingPoints < 9 ||
               languagePoints.CLBReadingPoints < 9 ||
               languagePoints.CLBListeningPoints < 9) &&
              (educationLevel == 6 || educationLevel == 7 || educationLevel == 8))
     {
         return(25);
     }
     else if ((
                  languagePoints.CLBSpeakingPoints >= 9 &&
                  languagePoints.CLBWritingPoints >= 9 &&
                  languagePoints.CLBReadingPoints >= 9 &&
                  languagePoints.CLBListeningPoints >= 9) &&
              (educationLevel == 3 || educationLevel == 4 || educationLevel == 5))
     {
         return(25);
     }
     else if ((
                  languagePoints.CLBSpeakingPoints >= 9 &&
                  languagePoints.CLBWritingPoints >= 9 &&
                  languagePoints.CLBReadingPoints >= 9 &&
                  languagePoints.CLBListeningPoints >= 9) &&
              (educationLevel == 6 || educationLevel == 7 || educationLevel == 8))
     {
         return(50);
     }
     else
     {
         return(0);
     }
 }
Beispiel #3
0
        public static int CalculateSkillTransferabilityFactorsPoints(LanguagePoints languagePoints, ushort educationLevel, int yearsOfExperience, int yearsOfForeignExperience)
        {
            int PointsForEduAndLang        = EduAndLangPoints(languagePoints, educationLevel);
            int PointsForExpAndEd          = ExpAndEduPoints(yearsOfExperience, educationLevel);
            int PointsForLangAndForeighExp = LangAndForeighExpPoints(languagePoints, yearsOfForeignExperience);
            int PointsForExpAndForeignExp  = ExpAndForeignExpPoints(yearsOfExperience, yearsOfForeignExperience);
            int skillTransferabilityFactorsPoints;

            skillTransferabilityFactorsPoints = PointsForEduAndLang + PointsForExpAndEd + PointsForLangAndForeighExp + PointsForExpAndForeignExp;

            return(skillTransferabilityFactorsPoints > 100 ? 100 : skillTransferabilityFactorsPoints);
        }
Beispiel #4
0
 private static int LangAndForeighExpPoints(LanguagePoints languagePoints, int yearsOfForeignExperience)
 {
     if ((
             languagePoints.CLBSpeakingPoints >= 7 &&
             languagePoints.CLBWritingPoints >= 7 &&
             languagePoints.CLBReadingPoints >= 7 &&
             languagePoints.CLBListeningPoints >= 7) &&
         (languagePoints.CLBSpeakingPoints < 9 ||
          languagePoints.CLBWritingPoints < 9 ||
          languagePoints.CLBReadingPoints < 9 ||
          languagePoints.CLBListeningPoints < 9) &&
         (yearsOfForeignExperience == 1 || yearsOfForeignExperience == 2))
     {
         return(13);
     }
     else if ((
                  languagePoints.CLBSpeakingPoints >= 7 &&
                  languagePoints.CLBWritingPoints >= 7 &&
                  languagePoints.CLBReadingPoints >= 7 &&
                  languagePoints.CLBListeningPoints >= 7) &&
              (languagePoints.CLBSpeakingPoints < 9 ||
               languagePoints.CLBWritingPoints < 9 ||
               languagePoints.CLBReadingPoints < 9 ||
               languagePoints.CLBListeningPoints < 9) &&
              (yearsOfForeignExperience >= 3))
     {
         return(25);
     }
     else if ((
                  languagePoints.CLBSpeakingPoints >= 9 &&
                  languagePoints.CLBWritingPoints >= 9 &&
                  languagePoints.CLBReadingPoints >= 9 &&
                  languagePoints.CLBListeningPoints >= 9) &&
              (yearsOfForeignExperience == 1 || yearsOfForeignExperience == 2))
     {
         return(25);
     }
     else if ((
                  languagePoints.CLBSpeakingPoints >= 9 &&
                  languagePoints.CLBWritingPoints >= 9 &&
                  languagePoints.CLBReadingPoints >= 9 &&
                  languagePoints.CLBListeningPoints >= 9) &&
              (yearsOfForeignExperience >= 3))
     {
         return(50);
     }
     else
     {
         return(0);
     }
 }