提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description 获取视频统计摘要信息结构体 |
|
8 |
* @date 2022/12/19 09:10:21 |
|
9 |
*/ |
|
10 |
public class CFG_VIDEOSATA_SUMMARY_INFO extends NetSDKLib.SdkStructure { |
|
11 |
|
|
12 |
public int nStructSize; |
|
13 |
/** |
|
14 |
* 统计通道号 |
|
15 |
*/ |
|
16 |
public int nChannelID; |
|
17 |
/** |
|
18 |
* 规则名称 |
|
19 |
*/ |
|
20 |
public byte[] szRuleName = new byte[128]; |
|
21 |
/** |
|
22 |
* 统计时间,转换到UTC |
|
23 |
*/ |
|
24 |
public CFG_NET_TIME_EX stuStatTime = new CFG_NET_TIME_EX(); |
|
25 |
/** |
|
26 |
* 进入总计 |
|
27 |
*/ |
|
28 |
public int nEnteredTotal; |
|
29 |
/** |
|
30 |
* 今天进入总计 |
|
31 |
*/ |
|
32 |
public int nEnteredToday; |
|
33 |
/** |
|
34 |
* 本月进入总计 |
|
35 |
*/ |
|
36 |
public int nEnteredMonth; |
|
37 |
/** |
|
38 |
* 今年进入总计 |
|
39 |
*/ |
|
40 |
public int nEnteredYear; |
|
41 |
/** |
|
42 |
* 每日最大进入总计 |
|
43 |
*/ |
|
44 |
public int nEnteredDaily; |
|
45 |
/** |
|
46 |
* 出去总计 |
|
47 |
*/ |
|
48 |
public int nExitedTotal; |
|
49 |
/** |
|
50 |
* 今天出去总计 |
|
51 |
*/ |
|
52 |
public int nExitedToday; |
|
53 |
/** |
|
54 |
* 本月出去总计 |
|
55 |
*/ |
|
56 |
public int nExitedMonth; |
|
57 |
/** |
|
58 |
* 今年出去总计 |
|
59 |
*/ |
|
60 |
public int nExitedYear; |
|
61 |
/** |
|
62 |
* 每日最大出去总计 |
|
63 |
*/ |
|
64 |
public int nExitedDaily; |
|
65 |
/** |
|
66 |
* 平均所有保有统计(除去零值) |
|
67 |
*/ |
|
68 |
public int nAvgTotal; |
|
69 |
/** |
|
70 |
* 平均今天保有统计 |
|
71 |
*/ |
|
72 |
public int nAvgToday; |
|
73 |
/** |
|
74 |
* 平均本月保有统计 |
|
75 |
*/ |
|
76 |
public int nAvgMonth; |
|
77 |
/** |
|
78 |
* 平均今年保有统计 |
|
79 |
*/ |
|
80 |
public int nAvgYear; |
|
81 |
/** |
|
82 |
* 最大所有保有统计(除去零值) |
|
83 |
*/ |
|
84 |
public int nMaxTotal; |
|
85 |
/** |
|
86 |
* 最大今天保有统计 |
|
87 |
*/ |
|
88 |
public int nMaxToday; |
|
89 |
/** |
|
90 |
* 最大本月保有统计 |
|
91 |
*/ |
|
92 |
public int nMaxMonth; |
|
93 |
/** |
|
94 |
* 最大今年保有统计 |
|
95 |
*/ |
|
96 |
public int nMaxYear; |
|
97 |
/** |
|
98 |
* 区域内人数 |
|
99 |
*/ |
|
100 |
public int nInsideSubTotal; |
|
101 |
/** |
7412dd
|
102 |
* 规则类型 {@link com.iailab.netsdk.lib.enumeration.EM_CFG_RULE_TYPE} |
149dd0
|
103 |
*/ |
H |
104 |
public int emRuleType; |
|
105 |
/** |
|
106 |
* 离开人员的数量 |
|
107 |
*/ |
|
108 |
public int nRetExitManNum; |
|
109 |
/** |
|
110 |
* 离开人员的滞留时间信息 |
|
111 |
*/ |
|
112 |
public CFG_EXITMAN_STAY_STAT[] stuExitManStayInfo = new CFG_EXITMAN_STAY_STAT[32]; |
|
113 |
/** |
|
114 |
* 设备运行后猪只统计总数,重启后从上次总数开始继续累加 |
|
115 |
*/ |
|
116 |
public int nEnteredTotalPig; |
|
117 |
/** |
|
118 |
* 小时内的总猪只数量 |
|
119 |
*/ |
|
120 |
public int nEnteredHourPig; |
|
121 |
/** |
|
122 |
* 当天的总猪只数(自然天) |
|
123 |
*/ |
|
124 |
public int nEnteredTodayPig; |
|
125 |
/** |
|
126 |
* IPC专用,如果不执行clearSectionStat操作,等同于TodayPig猪只数 |
|
127 |
*/ |
|
128 |
public int nEnteredTotalPigInTimeSection; |
|
129 |
/** |
|
130 |
* 设备运行后猪只统计总数,重启后从上次总数开始继续累加 |
|
131 |
*/ |
|
132 |
public int nExitedTotalPig; |
|
133 |
/** |
|
134 |
* 小时内的总猪只数量 |
|
135 |
*/ |
|
136 |
public int nExitedHourPig; |
|
137 |
/** |
|
138 |
* 当天的总猪只数(自然天) |
|
139 |
*/ |
|
140 |
public int nExitedTodayPig; |
|
141 |
/** |
|
142 |
* IPC专用,如果不执行clearSectionStat操作,等同于TodayPig猪只数 |
|
143 |
*/ |
|
144 |
public int nExitedTotalPigInTimeSection; |
|
145 |
/** |
|
146 |
* 区域内猪只数 |
|
147 |
*/ |
|
148 |
public int nInsideTotalPig; |
|
149 |
/** |
|
150 |
* 猪只离开滞留时间信息个数 |
|
151 |
*/ |
|
152 |
public int nInsidePigStayStatCount; |
|
153 |
/** |
|
154 |
* 猪只离开滞留时间信息 |
|
155 |
*/ |
|
156 |
public CFG_PIG_STAY_STAT[] stuInsidePigStayStatInfo = new CFG_PIG_STAY_STAT[32]; |
|
157 |
/** |
|
158 |
* 当天的猪只数 |
|
159 |
*/ |
|
160 |
public int nInsideTodayPig; |
|
161 |
/** |
|
162 |
* 自动清零时间段内的人数(IPC专用,如果不执行clearSectionStat操作,等同于Today人数) |
|
163 |
*/ |
|
164 |
public int nEnteredTotalInTimeSection; |
|
165 |
/** |
|
166 |
* 自动清零时间段内的人数(IPC专用,如果不执行clearSectionStat操作,等同于Today人数) |
|
167 |
*/ |
|
168 |
public int nExitedTotalInTimeSection; |
|
169 |
|
|
170 |
public CFG_VIDEOSATA_SUMMARY_INFO() { |
|
171 |
this.nStructSize = this.size(); |
|
172 |
for (int i = 0; i < stuExitManStayInfo.length; i++) { |
|
173 |
stuExitManStayInfo[i] = new CFG_EXITMAN_STAY_STAT(); |
|
174 |
} |
|
175 |
for (int i = 0; i < stuInsidePigStayStatInfo.length; i++) { |
|
176 |
stuInsidePigStayStatInfo[i] = new CFG_PIG_STAY_STAT(); |
|
177 |
} |
|
178 |
} |
|
179 |
} |