Ejemplo n.º 1
0
 public Employee(string fname, string lname, DateTime dateBirth,
                 bool sex, Accounting.Doctors specialization, double hpw /*Hours p week*/) :
     base(fname, lname, dateBirth, sex)
 {
     _hoursPWeek     = hpw;
     _specialization = specialization;
     _salary         = hpw * (int)specialization;
 }
Ejemplo n.º 2
0
 public Doctor(string fname, string lname, DateTime dateBirth,
               bool sex, Accounting.Doctors s, WorkTime[] wTime) :
     base(fname, lname, dateBirth, sex, s, Accounting.CalcHours(wTime))
 {
     _workTime = wTime;
 }
Ejemplo n.º 3
0
 public Employee(string fname, string lname, DateTime dateBirth,
                 bool sex, Accounting.Doctors specialization) :
     base(fname, lname, dateBirth, sex)
 {
     _specialization = specialization;
 }