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