提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 291189 |
|
7 |
* @description 仪表检测事件, 对应事件类型 EVENT_IVS_DIALRECOGNITION |
|
8 |
* @date 2022/06/28 19:24:08 |
|
9 |
*/ |
|
10 |
public class DEV_EVENT_DIALRECOGNITION_INFO extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 视频通道号,从0开始 |
|
13 |
*/ |
|
14 |
public int nChannelID; |
|
15 |
/** |
|
16 |
* 预置点ID,如果普通IPC则为0 |
|
17 |
*/ |
|
18 |
public int nPresetID; |
|
19 |
/** |
|
20 |
* 任务ID.添加时设备端生成 |
|
21 |
*/ |
|
22 |
public byte[] szTaskID = new byte[64]; |
|
23 |
/** |
7412dd
|
24 |
* 仪表类型 {@link com.iailab.netsdk.lib.enumeration.EM_INSTRUMENT_TYPE} |
149dd0
|
25 |
*/ |
H |
26 |
public int emType; |
|
27 |
/** |
|
28 |
* 返回的图片信息个数 |
|
29 |
*/ |
|
30 |
public int nRetImageInfoNum; |
|
31 |
/** |
|
32 |
* 图片信息 |
|
33 |
*/ |
|
34 |
public NET_IMAGE_INFO[] stuImgaeInfo = new NET_IMAGE_INFO[8]; |
|
35 |
/** |
|
36 |
* 检测结果,根据Type的不同,格式也不同 |
|
37 |
*/ |
|
38 |
public byte[] szDialResult = new byte[2048]; |
|
39 |
/** |
|
40 |
* 原始图片在二进制数据块中的偏移 |
|
41 |
*/ |
|
42 |
public int nOriginalImageOffset; |
|
43 |
/** |
|
44 |
* 原始图片大小,单位:字节 |
|
45 |
*/ |
|
46 |
public int nOriginalImageLength; |
|
47 |
/** |
|
48 |
* 告警类型:0-该字段无效;1-数值异常;2-定时上报; 3-高阀值报警; 4-低阀值报警 |
|
49 |
*/ |
|
50 |
public int nAlarmType; |
|
51 |
|
|
52 |
/** |
|
53 |
* 仪表检测具体子类型 |
|
54 |
*/ |
|
55 |
public byte[] szDialSubType = new byte[32]; |
|
56 |
/** |
|
57 |
* 报警上限阈值 |
|
58 |
*/ |
|
59 |
public float fUpperThreshold; |
|
60 |
/** |
|
61 |
* 报警下限阈值 |
|
62 |
*/ |
|
63 |
public float fLowerThreshold; |
|
64 |
/** |
|
65 |
* 包围盒 |
|
66 |
*/ |
|
67 |
public NET_RECT[] stuBoundingBox = new NET_RECT[128]; |
|
68 |
/** |
|
69 |
* 包围盒个数 |
|
70 |
*/ |
|
71 |
public int nRetBoundingBoxNum; |
|
72 |
/** |
|
73 |
* 预留字节 |
|
74 |
*/ |
|
75 |
public byte[] szReserved = new byte[968]; |
|
76 |
|
|
77 |
public DEV_EVENT_DIALRECOGNITION_INFO() { |
|
78 |
for (int i = 0; i < stuImgaeInfo.length; i++) { |
|
79 |
stuImgaeInfo[i] = new NET_IMAGE_INFO(); |
|
80 |
} |
|
81 |
} |
|
82 |
} |