wjc
2025-05-07 b9cc7390e8e8ce64c41c26fb369c98ce669d660c
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package com.hdl.sdk.link.core.bean.gateway;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
 
import androidx.annotation.NonNull;
 
/**
 * Created by Zoro
 * Created on 2023/10/25
 * description:
 */
public class DeviceRemoteInfo implements Serializable {
 
    private String gatewayId;
    private boolean encrypt;//是否加密
    private int algorithmType;//0.SM4  1.AES  2.不加密
    private String spk;
    private String mac;//设备mac
    private String secret;//私钥
 
    public String getGatewayId() {
        return gatewayId == null ? "" : gatewayId;
    }
 
    public void setGatewayId(@NonNull String gatewayId) {
        this.gatewayId = gatewayId;
    }
 
    public boolean isEncrypt() {
        return encrypt;
    }
 
    public void setEncrypt(@NonNull boolean encrypt) {
        this.encrypt = encrypt;
    }
 
    public int getAlgorithmType() {
        return algorithmType;
    }
 
    public void setAlgorithmType(@NonNull int algorithmType) {
        this.algorithmType = algorithmType;
    }
 
    public String getSpk() {
        return spk == null ? "" : spk;
    }
 
    public void setSpk(@NonNull String spk) {
        this.spk = spk;
    }
 
    public String getMac() {
        return mac == null ? "" : mac;
    }
 
    public void setMac(@NonNull String mac) {
        this.mac = mac;
    }
 
    public String getSecret() {
        return secret == null ? "" : secret;
    }
 
    public void setSecret(@NonNull String secret) {
        this.secret = secret;
    }
}