提交 | 用户 | 时间
|
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 CLIENT_AttachThingsInfo接口输入参数 |
|
10 |
* @date 2022/04/20 10:16:57 |
|
11 |
*/ |
|
12 |
public class NET_IN_THINGS_ATTACH extends NetSDKLib.SdkStructure { |
|
13 |
/** |
|
14 |
* 结构体大小, 调用者必须初始化该字段 |
|
15 |
*/ |
|
16 |
public int dwSize; |
|
17 |
/** |
7412dd
|
18 |
* 订阅类型 {@link com.iailab.netsdk.lib.enumeration.EM_ATTACH_TOPICS} |
149dd0
|
19 |
*/ |
H |
20 |
public int emTopics; |
|
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 NetSDKLib.fThingsCallBack cbThingsInfo; |
|
33 |
/** |
|
34 |
* 用户数据 |
|
35 |
*/ |
|
36 |
public Pointer dwUser; |
|
37 |
|
|
38 |
public NET_IN_THINGS_ATTACH() { |
|
39 |
this.dwSize = this.size(); |
|
40 |
} |
|
41 |
} |