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
//
//  Copyright © 2018年 Zhejiang Dahua Technology Co.,Ltd. All rights reserved.
//    输入5次密码后,设备被锁定
 
import UIKit
 
class DHDeviceLockViewController: DHErrorBaseViewController {
 
    override func viewDidLoad() {
        super.viewDidLoad()
 
        // Do any additional setup after loading the view.
        let height = 300 * dh_screenWidth / 375
        errorView.updateTopImageViewConstraint(top: 0, width: dh_screenWidth, height: height)
    }
 
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
 
    // MARK: DHErrorBaseVCProtocol
    override func errorImageName() -> String {
        return "adddevice_netsetting_power"
    }
    
    override func errorContent() -> String {
        return "add_device_device_locked_please_reboot".lc_T
    }
    
    override func icConfirmHidden() -> Bool {
        return false
    }
    
    override func isQuitHidden() -> Bool {
        return true
    }
}