JLChen
2021-04-30 a5247b61d585627a1a7b1e1f35f34de9f0af9fba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
//  Copyright © 2018 dahua. All rights reserved.
//
 
import Foundation
 
 
protocol IDHWiFiConfigPresenter {
    //关联容器
    func setContainer(container: IDHWiFiConfigContainer)
    //加载wifi列表
    func loadWiFiList()
    //前往连接Wifi
    func connectWifi(indexPath: IndexPath)
    // 前往连接隐藏Wifi
    func connectHideWifi()
    // 前往5g 说明
    func  explain5GInfo()
    // 前往wifi 说明
    func explainWifiInfo()
    //是否已经配置过wifi
    func hasConfigedWifi() -> Bool
    
    //返回组个数
    func sectionNumber() -> Int
    //返回cell个数
    func numberOfRowsInSection(section: Int) -> Int
    //配置cell
    func configCell(cell: UITableViewCell, indexPath: IndexPath)
    //界面刷新
    func refresh()
}
 
 
protocol IDHWiFiConfigContainer: class {
    // MARK: 补充协议
    func refreshEnable(isEnable: Bool)
    
    func navigationVC() -> UINavigationController?
    func mainView() -> UIView
    func mainController() -> UIViewController
    func table() -> UITableView
}