Example #1
0
 public Pilot(PilotProfile profile, DateTime educationTime, PilotRating rating)
 {
     this.Profile       = profile;
     this.EducationTime = educationTime;
     this.Rating        = rating;
     this.Aircrafts     = new List <string>();
 }
Example #2
0
 public Instructor(PilotProfile profile, PilotRating rating)
 {
     this.Profile  = profile;
     this.Rating   = rating;
     this.Students = new List <PilotStudent>();
 }
Example #3
0
 //adds a rating to the list
 public static void AddRating(PilotRating rating)
 {
     ratings.Add(rating);
 }
Example #4
0
 public PilotStudent(PilotProfile profile, DateTime startDate, Instructor instructor, PilotRating rating, string airlinerfamily)
 {
     this.Rating         = rating;
     this.Profile        = profile;
     this.StartDate      = startDate;
     this.EndDate        = this.StartDate.AddDays(this.Rating.TrainingDays);
     this.Instructor     = instructor;
     this.AirlinerFamily = airlinerfamily;
 }
Example #5
0
 public Pilot(PilotProfile profile, DateTime educationTime, PilotRating rating)
 {
     this.Profile       = profile;
     this.EducationTime = educationTime;
     this.Rating        = rating;
 }