648540858
2022-07-06 8aa0bdf539582b9d710503121d911bb166ca7c8e
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
package com.genersoft.iot.vmp.gb28181.bean;
 
public class DeviceChannel {
 
 
    /**
     * 数据库自增ID
     */
    private int id;
 
    /**
     * 通道id
     */
    private String channelId;
 
    /**
     * 设备id
     */
    private String deviceId;
    
    /**
     * 通道名
     */
    private String name;
    
    /**
     * 生产厂商
     */
    private String manufacture;
    
    /**
     * 型号
     */
    private String model;
    
    /**
     * 设备归属
     */
    private String owner;
    
    /**
     * 行政区域
     */
    private String civilCode;
    
    /**
     * 警区
     */
    private String block;
 
    /**
     * 安装地址
     */
    private String address;
    
    /**
     * 是否有子设备 1有, 0没有
     */
    private int parental;
    
    /**
     * 父级id
     */
    private String parentId;
    
    /**
     * 信令安全模式  缺省为0; 0:不采用; 2: S/MIME签名方式; 3: S/ MIME加密签名同时采用方式; 4:数字摘要方式
     */
    private int safetyWay;
    
    /**
     * 注册方式 缺省为1;1:符合IETFRFC3261标准的认证注册模 式; 2:基于口令的双向认证注册模式; 3:基于数字证书的双向认证注册模式
     */
    private int registerWay;
    
    /**
     * 证书序列号
     */
    private String certNum;
    
    /**
     * 证书有效标识 缺省为0;证书有效标识:0:无效1: 有效
     */
    private int certifiable;
    
    /**
     * 证书无效原因码
     */
    private int errCode;
    
    /**
     * 证书终止有效期
     */
    private String endTime;
    
    /**
     * 保密属性 缺省为0; 0:不涉密, 1:涉密
     */
    private String secrecy;
    
    /**
     * IP地址
     */
    private String ipAddress;
    
    /**
     * 端口号
     */
    private int port;
    
    /**
     * 密码
     */
    private String password;
 
    /**
     * 云台类型
     */
    private int PTZType;
 
    /**
     * 云台类型描述字符串
     */
    private String PTZTypeText;
 
    /**
     * 创建时间
     */
    private String createTime;
 
    /**
     * 更新时间
     */
    private String updateTime;
    
    /**
     * 在线/离线
     * 1在线,0离线
     * 默认在线
     * 信令:
     * <Status>ON</Status>
     * <Status>OFF</Status>
     * 遇到过NVR下的IPC下发信令可以推流, 但是 Status 响应 OFF
     */
    private int status;
 
    /**
     * 经度
     */
    private double longitude;
    
    /**
     * 纬度
     */
    private double latitude;
 
    /**
     * 经度 GCJ02
     */
    private double longitudeGcj02;
 
    /**
     * 纬度 GCJ02
     */
    private double latitudeGcj02;
 
    /**
     * 经度 WGS84
     */
    private double longitudeWgs84;
 
    /**
     * 纬度 WGS84
     */
    private double latitudeWgs84;
 
    /**
     * 子设备数
     */
    private int subCount;
 
    /**
     * 流唯一编号,存在表示正在直播
     */
    private String  streamId;
 
    /**
     *  是否含有音频
     */
    private boolean hasAudio;
 
    /**
     * 标记通道的类型,0->国标通道 1->直播流通道 2->业务分组/虚拟组织/行政区划
     */
    private int channelType;
 
    /**
     * 业务分组
     */
    private String businessGroupId;
 
    /**
     * GPS的更新时间
     */
    private String gpsTime;
 
    public int getId() {
        return id;
    }
 
    public void setId(int id) {
        this.id = id;
    }
 
    public String getDeviceId() {
        return deviceId;
    }
 
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
 
    public void setPTZType(int PTZType) {
        this.PTZType = PTZType;
        switch (PTZType) {
            case 0:
                this.PTZTypeText = "未知";
                break;
            case 1:
                this.PTZTypeText = "球机";
                break;
            case 2:
                this.PTZTypeText = "半球";
                break;
            case 3:
                this.PTZTypeText = "固定枪机";
                break;
            case 4:
                this.PTZTypeText = "遥控枪机";
                break;
        }
    }
 
    public String getChannelId() {
        return channelId;
    }
 
    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getManufacture() {
        return manufacture;
    }
 
    public void setManufacture(String manufacture) {
        this.manufacture = manufacture;
    }
 
    public String getModel() {
        return model;
    }
 
    public void setModel(String model) {
        this.model = model;
    }
 
    public String getOwner() {
        return owner;
    }
 
    public void setOwner(String owner) {
        this.owner = owner;
    }
 
    public String getCivilCode() {
        return civilCode;
    }
 
    public void setCivilCode(String civilCode) {
        this.civilCode = civilCode;
    }
 
    public String getBlock() {
        return block;
    }
 
    public void setBlock(String block) {
        this.block = block;
    }
 
    public String getAddress() {
        return address;
    }
 
    public void setAddress(String address) {
        this.address = address;
    }
 
    public int getParental() {
        return parental;
    }
 
    public void setParental(int parental) {
        this.parental = parental;
    }
 
    public String getParentId() {
        return parentId;
    }
 
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
 
    public int getSafetyWay() {
        return safetyWay;
    }
 
    public void setSafetyWay(int safetyWay) {
        this.safetyWay = safetyWay;
    }
 
    public int getRegisterWay() {
        return registerWay;
    }
 
    public void setRegisterWay(int registerWay) {
        this.registerWay = registerWay;
    }
 
    public String getCertNum() {
        return certNum;
    }
 
    public void setCertNum(String certNum) {
        this.certNum = certNum;
    }
 
    public int getCertifiable() {
        return certifiable;
    }
 
    public void setCertifiable(int certifiable) {
        this.certifiable = certifiable;
    }
 
    public int getErrCode() {
        return errCode;
    }
 
    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }
 
    public String getEndTime() {
        return endTime;
    }
 
    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
 
    public String getSecrecy() {
        return secrecy;
    }
 
    public void setSecrecy(String secrecy) {
        this.secrecy = secrecy;
    }
 
    public String getIpAddress() {
        return ipAddress;
    }
 
    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }
 
    public int getPort() {
        return port;
    }
 
    public void setPort(int port) {
        this.port = port;
    }
 
    public String getPassword() {
        return password;
    }
 
    public void setPassword(String password) {
        this.password = password;
    }
 
    public int getPTZType() {
        return PTZType;
    }
 
    public String getPTZTypeText() {
        return PTZTypeText;
    }
 
    public void setPTZTypeText(String PTZTypeText) {
        this.PTZTypeText = PTZTypeText;
    }
 
    public int getStatus() {
        return status;
    }
 
    public void setStatus(int status) {
        this.status = status;
    }
 
    public double getLongitude() {
        return longitude;
    }
 
    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }
 
    public double getLatitude() {
        return latitude;
    }
 
    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }
 
    public double getLongitudeGcj02() {
        return longitudeGcj02;
    }
 
    public void setLongitudeGcj02(double longitudeGcj02) {
        this.longitudeGcj02 = longitudeGcj02;
    }
 
    public double getLatitudeGcj02() {
        return latitudeGcj02;
    }
 
    public void setLatitudeGcj02(double latitudeGcj02) {
        this.latitudeGcj02 = latitudeGcj02;
    }
 
    public double getLongitudeWgs84() {
        return longitudeWgs84;
    }
 
    public void setLongitudeWgs84(double longitudeWgs84) {
        this.longitudeWgs84 = longitudeWgs84;
    }
 
    public double getLatitudeWgs84() {
        return latitudeWgs84;
    }
 
    public void setLatitudeWgs84(double latitudeWgs84) {
        this.latitudeWgs84 = latitudeWgs84;
    }
 
    public int getSubCount() {
        return subCount;
    }
 
    public void setSubCount(int subCount) {
        this.subCount = subCount;
    }
 
    public boolean isHasAudio() {
        return hasAudio;
    }
 
    public void setHasAudio(boolean hasAudio) {
        this.hasAudio = hasAudio;
    }
 
    public String getStreamId() {
        return streamId;
    }
 
    public void setStreamId(String streamId) {
        this.streamId = streamId;
    }
 
    public String getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
 
    public String getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
 
    public int getChannelType() {
        return channelType;
    }
 
    public void setChannelType(int channelType) {
        this.channelType = channelType;
    }
 
    public String getBusinessGroupId() {
        return businessGroupId;
    }
 
    public void setBusinessGroupId(String businessGroupId) {
        this.businessGroupId = businessGroupId;
    }
 
    public String getGpsTime() {
        return gpsTime;
    }
 
    public void setGpsTime(String gpsTime) {
        this.gpsTime = gpsTime;
    }
}