示例#1
0
 /// <summary>
 /// 
 /// </summary>
 public Activity(string name, string description, GenericType genericType ,string type, Location location, List<Astronaute> astronautes, bool externMission, bool spaceVehicle, MDate startDate, MDate endDate)
 {
     _number = _referenceNumber;
     _referenceNumber++;
     _name = name;
     _description = description;
     _genericType = genericType;
     _type = type;
     _location = location;
     _externMission = externMission;
     _spaceVehicle = spaceVehicle;
     _astronautes = astronautes;
     _startDate = startDate;
     _endDate = endDate;
 }
示例#2
0
 /// <summary>
 /// Add an activity
 /// </summary>
 /// <param name="name"></param>
 /// <param name="description"></param>
 /// <param name="genericType"></param>
 /// <param name="type"></param>
 /// <param name="location"></param>
 /// <param name="astronautes"></param>
 /// <param name="externMission"></param>
 /// <param name="spaceVehicle"></param>
 public void newActivity(string name, string description,GenericType genericType, string type, Location location, List<Astronaute> astronautes, bool externMission, bool spaceVehicle, MDate startDate, MDate endDate)
 {
     _activies.Add(new Activity(name, description, genericType, type, location, astronautes, externMission, spaceVehicle, startDate, endDate));
 }