public bool Equals(FlightPlanModel other) { if (this.id_flight_plan.Equals(other.GetId())) { return(true); } return(false); }
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(""); }