package com.hdl.photovoltaic.ui.bean;
|
|
import java.io.Serializable;
|
|
/**
|
* 设备远程通讯信息对象
|
*/
|
public class DeviceRemoteInfo implements Serializable {
|
public String getGatewayId() {
|
return gatewayId;
|
}
|
|
public void setGatewayId(String gatewayId) {
|
this.gatewayId = gatewayId;
|
}
|
|
public boolean isEncrypt() {
|
return encrypt;
|
}
|
|
public void setEncrypt(boolean encrypt) {
|
this.encrypt = encrypt;
|
}
|
|
public int getAlgorithmType() {
|
return algorithmType;
|
}
|
|
public void setAlgorithmType(int algorithmType) {
|
this.algorithmType = algorithmType;
|
}
|
|
public String getSpk() {
|
return spk;
|
}
|
|
public void setSpk(String spk) {
|
this.spk = spk;
|
}
|
|
public String getMac() {
|
return mac;
|
}
|
|
public void setMac(String mac) {
|
this.mac = mac;
|
}
|
|
public String getSecret() {
|
return secret == null ? "" : secret;
|
}
|
|
public void setSecret(String secret) {
|
this.secret = secret;
|
}
|
|
private String gatewayId;
|
private boolean encrypt;//是否加密
|
private int algorithmType;//0.SM4 1.AES 2.不加密
|
private String spk;
|
private String mac;//设备mac
|
private String secret;//私钥
|
}
|