internal bool IsCurrentPlane(ICurrentPlane logicStation, string flightNumber) { if (logicStation.CurrentPlane == null) { return(false); } return(logicStation.CurrentPlane.FlightNumber == flightNumber); }
internal bool HasCurrentPlane(ICurrentPlane logicStation) { return(logicStation.CurrentPlane != null); }