Exemple #1
0
 public IiTPStudent(string name, string surname, string nationality, Gender gender, int day, int month, int year,
                    BsuirFaculty faculty, string specialty, StudentStatus status, string curator, string groupNumber, string studentNumber,
                    ushort language, ushort mathematic, ushort physics, ushort sertificate, ushort yearOfEntering, ushort grade,
                    bool isWinnerOlympiad, bool isSetteled, bool isBuget)
     : base(name, surname, nationality, gender, day, month, year, faculty, specialty, status, curator, groupNumber, studentNumber,
            language, mathematic, physics, sertificate, yearOfEntering, grade, isWinnerOlympiad, isSetteled, isBuget)
 {
     if (faculty != BsuirFaculty.FKSiS || specialty != "IiTP")
     {
         Console.WriteLine("Неверная специальность или факультет");
         Faculty   = BsuirFaculty.FKSiS;
         Specialty = "IiTP";
     }
 }
 public ASOIStudent(string name, string surname, string nationality, Gender gender, int day, int month, int year,
                    BsuirFaculty faculty, string specialty, StudentStatus status, string curator, string groupNumber, string studentNumber,
                    ushort language, ushort mathematic, ushort physics, ushort sertificate, ushort yearOfEntering, ushort grade,
                    bool isWinnerOlympiad, bool isSetteled, bool isBuget)
     : base(name, surname, nationality, gender, day, month, year, faculty, specialty, status, curator, groupNumber, studentNumber,
            language, mathematic, physics, sertificate, yearOfEntering, grade, isWinnerOlympiad, isSetteled, isBuget)
 {
     Console.WriteLine("ии - топ спецуха \nНа ксисе нет ни сетей, ни системотехники\n");
     if (faculty != BsuirFaculty.FITU || specialty != "II")
     {
         Console.WriteLine("Неверная специальность или факультет");
         Faculty   = BsuirFaculty.FITU;
         Specialty = "II";
     }
 }
Exemple #3
0
 public StudentBSUIR(string name, string surname, string nationality, Gender gender, int day, int month, int year,
                     BsuirFaculty faculty, string specialty, StudentStatus status, string curator, string groupNumber, string studentNumber,
                     ushort language, ushort mathematic, ushort physics, ushort sertificate, ushort yearOfEntering, ushort grade,
                     bool isWinnerOlympiad, bool isSetteled, bool isBuget)
     : base(name, surname, nationality, gender, day, month, year)
 {
     Faculty   = faculty;
     Specialty = specialty;
     Status    = status;
     Curator   = curator;
     if (groupNumber.Length == 6)
     {
         _groupNumber = groupNumber;
     }
     if (studentNumber.Length == 8)
     {
         _groupNumber = groupNumber;
     }
     if (language <= 100)
     {
         _testing.language = language;
     }
     if (mathematic <= 100)
     {
         _testing.mathematic = mathematic;
     }
     if (physics <= 100)
     {
         _testing.physics = physics;
     }
     if (sertificate <= 100)
     {
         _testing.sertificate = sertificate;
     }
     if (yearOfEntering <= DateTime.Now.Year && yearOfEntering >= 1964)
     {
         _yearOfEntering = yearOfEntering;
     }
     if (grade > 0 && grade < 5)
     {
         _grade = grade;
     }
     IsBuget          = isBuget;
     IsSetteled       = isSetteled;
     IsWinnerOlympiad = isWinnerOlympiad;
 }