Пример #1
0
 /**
  * Method to add a facility to a building
  */
 public void AddFacilityToBuilding(String name)
 {
     facility = new FacilityClass();
     facility.SetName(name);
     facility.GetName();
     facilities.Add(facility);
 }
Пример #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;
 }