1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package com.netsdk.lib.structure;
 
import com.netsdk.lib.NetSDKLib;
 
/**
 * @author 251823
 * @description 事件类型 EVENT_IVS_VEHICLE_DISTANCE_NEAR (安全驾驶车距过近报警事件) 对应的数据块描述信息
 * @date 2021/09/27
 */
public class DEV_EVENT_VEHICLE_DISTANCE_NEAR_INFO extends NetSDKLib.SdkStructure {
    /**
     事件动作, 0表示脉冲事件, 1表示持续性事件开始, 2表示持续性事件结束;
     */
    public            int                    nAction;
    /**
     事件发生的时间
     */
    public            NET_TIME_EX                    UTC=new NET_TIME_EX();
    /**
     GPS信息
     */
    public            NET_GPS_STATUS_INFO                    stuGPSStatusInfo=new NET_GPS_STATUS_INFO();
    /**
     司机ID
     */
    public            byte[]                    szDriverID=new byte[32];
    /**
     违章关联视频FTP上传路径
     */
    public            byte[]                    szVideoPath=new byte[256];
    /**
     违章关联的多个视频信息个数
     */
    public            int                    nRelatingVideoInfoNum;
    /**
     违章关联的多个视频信息数组,最多支持16个视频
     */
    public            NET_RELATING_VIDEO_INFO[]                    stuRelatingVideoInfo=new NET_RELATING_VIDEO_INFO[16];
    /**
     横向距离, 单位米
     */
    public            float                    fHorizontalDistance;
    /**
     纵向距离, 单位米
     */
    public            float                    fParallelDistance;
    /**
     报警目标左上角坐标X
     */
    public            int                    nTargetCoordsX;
    /**
     报警目标左上角坐标Y
     */
    public            int                    nTargetCoordsY;
    /**
     报警目标坐标, 高
     */
    public            int                    nTargetCoordsHeight;
    /**
     报警目标坐标, 宽
     */
    public            int                    nTargetCoordsWidth;
    /**
     预留字节
     */
    public            byte[]                    bReserved=new byte[712];
 
    public            DEV_EVENT_VEHICLE_DISTANCE_NEAR_INFO(){
        for(int i=0;i<stuRelatingVideoInfo.length;i++){
            stuRelatingVideoInfo[i]=new NET_RELATING_VIDEO_INFO();
        }
    }
}