     @IBOutlet weak var passengerTable: NSTableView!
     var passengers = [PassengerDTO]()
     let maxSelectedPassengerCount = 5
-    var hasSelectedPassengerCount = 0
     
     override func viewDidLoad() {
         super.viewDidLoad()
-        hasSelectedPassengerCount = 0
         
         let notificationCenter = NSNotificationCenter.defaultCenter()
         notificationCenter.addObserver(self, selector: #selector(PassengerSelectViewController.receiveLogoutMessageNotification(_:)), name: DidSendLogoutMessageNotification, object: nil)

                    break
                }
            }
            //todo 提示乘客超过5个
            return
        }
        
        let notificationCenter = NSNotificationCenter.defaultCenter()
        notificationCenter.postNotificationName(DidSendCheckPassengerMessageNotification, object: sender.title)
    }
    
    func tableView(tableView: NSTableView, rowViewForRow row: Int) -> NSTableRowView? {

    func receiveLogoutMessageNotification(notification: NSNotification) {
        passengers.removeAll()
        passengerTable.reloadData()
    }
    
    @IBAction func checkPassenger(sender:NSButton){
        if isMaxPassengerNumber(exclude:sender.title) {
            sender.state = NSOffState
            
            for passenger in passengers{
