提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description 无线网络连接设置 |
|
8 |
* @date 2023/03/16 14:23:46 |
|
9 |
*/ |
|
10 |
public class CFG_WIRELESS_INFO extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 2G网络使能 |
|
13 |
*/ |
|
14 |
public int bEnable; |
|
15 |
/** |
|
16 |
* 保活时间, 单位为秒,0表示一直连接,不自动断开 |
|
17 |
*/ |
|
18 |
public int nKeepAlive; |
|
19 |
/** |
|
20 |
* 接入的2G网络名称 {@link com.netsdk.lib.enumeration.EM_CFG_APN} |
|
21 |
*/ |
|
22 |
public int emAPN; |
|
23 |
/** |
|
24 |
* 用户名 |
|
25 |
*/ |
|
26 |
public byte[] szUseName = new byte[64]; |
|
27 |
/** |
|
28 |
* 密码 |
|
29 |
*/ |
|
30 |
public byte[] szPassword = new byte[64]; |
|
31 |
/** |
|
32 |
* 每日流量控制策略 {@link com.netsdk.lib.enumeration.EM_CFG_DAY3GFLUXTACTIC} |
|
33 |
*/ |
|
34 |
public int emDay3GFluxTactic; |
|
35 |
/** |
|
36 |
* 每日流量使用上限, MB或者分钟 |
|
37 |
*/ |
|
38 |
public int dwDay3GFluxUp; |
|
39 |
/** |
|
40 |
* 当日的已用流量, MB或者分钟 |
|
41 |
*/ |
|
42 |
public int dwDay3GFluxUse; |
|
43 |
/** |
|
44 |
* 流量报警策略 {@link com.netsdk.lib.enumeration.EM_CFG_DAY3GFLUXACTION} |
|
45 |
*/ |
|
46 |
public int emDay3GFluxAction; |
|
47 |
/** |
|
48 |
* 拨号时间段 |
|
49 |
*/ |
|
50 |
public NetSDKLib.TIME_SECTION_WEEK_DAY_6[] stuTimeSection = new NetSDKLib.TIME_SECTION_WEEK_DAY_6[7]; |
|
51 |
/** |
|
52 |
* 鉴权模式 {@link com.netsdk.lib.enumeration.EM_CFG_AUTHMODE} |
|
53 |
*/ |
|
54 |
public int emAuthMode; |
|
55 |
/** |
|
56 |
* 接入网络名 |
|
57 |
*/ |
|
58 |
public byte[] szAPNName = new byte[32]; |
|
59 |
/** |
|
60 |
* 实际使用流量, [0,65535]MB或者分钟 |
|
61 |
*/ |
|
62 |
public int n3GFlux; |
|
63 |
/** |
|
64 |
* 流量使用策略{@link com.netsdk.lib.enumeration.EM_CFG_3GFLUXTACTIC} |
|
65 |
*/ |
|
66 |
public int em3GFluxTactic; |
|
67 |
/** |
|
68 |
* 流量使用上限 |
|
69 |
*/ |
|
70 |
public int n3GFluxUp; |
|
71 |
/** |
|
72 |
* 工作模式选择 {@link com.netsdk.lib.enumeration.EM_CFG_WORKMODE} |
|
73 |
*/ |
|
74 |
public int emWorkMode; |
|
75 |
/** |
|
76 |
* 拨号号码 |
|
77 |
*/ |
|
78 |
public byte[] szDailNumber = new byte[32]; |
|
79 |
/** |
|
80 |
* 是否已经被语音或短信激活 |
|
81 |
*/ |
|
82 |
public int bActivate; |
|
83 |
|
|
84 |
public CFG_WIRELESS_INFO() { |
|
85 |
for (int i = 0; i < stuTimeSection.length; i++) { |
|
86 |
stuTimeSection[i] = new NetSDKLib.TIME_SECTION_WEEK_DAY_6(); |
|
87 |
} |
|
88 |
} |
|
89 |
} |