JLChen
2021-05-18 a869383e163a18cdedcf587383c1eca043129754
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
44
45
46
47
48
//
//  Copyright © 2018年 Zhejiang Dahua Technology Co.,Ltd. All rights reserved.
//
 
import UIKit
 
class DHWifiUnsupportViewController: DHErrorBaseViewController {
 
    override func viewDidLoad() {
        super.viewDidLoad()
 
        // Do any additional setup after loading the view.
        errorView.updateTopImageViewConstraint(top: 20, width: 255, height: 255)
    }
 
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    // MARK: DHAddBaseVCProtocol
    override func leftActionType() -> DHAddBaseLeftAction {
        return .back
    }
    
    override func isRightActionHidden() -> Bool {
        return false
    }
 
    // MARK: DHErrorBaseVCProtocol
    override func errorImageName() -> String {
        return "adddevice_fail_configurationfailure"
    }
    
    override func errorContent() -> String {
        
        return "add_device_device_not_support_5g".lc_T
//        return "不支持5G WIFI情况的详细图文说明"
    }
    
    override func icConfirmHidden() -> Bool {
        return true
    }
    
    override func isQuitHidden() -> Bool {
        return true
    }
}