提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.netsdk.lib.NetSDKLib; |
|
5 |
|
|
6 |
import static com.netsdk.lib.NetSDKLib.NET_GATEWAY_MAX_SIM_NUM; |
|
7 |
|
|
8 |
/** |
|
9 |
* @author 291189 |
|
10 |
* @description 网络相关信息 |
|
11 |
* @date 2022/08/31 14:35:19 |
|
12 |
*/ |
|
13 |
public class NET_DEVSTATUS_NET_INFO extends NetSDKLib.SdkStructure { |
|
14 |
/** |
|
15 |
wifi信号强度等级,0~5,0表示没有信号 |
|
16 |
*/ |
|
17 |
public int nWifiIntensity; |
|
18 |
/** |
|
19 |
wifi信号强度,单位dbm, 0~100,0表示没有信号 |
|
20 |
*/ |
|
21 |
public int nWifiSignal; |
|
22 |
/** |
|
23 |
2g/3g/4g信号强度,单位dbm. 0~100, 0表示没有信号 |
|
24 |
*/ |
|
25 |
public int nCellulSignal; |
|
26 |
/** |
|
27 |
2g/3g/4g信号强度等级,0~5, 0表示没有信号 |
|
28 |
*/ |
|
29 |
public int nCellulIntensity; |
|
30 |
/** |
|
31 |
有线网连接状态 {@link com.netsdk.lib.enumeration.NET_EM_ETH_STATE} |
|
32 |
*/ |
|
33 |
public int emEthState; |
|
34 |
/** |
|
35 |
蜂窝网络实际使用流量,单位:MB |
|
36 |
*/ |
|
37 |
public int n3Gflux; |
|
38 |
/** |
|
39 |
网络实际使用时长,单位:分钟 |
|
40 |
*/ |
|
41 |
public int n3GfluxByTime; |
|
42 |
/** |
|
43 |
网络连接状态 {@link com.netsdk.lib.enumeration.NET_EM_ETH_STATE} |
|
44 |
*/ |
|
45 |
public int emWifiState; |
|
46 |
/** |
|
47 |
蜂窝网络连接状态 {@link com.netsdk.lib.enumeration.NET_EM_ETH_STATE} |
|
48 |
*/ |
|
49 |
public int emCellularstate; |
|
50 |
/** |
|
51 |
SIM卡数量 |
|
52 |
*/ |
|
53 |
public int nSimNum; |
|
54 |
/** |
|
55 |
SIM卡状态信息 |
|
56 |
*/ |
|
57 |
public NET_DEVSTATUS_SIM_INFO[] stuSimInfo=new NET_DEVSTATUS_SIM_INFO[NET_GATEWAY_MAX_SIM_NUM]; |
|
58 |
|
|
59 |
public NET_DEVSTATUS_NET_INFO(){ |
|
60 |
for(int i=0;i<stuSimInfo.length;i++){ |
|
61 |
stuSimInfo[i]=new NET_DEVSTATUS_SIM_INFO(); |
|
62 |
} |
|
63 |
} |
|
64 |
} |