示例#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;
 }
示例#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;
 }
示例#3
0
 public Employee(string fname, string lname, DateTime dateBirth,
                 bool sex, Accounting.Doctors specialization) :
     base(fname, lname, dateBirth, sex)
 {
     _specialization = specialization;
 }