public ProficiencyCardInfo(ProficiencyCategory proficiencyCategory,
                            OfficialStatus officialstatus,
                            NervouslyPsychologicalStatus nervously,
                            GeneralPsychologicalStatus general)
 {
     ChangeProficiencyCategory(proficiencyCategory);
     ChangeOfficialStatusChange(officialstatus);
     ChangeNervouslyPsychologicalStability(nervously);
     ChangeGeneralPsychologicalStability(general);
 }
예제 #2
0
        public static string ToOfficialStatusString(this OfficialStatus source)
        {
            switch (source)
            {
            case OfficialStatus.Team: return("Командные");

            case OfficialStatus.Operator: return("Операторские");

            case OfficialStatus.CommunicationAndObservation: return("Связи и наблюдения");

            case OfficialStatus.Driver: return("Водительские");

            case OfficialStatus.Technological: return("Технологические");

            case OfficialStatus.Special: return("Спецназначения");

            case OfficialStatus.ToStudyAtUniversity: return("К обучению в ВУЗ");
            }

            return(string.Empty);
        }
 public override int GetHashCode()
 {
     return(ProficiencyCategory.GetHashCode() ^ OfficialStatus.GetHashCode() ^
            GeneralPsychologicalStability.GetHashCode() ^ NervouslyPsychologicalStability.GetHashCode());
 }
 public void ChangeOfficialStatusChange(OfficialStatus officialstatus)
 {
     OfficialStatus = officialstatus;
 }