public class DeviceNetInfo extends AbstractModel
header, skipSign| Constructor and Description |
|---|
DeviceNetInfo() |
DeviceNetInfo(DeviceNetInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDataEnable()
Get 启用/禁用
|
Long |
getDataRx()
Get 接收实时速率
|
Long |
getDataTx()
Get 发送实时速率
|
String |
getDownloadLimit()
Get 下行限速
|
Float |
getDownRate()
Get 下行实时速率(浮点数类型代替上一版本DataRx的整型)
|
String |
getNetInfoName()
Get 网卡名
|
String |
getPublicIp()
Get 公网IP
|
Long |
getRat()
Get 数据网络类型:
-1 :无效值
2:2G
3:3G
4:4G
5:5G
|
Long |
getSignalStrength()
Get 信号强度/单位:dbm
|
Long |
getState()
Get 连接状态:
0:无连接
1:连接中
2:已连接
|
Long |
getType()
Get 网络类型:
0:数据
1:Wi-Fi
2:有线
|
String |
getUploadLimit()
Get 上行限速
|
Float |
getUpRate()
Get 上行实时速率(浮点数类型代替上一版本TxRate的整型)
|
Long |
getVendor()
Get 运营商类型:
1: 中国移动;
2: 中国电信;
3: 中国联通
|
void |
setDataEnable(Boolean DataEnable)
Set 启用/禁用
|
void |
setDataRx(Long DataRx)
Set 接收实时速率
|
void |
setDataTx(Long DataTx)
Set 发送实时速率
|
void |
setDownloadLimit(String DownloadLimit)
Set 下行限速
|
void |
setDownRate(Float DownRate)
Set 下行实时速率(浮点数类型代替上一版本DataRx的整型)
|
void |
setNetInfoName(String NetInfoName)
Set 网卡名
|
void |
setPublicIp(String PublicIp)
Set 公网IP
|
void |
setRat(Long Rat)
Set 数据网络类型:
-1 :无效值
2:2G
3:3G
4:4G
5:5G
|
void |
setSignalStrength(Long SignalStrength)
Set 信号强度/单位:dbm
|
void |
setState(Long State)
Set 连接状态:
0:无连接
1:连接中
2:已连接
|
void |
setType(Long Type)
Set 网络类型:
0:数据
1:Wi-Fi
2:有线
|
void |
setUploadLimit(String UploadLimit)
Set 上行限速
|
void |
setUpRate(Float UpRate)
Set 上行实时速率(浮点数类型代替上一版本TxRate的整型)
|
void |
setVendor(Long Vendor)
Set 运营商类型:
1: 中国移动;
2: 中国电信;
3: 中国联通
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DeviceNetInfo()
public DeviceNetInfo(DeviceNetInfo source)
public Long getType()
public void setType(Long Type)
Type - 网络类型:
0:数据
1:Wi-Fi
2:有线public Boolean getDataEnable()
public void setDataEnable(Boolean DataEnable)
DataEnable - 启用/禁用public String getUploadLimit()
public void setUploadLimit(String UploadLimit)
UploadLimit - 上行限速public String getDownloadLimit()
public void setDownloadLimit(String DownloadLimit)
DownloadLimit - 下行限速public Long getDataRx()
public void setDataRx(Long DataRx)
DataRx - 接收实时速率public Long getDataTx()
public void setDataTx(Long DataTx)
DataTx - 发送实时速率public Long getVendor()
public void setVendor(Long Vendor)
Vendor - 运营商类型:
1: 中国移动;
2: 中国电信;
3: 中国联通public Long getState()
public void setState(Long State)
State - 连接状态:
0:无连接
1:连接中
2:已连接public String getPublicIp()
public void setPublicIp(String PublicIp)
PublicIp - 公网IPpublic Long getSignalStrength()
public void setSignalStrength(Long SignalStrength)
SignalStrength - 信号强度/单位:dbmpublic Long getRat()
public void setRat(Long Rat)
Rat - 数据网络类型:
-1 :无效值
2:2G
3:3G
4:4G
5:5Gpublic String getNetInfoName()
public void setNetInfoName(String NetInfoName)
NetInfoName - 网卡名public Float getDownRate()
public void setDownRate(Float DownRate)
DownRate - 下行实时速率(浮点数类型代替上一版本DataRx的整型)public Float getUpRate()
public void setUpRate(Float UpRate)
UpRate - 上行实时速率(浮点数类型代替上一版本TxRate的整型)Copyright © 2025. All rights reserved.