提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 291189 |
|
7 |
* @description 平台下发轮询配置信息 |
|
8 |
* @date 2022/07/04 10:56:48 |
|
9 |
*/ |
|
10 |
public class NET_SET_POLLING_CONFIG_INFO extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 使能开关 |
|
13 |
*/ |
|
14 |
public int bEnable; |
|
15 |
/** |
|
16 |
* 通道号 |
|
17 |
*/ |
|
18 |
public int nChannel; |
|
19 |
/** |
|
20 |
* 全局配置 |
|
21 |
*/ |
|
22 |
public byte[] szGlobalType = new byte[64]; |
|
23 |
/** |
|
24 |
* 规则配置个数 |
|
25 |
*/ |
|
26 |
public int nRulelTypeCnt; |
|
27 |
/** |
|
28 |
* 保留字节 |
|
29 |
*/ |
|
30 |
public byte[] szReserved1 = new byte[4]; |
|
31 |
/** |
|
32 |
* 规则配置 |
|
33 |
*/ |
|
34 |
public Byte64Arr[] szRulelType = new Byte64Arr[16]; |
|
35 |
/** |
|
36 |
* 全局配置列表, 扩展支持单个通道多种智能的开启,和szGlobalType二选一使能,如果szGlobalTypeList 里面有场景内容则优先使用 |
|
37 |
*/ |
|
38 |
public Byte64Arr[] szGlobalTypeList = new Byte64Arr[6]; |
|
39 |
/** |
|
40 |
* 全局配置列表个数 |
|
41 |
*/ |
|
42 |
public int nGlobalTypeListNum; |
|
43 |
/** |
|
44 |
* 保留字节 |
|
45 |
*/ |
|
46 |
public byte[] szReserved = new byte[636]; |
|
47 |
|
|
48 |
public NET_SET_POLLING_CONFIG_INFO() { |
|
49 |
for (int i = 0; i < szRulelType.length; i++) { |
|
50 |
szRulelType[i] = new Byte64Arr(); |
|
51 |
} |
|
52 |
for (int i = 0; i < szGlobalTypeList.length; i++) { |
|
53 |
szGlobalTypeList[i] = new Byte64Arr(); |
|
54 |
} |
|
55 |
|
|
56 |
} |
|
57 |
} |