     }
     
     //テキストフィールドが入力状態になった際に動作
-    func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
-        txtActiveField = textField
-        return true
-    }
+//    func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
+//        txtActiveField = textField
+//        return true
+//    }
     //リターンキーを押した時に動作
-    func textFieldShouldReturn(_ textField: UITextField) -> Bool {
-        view.endEditing(true)
-        return true
-    }
+//    func textFieldShouldReturn(_ textField: UITextField) -> Bool {
+//        view.endEditing(true)
+//        return true
+//    }
     
     override func viewDidDisappear(_ animated: Bool) {
         super.viewDidDisappear(animated)
         
-        let notificationCenter = NotificationCenter.default
-        notificationCenter.removeObserver(self, name: NSNotification.Name.UIKeyboardWillShow, object: nil)
-        notificationCenter.removeObserver(self, name: NSNotification.Name.UIKeyboardWillHide, object: nil)
-        
-        SetText()
+//        let notificationCenter = NotificationCenter.default
+//        notificationCenter.removeObserver(self, name: NSNotification.Name.UIKeyboardWillShow, object: nil)
+//        notificationCenter.removeObserver(self, name: NSNotification.Name.UIKeyboardWillHide, object: nil)
+        
+//        SetText()
     }
     
     func SetText(){

//        TimeTo2.inputAccessoryView = pickertoolBar
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }
    
    //表示列
    func numberOfComponents(in pickerView: UIPickerView) -> Int {
        return 3
    }
    
    //表示個数
    func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
        if component == 0 {
            return time.count
        }else if component == 1 {
            return wavyline.count
        }else{
            return time.count
        }
    }
    
    //表示内容
    func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
        
        if component == 0 {
            return time[row]
        }else if component == 1 {
            return wavyline[row]
        }else{
            return time[row]
        }
    }
    
    //選択時
//    func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) {

//        Salaly1.tag = 3
//        Salaly2.tag = 4
        
//        timeUIPicker.tag = 1
        
        //Toolbarの作成
//        let pickertoolBar = UIToolbar()
//        pickertoolBar.barStyle = UIBarStyle.default
//        pickertoolBar.isTranslucent = true
//        pickertoolBar.sizeToFit()
//        let numberpadtoolBar = UIToolbar()
//        numberpadtoolBar.barStyle = UIBarStyle.default
//        numberpadtoolBar.isTranslucent = true
//        numberpadtoolBar.sizeToFit()
        
        //Toolbarにつけるボタンの作成
//        let pickerdoneButton = UIBarButtonItem(title: "完了", style: UIBarButtonItemStyle.plain, target: self, action: #selector(HourlyWageSetting.TapButton(_:)))
//        let pickercancelButton = UIBarButtonItem(title: "キャンセル", style: UIBarButtonItemStyle.plain, target: self, action: #selector(HourlyWageSetting.TapButton(_:)))
//        let flexSpace = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.flexibleSpace, target: nil, action: nil)
//        let salalyButton = UIBarButtonItem(title: "完了", style: UIBarButtonItemStyle.plain, target: self, action: #selector(HourlyWageSetting.TapButton(_:)))
        
//        pickerdoneButton.tag = 10
//        pickercancelButton.tag = 11
//        salalyButton.tag = 30
        
        //Toolbarへボタンの追加
//        pickertoolBar.setItems([pickercancelButton,flexSpace,pickerdoneButton], animated: false)
//        pickertoolBar.isUserInteractionEnabled = true
//        numberpadtoolBar.setItems([flexSpace,salalyButton], animated: false)
//        numberpadtoolBar.isUserInteractionEnabled = true
        
        //PickerViewの追加
//        timeUIPicker.frame = CGRect(x: 0,y: 0,width: self.view.bounds.width/2+20, height: 260.0)
//        timeUIPicker.delegate = self
//        timeUIPicker.dataSource = self
        
