提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 291189 |
|
8 |
* @description 消费相关策略, 对应配置项 NET_EM_CFG_CONSUMPTION_STRATEGY |
|
9 |
* @date 2022/03/07 10:54:03 |
|
10 |
*/ |
|
11 |
public class NET_CFG_CONSUMPTION_STRATEGY_INFO extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
结构体大小 |
|
14 |
*/ |
|
15 |
public int dwSize; |
|
16 |
/** |
7412dd
|
17 |
消费模式 {@link com.iailab.netsdk.lib.enumeration.EM_NET_CONSUMPTION_MODE} |
149dd0
|
18 |
*/ |
H |
19 |
public int emMode; |
|
20 |
/** |
|
21 |
离线消费使能, TRUE:支持离线消费 FALSE:不支持离线消费 |
|
22 |
*/ |
|
23 |
public boolean bOfflineEnable; |
|
24 |
/** |
|
25 |
同一个人消费间隔, 单位:秒,取值范围[1,600] |
|
26 |
*/ |
|
27 |
public int nConsumptionInterval; |
|
28 |
|
|
29 |
public NET_CFG_CONSUMPTION_STRATEGY_INFO(){ |
|
30 |
this.dwSize=this.size(); |
|
31 |
} |
|
32 |
|
|
33 |
@Override |
|
34 |
public String toString() { |
|
35 |
return "NET_CFG_CONSUMPTION_STRATEGY_INFO{" + |
|
36 |
"dwSize=" + dwSize + |
|
37 |
", emMode=" + emMode + |
|
38 |
", bOfflineEnable=" + bOfflineEnable + |
|
39 |
", nConsumptionInterval=" + nConsumptionInterval + |
|
40 |
'}'; |
|
41 |
} |
|
42 |
} |