Ejemplo n.º 1
0
 public virtual int Lectures(List <Group> groups, Equipment equipment)
 {
     successFactor = 0;
     Message?.Invoke("Lectures start : ");
     successFactor += CheckEquipment(equipment);
     Message?.Invoke("Students study");
     foreach (Group group in groups)
     {
         groupRating.SetRandGroupGrade(group, name);
     }
     return(successFactor);
 }
Ejemplo n.º 2
0
        public virtual int Lectures(List <Group> groups, Equipment equipment)
        {
            MessageEventArgs message = new MessageEventArgs();

            successFactor = 0;
            message.text  = "Lectures start : ";
            Message?.Invoke(this, message);
            successFactor += CheckEquipment(equipment);
            message.text   = "Students study";
            Message?.Invoke(this, message);
            foreach (Group group in groups)
            {
                groupRating.SetRandGroupGrade(group, name);
            }
            return(successFactor);
        }