 
 
 class KPSpecificTimeSupplementView: UIView {
+    
+    var startTime: String?
+    var endTime: String?
     
     lazy var timeLabel: UILabel = {
         let label = UILabel()

    func handleBusinessCheckBoxTwoOnTap(_ sender: KPCheckBox) {
        if sender.checkState == .checked {
            let controller = KPModalViewController()
            controller.presentationStyle = .popout
            controller.contentSize = CGSize(width: 300, height: 350)
            controller.presentationStyle = .popout
            let timePickerController = KPTimePickerViewController()
            timePickerController.delegate = self
            timePickerController.setButtonTitles(["完成"])
            controller.contentController = timePickerController


extension KPSearchConditionViewController: KPTimePickerViewControllerDelegate {
    func timePickerButtonDidTap(_ timePickerController: KPTimePickerViewController, selectedIndex index: Int) {
        timeSupplementView.startTime = timePickerController.startTimeValue
        timeSupplementView.endTime = timePickerController.endTimeValue
        timeSupplementView.timeLabel.text = "\(timePickerController.startTimeValue!)~\(timePickerController.endTimeValue!)"
    }
}
