/**
  * Method to add a facility to a building
  */
 public void AddFacilityToBuilding(String name)
 {
     facility = new FacilityClass();
     facility.SetName(name);
     facility.GetName();
     facilities.Add(facility);
 }
Esempio n. 2
0
 /**
  * Constructor
  */
 public TaskClass(String time, String studentName, String facilityName, String buildingName)
 {
     student.SetName(studentName);
     facility.SetName(facilityName);
     building.Name     = buildingName;
     this.Time         = time;
     this.StudentName  = student.GetName();
     this.FacilityName = facility.GetName();
     this.BuildingName = building.Name;
 }