         
         passengersPopover.showRelativeToRect(positioningRect, ofView: positioningView, preferredEdge: preferredEdge)
         passengerSelectViewController.reloadPassenger(MainModel.passengers)
-    }
-    
-    func passengerSelected(passenger:PassengerDTO) -> Bool{
-        for controller in passengerViewControllerList where controller.passenger == passenger{
-            return true
-        }
-        return false
-    }
-    
-    func checkPassenger(passenger:PassengerDTO){
-        for controller in passengerViewControllerList where controller.passenger == passenger{
-            controller.select()
-        }
     }
     
 // MARK: - TicketTableView

            
            for ticket in self.filterQueryResult {
                if ticket.hasTicketForSeatTypeFilterKey(self.seatFilterKey) {
                    //停止查询
                    self.repeatTimer?.invalidate()
                    self.repeatTimer = nil
                    self.hasAutoQuery = false
                    self.autoSummit(ticket, seatTypeId: ticket.getSeatTypeNameByFilterKey(self.seatFilterKey)!)
                    NotifySpeaker.sharedInstance.notify()
                    break;
                }

    }
    
    func clickSubmit(sender: NSButton){
        self.stopAutoQuery()
        let selectedRow = leftTicketTable.rowForView(sender)
        let ticket = filterQueryResult[selectedRow]
        let seatTypeId = sender.identifier!
        
        self.summitTicket(ticket, seatTypeId: seatTypeId,isAuto: false)
    }
    
    func clickShowTrainDetail(sender:NSButton) {
