提交 | 用户 | 时间
|
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 251823 |
|
8 |
* @description 事件类型 EVENT_IVS_SNAPBYTIME(定时抓图事件)对应数据块描述信息 |
|
9 |
* @origin autoTool |
|
10 |
* @date 2023/10/26 19:39:31 |
|
11 |
*/ |
|
12 |
public class DEV_EVENT_SNAPBYTIME extends NetSDKLib.SdkStructure { |
|
13 |
/** |
|
14 |
* / 通道号 |
|
15 |
*/ |
|
16 |
public int nChannelID; |
|
17 |
/** |
|
18 |
* / 事件名称 |
|
19 |
*/ |
|
20 |
public byte[] szName = new byte[128]; |
|
21 |
/** |
|
22 |
* / 字节对齐 |
|
23 |
*/ |
|
24 |
public byte[] bReserved1 = new byte[4]; |
|
25 |
/** |
|
26 |
* / 时间戳(单位是毫秒) |
|
27 |
*/ |
|
28 |
public double PTS; |
|
29 |
/** |
|
30 |
* / 事件发生的时间 |
|
31 |
*/ |
|
32 |
public NET_TIME_EX UTC = new NET_TIME_EX(); |
|
33 |
/** |
|
34 |
* / 事件ID |
|
35 |
*/ |
|
36 |
public int nEventID; |
|
37 |
/** |
|
38 |
* / 抓图时间 |
|
39 |
*/ |
|
40 |
public NET_TIME_EX stuSnapTime = new NET_TIME_EX(); |
|
41 |
/** |
|
42 |
* / 液位值,单位mm |
|
43 |
*/ |
|
44 |
public int uLiquidLevel; |
|
45 |
/** |
|
46 |
* / 测距值,单位mm |
|
47 |
*/ |
|
48 |
public int uDistMeasure; |
|
49 |
/** |
|
50 |
* / 温度值,单位℃ |
|
51 |
*/ |
|
52 |
public int nTemperature; |
|
53 |
/** |
|
54 |
* / 湿度值,单位RH |
|
55 |
*/ |
|
56 |
public int nHumidity; |
|
57 |
/** |
|
58 |
* / 数据个数 |
|
59 |
*/ |
|
60 |
public int nDataNum; |
|
61 |
/** |
|
62 |
* / 数据列表 |
|
63 |
*/ |
|
64 |
public EVENT_SNAPBYTIME_DATA[] stuDataList = new EVENT_SNAPBYTIME_DATA[20]; |
|
65 |
/** |
|
66 |
* / 图片信息数组, refer to {@link NET_IMAGE_INFO_EX3} |
|
67 |
*/ |
|
68 |
public Pointer pstuImageInfo; |
|
69 |
/** |
|
70 |
* / 图片信息个数 |
|
71 |
*/ |
|
72 |
public int nImageInfoNum; |
|
73 |
/** |
|
74 |
* null |
|
75 |
*/ |
|
76 |
public byte[] szReversed = new byte[744 - NetSDKLib.POINTERSIZE]; |
|
77 |
|
|
78 |
public DEV_EVENT_SNAPBYTIME() { |
|
79 |
for (int i = 0; i < stuDataList.length; i++) { |
|
80 |
stuDataList[i] = new EVENT_SNAPBYTIME_DATA(); |
|
81 |
} |
|
82 |
} |
|
83 |
} |