コード例 #1
0
 public bool Equals(FlightPlanModel other)
 {
     if (this.id_flight_plan.Equals(other.GetId()))
     {
         return(true);
     }
     return(false);
 }
コード例 #2
0
        public void AddFlightPlan(JsonFlightPlan flight_plan)
        {
            num_of_flight_plan++;
            dict_of_json_flight_plan[GetId()] = flight_plan;

            FlightPlanModel flight_plan_model = new FlightPlanModel(flight_plan, GetId());
            flight_plan_model.ParseTheFlightPlan();
            list_flight_plans.Add(flight_plan_model);
            Console.WriteLine("");

        }