public bool HasSameTagsAs(IFlightTrackerSingle f1, IFlightTrackerSingle f2) { if ((FlightA.GetTag() == f1.GetTag() && FlightB.GetTag() == f2.GetTag()) || (FlightA.GetTag() == f2.GetTag() && FlightB.GetTag() == f1.GetTag())) { return(true); } else { return(false); } }
public bool HasSameTagsAs(SeperationEventArgs other) { if ((FlightA.GetTag() == other.FlightA.GetTag() && FlightB.GetTag() == other.FlightB.GetTag()) || (FlightA.GetTag() == other.FlightB.GetTag() && FlightB.GetTag() == other.FlightA.GetTag())) { return(true); } else { return(false); } }