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
//
//  Copyright © 2018年 dahua. All rights reserved.
//    离线配网完成操作
 
import LCBaseModule.DHModule
 
@objc public protocol DHOfflineWifiConfigProtocol: DHServiceProtocol {
    
    /// 根据设备id和设备密码更新服务端的设备密码
    ///
    /// - Parameters:
    ///   - deviceId: 设备id
    ///   - devicePassword: 设备密码
    func updateDeviceInfo(deviceId: String, byPassword devicePassword: String)
    
    /// 保存设备密码至本地缓存
    ///
    /// - Parameters:
    ///   - deviceId: 设备id
    ///   - password: 设备密码
    func savePasswordInCache(deviceId: String, password: String)
    
    /// 成功后跳转处理:海外至主页
    func backToMainController()
}