提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 260611 |
|
8 |
* @description 添加设备输入参数(对应 EM_THINGS_SERVICE_TYPE_ADDDEVICE) |
|
9 |
* @date 2022/04/20 10:50:22 |
|
10 |
*/ |
|
11 |
public class NET_IN_THINGS_SERVICE_ADDDEVICE extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
* 结构体大小, 调用者必须初始化该字段 |
|
14 |
*/ |
|
15 |
public int dwSize; |
|
16 |
/** |
|
17 |
* 产品ID,全网唯一 |
|
18 |
*/ |
|
19 |
public byte[] szProductID = new byte[64]; |
|
20 |
/** |
|
21 |
* 设备ID |
|
22 |
*/ |
|
23 |
public byte[] szDeviceID = new byte[64]; |
|
24 |
/** |
|
25 |
* 添加设备类型,3:电表 5:塑壳 6:烟感 |
|
26 |
*/ |
|
27 |
public int nDevCata; |
|
28 |
/** |
|
29 |
* 485地址(塑壳、烟感填写) |
|
30 |
*/ |
|
31 |
public int nDev485Addr; |
|
32 |
/** |
|
33 |
* 设备序列号(电表填写) |
|
34 |
*/ |
|
35 |
public byte[] szDevSn = new byte[128]; |
|
36 |
/** |
|
37 |
* 设备别名(电表填写) |
|
38 |
*/ |
|
39 |
public byte[] szDevName = new byte[128]; |
|
40 |
|
|
41 |
public NET_IN_THINGS_SERVICE_ADDDEVICE() { |
|
42 |
this.dwSize = this.size(); |
|
43 |
} |
|
44 |
} |