提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
import com.sun.jna.Pointer; |
|
6 |
|
|
7 |
/** |
|
8 |
* @author 260611 |
|
9 |
* @description 查询联动规则输出参数(对应 EM_THINGS_SERVICE_TYPE_QUERULE) |
|
10 |
* @date 2022/04/20 10:50:22 |
|
11 |
*/ |
|
12 |
public class NET_OUT_THINGS_SERVICE_QUERULE extends NetSDKLib.SdkStructure { |
|
13 |
/** |
|
14 |
* 结构体大小, 调用者必须初始化该字段 |
|
15 |
*/ |
|
16 |
public int dwSize; |
|
17 |
/** |
|
18 |
* 物模型协议错误码定义 |
|
19 |
*/ |
|
20 |
public int nErrcode; |
|
21 |
/** |
|
22 |
* 产品ID |
|
23 |
*/ |
|
24 |
public byte[] szProductID = new byte[64]; |
|
25 |
/** |
|
26 |
* 设备ID |
|
27 |
*/ |
|
28 |
public byte[] szDeviceID = new byte[64]; |
|
29 |
/** |
|
30 |
* 页个数 |
|
31 |
*/ |
|
32 |
public int nPageCount; |
|
33 |
/** |
|
34 |
* 每一页的数据大小 |
|
35 |
*/ |
|
36 |
public int nPageSize; |
|
37 |
/** |
|
38 |
* 总数 |
|
39 |
*/ |
|
40 |
public int nTotal; |
|
41 |
/** |
|
42 |
* 按页查询 |
|
43 |
*/ |
|
44 |
public int nPage; |
|
45 |
/** |
|
46 |
* 实际返回的pstuRules个数 |
|
47 |
*/ |
|
48 |
public int nRetRulesNum; |
|
49 |
/** |
|
50 |
* 用户分配的pstuRules个数 |
|
51 |
*/ |
|
52 |
public int nMaxRulesNum; |
|
53 |
/** |
|
54 |
* 规则详情,用户分配内存,大小为 nMaxRulesNum * sizeof{@link NET_THINGS_SERVICE_QUERULE_RULES} |
|
55 |
*/ |
|
56 |
public Pointer pstuRules; |
|
57 |
|
|
58 |
public NET_OUT_THINGS_SERVICE_QUERULE() { |
|
59 |
this.dwSize = this.size(); |
|
60 |
} |
|
61 |
} |