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