コード例 #1
0
ファイル: Activity.cs プロジェクト: rfoucart/Projet-PineApple
 /// <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
ファイル: Mission.cs プロジェクト: rfoucart/Projet-PineApple
 /// <summary>
 /// 
 /// </summary>
 /// <param name="searchDates"></param>
 /// <returns></returns>
 public List<Activity> searchByPeriod(MDate[] searchDates)
 {
     return new List<Activity>(0);
 }
コード例 #3
0
ファイル: Mission.cs プロジェクト: rfoucart/Projet-PineApple
 /// <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));
 }
コード例 #4
0
ファイル: Mission.cs プロジェクト: rfoucart/Projet-PineApple
 /// <summary>
 /// search method by day
 /// </summary>
 /// <param name="searchDate"></param>
 /// <returns></returns>
 public List<Activity> searchByDate(MDate searchDate)
 {
     return new List<Activity>(0);
 }