提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
import com.sun.jna.Pointer; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 260611 |
|
8 |
* @description CLIENT_SetZoneArmMode 接口出参, 仅接口失败时下列参数有效 |
|
9 |
* @origin autoTool |
|
10 |
* @date 2023/08/10 09:52:29 |
|
11 |
*/ |
|
12 |
public class NET_OUT_SET_ZONE_ARMODE_INFO extends NetSDKLib.SdkStructure { |
|
13 |
/** |
|
14 |
* 此结构体大小,必须赋值 |
|
15 |
*/ |
|
16 |
public int dwSize; |
|
17 |
/** |
|
18 |
* 布防结果,0: 成功,1: 失败 |
|
19 |
*/ |
|
20 |
public int nArmResult; |
|
21 |
/** |
|
22 |
* 失败详情数组有效个数 |
|
23 |
*/ |
|
24 |
public int nAreaAbnormalNum; |
|
25 |
/** |
|
26 |
* 设备异常信息数组有效个数 |
|
27 |
*/ |
|
28 |
public int nDeviceFaultNum; |
|
29 |
/** |
|
30 |
* 失败详情实际返回有效个数 |
|
31 |
*/ |
|
32 |
public int nAreaAbnormalRetNum; |
|
33 |
/** |
|
34 |
* 错误码 |
|
35 |
*/ |
|
36 |
public int nCode; |
|
37 |
/** |
|
38 |
* 失败详情,需由用户申请,申请内存大小为sizeof(NET_AREA_ABNORMAL_INFO)*nAreaAbnormalNum, refer to |
|
39 |
* {@link NET_AREA_ABNORMAL_INFO} |
|
40 |
*/ |
|
41 |
public Pointer pstuAreaAbnormal; |
|
42 |
/** |
|
43 |
* 设备异常信息 |
|
44 |
*/ |
|
45 |
public NET_ZONE_ARM_MODE_DEVICE_FAULT_INFO[] stuDeviceFault = new NET_ZONE_ARM_MODE_DEVICE_FAULT_INFO[64]; |
|
46 |
/** |
|
47 |
* 错误说明 |
|
48 |
*/ |
|
49 |
public byte[] szMessage = new byte[256]; |
|
50 |
|
|
51 |
public NET_OUT_SET_ZONE_ARMODE_INFO() { |
|
52 |
for (int i = 0; i < stuDeviceFault.length; i++) { |
|
53 |
stuDeviceFault[i] = new NET_ZONE_ARM_MODE_DEVICE_FAULT_INFO(); |
|
54 |
} |
|
55 |
this.dwSize = this.size(); |
|
56 |
} |
|
57 |
} |