view_1ab568af88edf83a7b72ac8ba3dbd5a2.c
79 KB
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
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
/*
Generated from client/settings/function/capture/videoBayonet.esp
*/
#include "esp.h"
static void view_1ab568af88edf83a7b72ac8ba3dbd5a2(HttpConn *conn) {
espRenderBlock(conn, "<!DOCTYPE html>\r\n\
<html>\r\n\
\r\n\
<head>\r\n\
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n\
<title></title>\r\n\
<link href=\"../../../css/frame.css\" rel=\"stylesheet\" />\r\n\
<link href=\"../../../scripts/easyui/themes/default/easyui.css\" rel=\"stylesheet\" />\r\n\
<link href=\"../../../scripts/easyui/themes/icon.css\" rel=\"stylesheet\" />\r\n\
<style type=\"text/css\">\r\n\
body,\r\n\
.panel-body {\r\n\
background-color: #F3F5F6;\r\n\
}\r\n\
\r\n\
.settingGroups {\r\n\
width: 100%;\r\n\
}\r\n\
\r\n\
.settingGroup {\r\n\
background-color: white;\r\n\
margin-top: 5px;\r\n\
border: 1px solid #99A1AD;\r\n\
}\r\n\
\r\n\
.settingGroup .groupTitle {\r\n\
height: 30px;\r\n\
line-height: 30px;\r\n\
background-color: #DBDFE5;\r\n\
text-align: center;\r\n\
font-weight: bold;\r\n\
}\r\n\
\r\n\
.settingItem {\r\n\
/*height: 30px;*/\r\n\
line-height: 21px;\r\n\
}\r\n\
\r\n\
.itemTitle {\r\n\
display: block;\r\n\
padding: 8px;\r\n\
background-color: #DBDFE5;\r\n\
border-bottom: 1px solid #99A1AD;\r\n\
border-top: 1px solid #99A1AD;\r\n\
}\r\n\
\r\n\
.itemTitle:hover {\r\n\
background-color: #BD0000;\r\n\
}\r\n\
\r\n\
.itemContent {\r\n\
display: block;\r\n\
padding: 4px;\r\n\
display: none;\r\n\
}\r\n\
\r\n\
.itemContent table {\r\n\
border: 0;\r\n\
border-collapse: collapse;\r\n\
width: 100%;\r\n\
}\r\n\
\r\n\
.itemContent table td {\r\n\
padding: 4px;\r\n\
}\r\n\
\r\n\
.itemContent table td.title,\r\n\
td.title {\r\n\
width: 180px;\r\n\
text-align: left;\r\n\
}\r\n\
\r\n\
.itemContent table td.content,\r\n\
td.content {\r\n\
padding: 3px;\r\n\
position: relative;\r\n\
}\r\n\
\r\n\
.title1 {\r\n\
width: 78px;\r\n\
}\r\n\
\r\n\
.content1 {\r\n\
margin-left: 13px;\r\n\
}\r\n\
\r\n\
.settingElement1 {\r\n\
width: 87px;\r\n\
height: 21px;\r\n\
border: 1px solid #99A1AD;\r\n\
}\r\n\
\r\n\
.itemContent table td.btn {\r\n\
padding: 3px;\r\n\
}\r\n\
\r\n\
.settingElement {\r\n\
width: 180px;\r\n\
height: 21px;\r\n\
border: 1px solid #99A1AD;\r\n\
}\r\n\
\r\n\
select.settingElement {\r\n\
height: 23px;\r\n\
}\r\n\
\r\n\
a.settingBtn {\r\n\
display: block;\r\n\
height: 23px;\r\n\
width: 98px;\r\n\
border: 0;\r\n\
background: url(../../../images/btn_bg.png) no-repeat 0 0;\r\n\
float: right;\r\n\
margin-right: 0;\r\n\
text-align: center;\r\n\
cursor: pointer;\r\n\
}\r\n\
\r\n\
.bottomArea .settingBtn {\r\n\
position: fixed;\r\n\
left: 5px;\r\n\
bottom: 5px;\r\n\
}\r\n\
\r\n\
\r\n\
a.settingBtn:active {\r\n\
background-position: 0 -23px;\r\n\
}\r\n\
\r\n\
.subsettingItem {}\r\n\
\r\n\
.subTitle {\r\n\
width: 120px;\r\n\
}\r\n\
\r\n\
/*红灯设置*/\r\n\
\r\n\
table.redLight tr td {\r\n\
height: 25px;\r\n\
}\r\n\
\r\n\
table.redLight tr td.title {\r\n\
width: 140px;\r\n\
}\r\n\
\r\n\
.redLightSource1,\r\n\
.redLightSource2,\r\n\
.redLightSource3 {\r\n\
display: none;\r\n\
}\r\n\
\r\n\
.ocxOperateContainer {\r\n\
width: 100%;\r\n\
height: 100%;\r\n\
border-collapse: collapse;\r\n\
}\r\n\
\r\n\
.timeSpans {\r\n\
background: url(../../../images/timePicker.png) no-repeat 101% -1px white;\r\n\
/*background-color: #DBDFE5;*/\r\n\
}\r\n\
\r\n\
/*时间段选择窗口样式*/\r\n\
\r\n\
.timeSelector {\r\n\
min-height: 120px;\r\n\
width: 236px;\r\n\
padding: 8px;\r\n\
position: absolute;\r\n\
top: 0;\r\n\
left: 0;\r\n\
display: none;\r\n\
background-color: white;\r\n\
border: 1px solid #7C8895;\r\n\
z-index: 99;\r\n\
}\r\n\
\r\n\
.timeSelector .Wdate {\r\n\
width: 96px;\r\n\
}\r\n\
\r\n\
.timeSelector .btnDelete {\r\n\
display: block;\r\n\
float: right;\r\n\
margin-top: 3px;\r\n\
width: 16px;\r\n\
height: 16px;\r\n\
background: url(../../../images/btnDelete.png) no-repeat 0 0;\r\n\
}\r\n\
\r\n\
.timeSelector a.settingBtn {\r\n\
float: left;\r\n\
margin-right: 14px;\r\n\
}\r\n\
\r\n\
.timeSpanContainer li {\r\n\
margin-bottom: 5px;\r\n\
}\r\n\
\r\n\
/*抓拍解发条件*/\r\n\
\r\n\
.option_position {\r\n\
display: none;\r\n\
}\r\n\
\r\n\
/*----主页面布局------*/\r\n\
\r\n\
.mainDiv {\r\n\
background-color: #f3f5f6;\r\n\
overflow: hidden;\r\n\
width: 1256px;\r\n\
}\r\n\
\r\n\
#intersectionInfo {\r\n\
width: 100%;\r\n\
height: 100%;\r\n\
}\r\n\
\r\n\
.leftArea {\r\n\
width: 566px;\r\n\
padding: 0 4px;\r\n\
float: left;\r\n\
overflow: hidden;\r\n\
}\r\n\
\r\n\
.rightArea {\r\n\
position: relative;\r\n\
width: 670px;\r\n\
height: 1062px;\r\n\
max-height: 100%;\r\n\
overflow: hidden;\r\n\
float: right;\r\n\
}\r\n\
\r\n\
.rightArea .rightUpper {\r\n\
width: 100%;\r\n\
height: 600px;\r\n\
}\r\n\
\r\n\
.rightArea .rightLower {\r\n\
width: 650px;\r\n\
height: 462px;\r\n\
position: absolute;\r\n\
bottom: 0;\r\n\
right: 0;\r\n\
padding: 8px;\r\n\
border: 1px solid #7C8895;\r\n\
}\r\n\
\r\n\
.bottomArea {\r\n\
height: 42px;\r\n\
padding: 10px;\r\n\
clear: both;\r\n\
}\r\n\
\r\n\
.hidden {\r\n\
display: none;\r\n\
}\r\n\
\r\n\
.onlyForRadar2 {\r\n\
display: none;\r\n\
}\r\n\
</style>\r\n\
</head>\r\n\
\r\n\
<body>\r\n\
<div class=\"mainDiv\">\r\n\
<form id=\"intersectionInfo\">\r\n\
<div class=\"leftArea\">\r\n\
<ul class=\"settingGroups\">\r\n\
<li class=\"settingGroup\">\r\n\
<div class=\"groupTitle\">\r\n\
违法监测\r\n\
</div>\r\n\
<ul class=\"settingItem\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" name=\"461\" id=\"461\" type=\"checkbox\" />压线\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">开启时间段</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement timeSpans\" readonly=\"true\" id=\"463\" name=\"463\" type=\"text\" />\r\n\
<div class=\"timeSelector\">\r\n\
<ul class='timeSpanContainer'></ul>\r\n\
<a class=\"timeSelectorAdd settingBtn\">添加时间段</a>\r\n\
<a class=\"timeSelectorSave settingBtn\">保存</a>\r\n\
</div>\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
灵敏度(1-100):\r\n\
</td>\r\n\
<td>\r\n\
<input class=\"settingElement\" id=\"462\" name=\"462\" type=\"text\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
<ul class=\"settingItem\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" id=\"465\" name=\"465\" type=\"checkbox\" />跨线变道\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">\r\n\
开启时间段:\r\n\
</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement timeSpans\" readonly=\"true\" id=\"466\" name=\"466\" type=\"text\" />\r\n\
<div class=\"timeSelector\">\r\n\
<ul class='timeSpanContainer'></ul>\r\n\
<a class=\"timeSelectorAdd settingBtn\">添加时间段</a>\r\n\
<a class=\"timeSelectorSave settingBtn\">保存</a>\r\n\
</div>\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
\r\n\
<ul class=\"settingItem hidden\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" type=\"checkbox\" name=\"330\" id=\"330\" />占用公交车道\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">开启时间段</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement timeSpans\" readonly=\"true\" name=\"331\" id=\"331\" type=\"text\" />\r\n\
<div class=\"timeSelector\">\r\n\
<ul class='timeSpanContainer'></ul>\r\n\
<a class=\"timeSelectorAdd settingBtn\">添加时间段</a>\r\n\
<a class=\"timeSelectorSave settingBtn\">保存</a>\r\n\
</div>\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
<ul class=\"settingItem hidden\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" type=\"checkbox\" name=\"335\" id=\"335\" />占用非机动车道\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">开启时间段</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement timeSpans\" readonly=\"true\" name=\"336\" id=\"336\" type=\"text\" />\r\n\
<div class=\"timeSelector\">\r\n\
<ul class='timeSpanContainer'></ul>\r\n\
<a class=\"timeSelectorAdd settingBtn\">添加时间段</a>\r\n\
<a class=\"timeSelectorSave settingBtn\">保存</a>\r\n\
</div>\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td class=\"title\">置信度(0-100):</td>\r\n\
<td class=\"content\">\r\n\
<input type=\"text\" class=\"settingElement\" name=\"341\" id=\"341\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
<ul class=\"settingItem hidden\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" type=\"checkbox\" name=\"342\" id=\"342\" />占用紧急车道\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">开启时间段</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement timeSpans\" readonly=\"true\" name=\"343\" id=\"343\" type=\"text\" />\r\n\
<div class=\"timeSelector\">\r\n\
<ul class='timeSpanContainer'></ul>\r\n\
<a class=\"timeSelectorAdd settingBtn\">添加时间段</a>\r\n\
<a class=\"timeSelectorSave settingBtn\">保存</a>\r\n\
</div>\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
\r\n\
<ul class=\"settingItem\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" type=\"checkbox\" name=\"475\" id=\"475\" />大货车禁行\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">开启时间段</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement timeSpans\" readonly=\"true\" name=\"477\" id=\"477\" type=\"text\" />\r\n\
<div class=\"timeSelector\">\r\n\
<ul class='timeSpanContainer'></ul>\r\n\
<a class=\"timeSelectorAdd settingBtn\">添加时间段</a>\r\n\
<a class=\"timeSelectorSave settingBtn\">保存</a>\r\n\
</div>\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"2\">\r\n\
<input type=\"checkbox\" class=\"checkboxAlign\" id=\"476\" name=\"476\" />黄牌即认为是大货车\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
<ul class=\"settingItem\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger needReboot\" type=\"checkbox\" name=\"470\" id=\"470\" />\r\n\
<span class=\"needRebootHint\" title=\"需重启生效\">逆行</span>\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">开启时间段</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement timeSpans\" readonly=\"true\" name=\"473\" id=\"473\" type=\"text\" />\r\n\
<div class=\"timeSelector\">\r\n\
<ul class='timeSpanContainer'></ul>\r\n\
<a class=\"timeSelectorAdd settingBtn\">添加时间段</a>\r\n\
<a class=\"timeSelectorSave settingBtn\">保存</a>\r\n\
</div>\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
逆行距离(1-30米):\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement\" name=\"471\" id=\"471\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"2\">\r\n\
<input type=\"checkbox\" class=\"checkboxAlign\" name=\"472\" id=\"472\" /> 输出为限时单行\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
<ul class=\"settingItem hidden\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" type=\"checkbox\" name=\"346\" id=\"346\" />违法停车\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">开启时间段</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement timeSpans\" readonly=\"true\" name=\"347\" id=\"347\" type=\"text\" />\r\n\
<div class=\"timeSelector\">\r\n\
<ul class='timeSpanContainer'></ul>\r\n\
<a class=\"timeSelectorAdd settingBtn\">添加时间段</a>\r\n\
<a class=\"timeSelectorSave settingBtn\">保存</a>\r\n\
</div>\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"2\">\r\n\
违法停车时间(1-3600秒):\r\n\
<input class=\"settingElement1\" name=\"348\" id=\"348\" type=\"text\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
<ul class=\"settingItem hidden\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" type=\"checkbox\" name=\"353\" id=\"353\" />礼让行人\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">开启时间段</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement timeSpans\" readonly=\"true\" name=\"354\" id=\"354\" type=\"text\" />\r\n\
<div class=\"timeSelector\">\r\n\
<ul class='timeSpanContainer'></ul>\r\n\
<a class=\"timeSelectorAdd settingBtn\">添加时间段</a>\r\n\
<a class=\"timeSelectorSave settingBtn\">保存</a>\r\n\
</div>\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"2\">\r\n\
<span>横向检测范围(0-20米):</span>\r\n\
<input class=\"settingElement1\" name=\"356\" id=\"356\" type=\"text\" /> 纵向检测范围(0-20米):\r\n\
<input class=\"settingElement1\" name=\"355\" id=\"355\" type=\"text\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"2\">\r\n\
速度上限(0-20米/秒):\r\n\
<input class=\"settingElement1\" name=\"357\" id=\"357\" type=\"text\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
<ul class=\"settingItem\">\r\n\
<li class=\"itemTitle\">\r\n\
<input type=\"checkbox\" class=\"checkboxAlign showTrigger\" id=\"423\" name=\"423\" />雷达测速\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">开启时间段</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement timeSpans\" readonly=\"true\" name=\"419\" id=\"419\" type=\"text\" />\r\n\
<div class=\"timeSelector\">\r\n\
<ul class='timeSpanContainer'></ul>\r\n\
<a class=\"timeSelectorAdd settingBtn\">添加时间段</a>\r\n\
<a class=\"timeSelectorSave settingBtn\">保存</a>\r\n\
</div>\r\n\
</td>\r\n\
</tr>\r\n\
\r\n\
<tr>\r\n\
<td width=\"195\">\r\n\
雷达匹配失败方案\r\n\
</td>\r\n\
<td colspan=\"3\">\r\n\
<select name=\"420\" id=\"420\">\r\n\
<option value=\"0\">速度输出零</option>\r\n\
<option value=\"1\">速度输出安全值</option>\r\n\
</select>\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
视频模式超速结果车辆位移(米)\r\n\
</td>\r\n\
<td colspan=\"3\">\r\n\
<input type=\"text\" name=\"421\" id=\"421\" class=\"settingElement\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
触发模式超速结果车辆位移(米)\r\n\
</td>\r\n\
<td colspan=\"3\">\r\n\
<input type=\"text\" name=\"422\" id=\"422\" class=\"settingElement\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td></td>\r\n\
<td>大车限速值(KM/H)</td>\r\n\
<td>小车限速值(KM/H)</td>\r\n\
<td>匹配速度时间(毫秒)</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
车道1:\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"425\" id=\"425\" />\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"426\" id=\"426\" />\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"431\" id=\"431\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
车道2:\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"427\" id=\"427\" />\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"428\" id=\"428\" />\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"432\" id=\"432\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
车道3:\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"429\" id=\"429\" />\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"430\" id=\"430\" />\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"433\" id=\"433\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
车道4:\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"435\" id=\"435\" />\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"436\" id=\"436\" />\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"434\" id=\"434\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
<label title=\"纵向在图像上的比例\">雷达触发带的位置</label>\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"440\" id=\"440\" />\r\n\
</td>\r\n\
<td colspan=\"2\">\r\n\
<input type=\"checkbox\" class=\"checkboxAlign\" name=\"441\" id=\"441\" />过滤掉视频测速低速车\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>超速宽限比(%)</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"442\" id=\"442\" />\r\n\
</td>\r\n\
<td></td>\r\n\
<td></td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td></td>\r\n\
<td>\r\n\
<span class=\"needRebootHint\" title=\"需重启生效\">支持的雷达</span>\r\n\
</td>\r\n\
<td>雷达工作模式</td>\r\n\
<td>雷达校正系数</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>车道1</td>\r\n\
<td>\r\n\
<select name=\"14424\" id=\"14424\" class=\"settingElement1 radar2 needReboot\">\r\n\
<option value=\"0\">安道雷1</option>\r\n\
<option value=\"1\">川速</option>\r\n\
<option value=\"2\">安道雷2</option>\r\n\
</select>\r\n\
</td>\r\n\
<td>\r\n\
<select name=\"14421\" id=\"14421\" class=\"settingElement1\">\r\n\
<option value=\"2\">触发</option>\r\n\
<option value=\"1\">连续</option>\r\n\
</select>\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"14427\" id=\"14427\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>车道2</td>\r\n\
<td>\r\n\
<select name=\"14425\" id=\"14425\" class=\"settingElement1 radar2 needReboot\">\r\n\
<option value=\"0\">安道雷1</option>\r\n\
<option value=\"1\">川速</option>\r\n\
<option value=\"2\">安道雷2</option>\r\n\
</select>\r\n\
</td>\r\n\
<td>\r\n\
<select name=\"14422\" id=\"14422\" class=\"settingElement1\">\r\n\
<option value=\"2\">触发</option>\r\n\
<option value=\"1\">连续</option>\r\n\
</select>\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"14428\" id=\"14428\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>车道3</td>\r\n\
<td>\r\n\
<select name=\"14426\" id=\"14426\" class=\"settingElement1 radar2 needReboot\">\r\n\
<option value=\"0\">安道雷1</option>\r\n\
<option value=\"1\">川速</option>\r\n\
<option value=\"2\">安道雷2</option>\r\n\
</select>\r\n\
</td>\r\n\
<td>\r\n\
<select name=\"14423\" id=\"14423\" class=\"settingElement1\">\r\n\
<option value=\"2\">触发</option>\r\n\
<option value=\"1\">连续</option>\r\n\
</select>\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"14429\" id=\"14429\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>车道4</td>\r\n\
<td>\r\n\
<select name=\"14501\" id=\"14501\" class=\"settingElement1 radar2 needReboot\">\r\n\
<option value=\"0\">安道雷1</option>\r\n\
<option value=\"1\">川速</option>\r\n\
<option value=\"2\">安道雷2</option>\r\n\
</select>\r\n\
</td>\r\n\
<td>\r\n\
<select name=\"14500\" id=\"14500\" class=\"settingElement1\">\r\n\
<option value=\"2\">触发</option>\r\n\
<option value=\"1\">连续</option>\r\n\
</select>\r\n\
</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"14502\" id=\"14502\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr class=\"onlyForRadar2\">\r\n\
<td>灵敏度</td>\r\n\
<td>\r\n\
<input type=\"text\" name=\"14430\" id=\"14430\" class=\"settingElement1\" />\r\n\
</td>\r\n\
<td>最小检测速度值</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"14431\" id=\"14431\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"4\">\r\n\
<input type=\"checkbox\" class=\"checkboxAlign\" name=\"14420\" id=\"14420\" />输出雷达Log信息\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
</li>\r\n\
\r\n\
<li class=\"settingGroup\">\r\n\
<div class=\"groupTitle\">\r\n\
事件监测\r\n\
</div>\r\n\
<ul class=\"settingItem\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" type=\"checkbox\" name=\"480\" id=\"480\" />流量统计\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">流量统计时间(秒)</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement\" name=\"481\" id=\"481\" type=\"text\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
<ul class=\"settingItem hidden\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" name=\"362\" id=\"362\" type=\"checkbox\" />行人检测\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">检测灵敏度</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement\" name=\"363\" id=\"363\" type=\"text\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
\r\n\
</ul>\r\n\
<ul class=\"settingItem\">\r\n\
<li class=\"itemTitle\">\r\n\
<input type=\"checkbox\" class=\"checkboxAlign showTrigger\" name=\"490\" id=\"490\" />占有率超限\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">占有率超限阈值(%)</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement\" name=\"491\" id=\"491\" type=\"text\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
\r\n\
</ul>\r\n\
<ul class=\"settingItem hidden\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" type=\"checkbox\" name=\"366\" id=\"366\" />车辆慢行\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">车辆速度阈值</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement\" type=\"text\" name=\"367\" id=\"367\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
\r\n\
</ul>\r\n\
<ul class=\"settingItem hidden\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" type=\"checkbox\" name=\"368\" id=\"368\" />异常停车\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">判定停车时长(0-360秒):</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement\" type=\"text\" name=\"369\" id=\"369\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
<ul class=\"settingItem\">\r\n\
<li class=\"itemTitle\">\r\n\
<input class=\"checkboxAlign showTrigger\" type=\"checkbox\" name=\"485\" id=\"485\" />车辆拥堵\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td class=\"title\">非常拥堵车辆阈值(辆):</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement\" type=\"text\" name=\"486\" id=\"486\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td class=\"title\">一般拥堵车辆阈值(辆)</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement\" type=\"text\" name=\"488\" id=\"488\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td class=\"title\">非常拥堵速度阈值(KM/H)</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement\" type=\"text\" name=\"487\" id=\"487\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td class=\"title\">一般拥堵速度阈值(KM/H)</td>\r\n\
<td class=\"content\">\r\n\
<input class=\"settingElement\" type=\"text\" name=\"489\" id=\"489\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
<ul class=\"settingItem hidden\">\r\n\
<li class=\"itemTitle\">\r\n\
<input type=\"checkbox\" class=\"checkboxAlign showTrigger\" id=\"virtualCoil\" />虚拟线圈\r\n\
</li>\r\n\
<li class=\"itemContent\">\r\n\
<table>\r\n\
<tr>\r\n\
<td colspan=\"3\">\r\n\
<input class=\"checkboxAlign\" type=\"checkbox\" name=\"380\" id=\"380\" />显示虚拟线圈\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"3\">\r\n\
<input class=\"checkboxAlign relativeToTrigger\" type=\"checkbox\" name=\"381\" id=\"381\" />虚拟线圈1 位置(-100-100米):\r\n\
<input type=\"text\" class=\"settingElement1\" id=\"382\" name=\"382\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"3\">\r\n\
<input class=\"checkboxAlign relativeToTrigger\" type=\"checkbox\" name=\"383\" id=\"383\" />虚拟线圈2 位置(-100-100米):\r\n\
<input type=\"text\" class=\"settingElement1\" id=\"384\" name=\"384\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"3\">\r\n\
<input class=\"checkboxAlign relativeToTrigger\" type=\"checkbox\" name=\"385\" id=\"385\" />虚拟线圈3 位置(-100-100米):\r\n\
<input type=\"text\" class=\"settingElement1\" id=\"386\" name=\"386\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
传输协议选择\r\n\
</td>\r\n\
<td colspan=\"2\">\r\n\
<select name=\"388\" id=\"388\">\r\n\
<option value=\"0\">XML型传输协议</option>\r\n\
<option value=\"1\">二进制型传输协议</option>\r\n\
</select>\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>接收服务器IP</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement\" name=\"389\" id=\"389\" />\r\n\
</td>\r\n\
<td>\r\n\
端口\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"390\" id=\"390\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>备用接收服务器IP</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement\" name=\"391\" id=\"391\" />\r\n\
</td>\r\n\
<td>\r\n\
备用端口\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"392\" id=\"392\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
第一通道:\r\n\
</td>\r\n\
<td>\r\n\
通道号:\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"393\" id=\"393\" />\r\n\
</td>\r\n\
<td>\r\n\
车道号:\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"394\" id=\"394\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
第二通道:\r\n\
</td>\r\n\
<td>\r\n\
通道号:\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"395\" id=\"395\" />\r\n\
</td>\r\n\
<td>\r\n\
车道号:\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"396\" id=\"396\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
第三通道:\r\n\
</td>\r\n\
<td>\r\n\
通道号:\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"397\" id=\"397\" />\r\n\
</td>\r\n\
<td>\r\n\
车道号:\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"398\" id=\"398\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td>\r\n\
第四通道:\r\n\
</td>\r\n\
<td>\r\n\
通道号:\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"399\" id=\"399\" />\r\n\
</td>\r\n\
<td>\r\n\
车道号:\r\n\
<input type=\"text\" class=\"settingElement1\" name=\"400\" id=\"400\" />\r\n\
</td>\r\n\
</tr>\r\n\
</table>\r\n\
</li>\r\n\
</ul>\r\n\
</li>\r\n\
</ul>\r\n\
</div>\r\n\
<div class=\"rightArea\">\r\n\
<div class=\"rightUpper\">\r\n\
<object id=\"roiOcxObject\" classid=\"clsid:7E4DB96E-7A82-48DD-8376-7552E2D09170\" style=\"height: 530px; width: 100%;\"></object>\r\n\
\r\n\
<div style=\"height:30px;\">\r\n\
<a class=\"settingBtn\" style=\"float: left;\" id=\"capturePicture\">抓图</a>\r\n\
</div>\r\n\
\r\n\
</div>\r\n\
\r\n\
<div class=\"rightLower\">\r\n\
<table class=\"redLight\">\r\n\
\r\n\
<tr>\r\n\
<td class=\"title\">触发延迟时间(毫秒)</td>\r\n\
<td>\r\n\
<input type=\"text\" class=\"settingElement\" name=\"452\" id=\"452\" />\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"2\">\r\n\
<input type=\"checkbox\" class=\"checkboxAlign\" name=\"455\" id=\"455\" />输出卡口图片\r\n\
</td>\r\n\
</tr>\r\n\
<tr>\r\n\
<td colspan=\"2\">\r\n\
<input type=\"checkbox\" class=\"checkboxAlign\" name=\"456\" id=\"456\" />卡口抓两张图\r\n\
</td>\r\n\
</tr>\r\n\
\r\n\
</table>\r\n\
</div>\r\n\
</div>\r\n\
<div class=\"bottomArea\">\r\n\
<a class=\"settingBtn\" id=\"btnSave\" style=\"float: left;\">保存</a>\r\n\
</div>\r\n\
", 51237);
inputSecurityToken(); espRenderBlock(conn, "\r\n\
</form>\r\n\
</div>\r\n\
<script src=\"../../../scripts/jquery-1.11.1.js\"></script>\r\n\
<script src=\"../../../scripts/easyui/jquery.easyui.min.js\"></script>\r\n\
<script src=\"../../../scripts/easyui/locale/easyui-lang-zh_CN.js\"></script>\r\n\
<script src=\"../../../scripts/utilities.js\"></script>\r\n\
<script src=\"../../../scripts/jquery.form.js\"></script>\r\n\
<script src=\"../../../scripts/jquery.validate.min.js\"></script>\r\n\
<script src=\"../../../scripts/jquery.validate.extend.js\"></script>\r\n\
<script src=\"../../../scripts/My97DatePicker/WdatePicker.js\"></script>\r\n\
<script type=\"text/javascript\">\r\n\
\r\n\
var ocxController;\r\n\
var showedDatepicker;//已经显示的\r\n\
//参数加载适配器\r\n\
var parameterAdaptor = new ParameterAdaptor();\r\n\
var triggerBuffer = new Array();\r\n\
\r\n\
$().ready(function () {\r\n\
var ip = window.location.hostname;\r\n\
var roiOcxObject = document.getElementById(\"roiOcxObject\");\r\n\
\r\n\
ocxController = new ROIOcxController(roiOcxObject);\r\n\
\r\n\
try {\r\n\
var timestamp = new Date().getTime();\r\n\
ocxController.switchToKakouMode();\r\n\
ocxController.showPage();\r\n\
ocxController.loadUrlPage(\"http://\" + ip + \"/do/trafficController/roiOcxRequestEvent?EventType=1&t=\" + timestamp);\r\n\
ocxController.loadUrlXml(\"http://\" + ip + \"/do/trafficController/roiOcxRequestEvent?EventType=2&t=\" + timestamp);\r\n\
} catch (err) {\r\n\
if (console)\r\n\
console.error(\"ROI:\" + err.name + \"->\" + err.message);\r\n\
}\r\n\
//加载参数\r\n\
setTimeout(loadCaptureSettings, 200);\r\n\
//保存参数\r\n\
$(\"#btnSave\").click(saveParametersToServer);\r\n\
\r\n\
$(\"#capturePicture\").click(exportPicture);//导出参数\r\n\
\r\n\
$(\"#intersectionInfo input:checkbox\").click(onCheckboxClicked);\r\n\
$(\".itemTitle\").click(showOrHidenSettingItem);\r\n\
\r\n\
//雷达\r\n\
$(\".radar2\").change(updateRadraSettings);\r\n\
\r\n\
//时间选择控件\r\n\
$(\".timeSpans\").click(showTimeSelector).focus(onTimeSelectorFocus);\r\n\
$(\".timeSelectorAdd\").click(addTimePicker);//添加空的时间段选择框\r\n\
$(\".timeSelectorSave\").click(saveTimeSpans);//保存选择的时间段\r\n\
$(\".timeSelector\").click(function (e) {\r\n\
e.stopPropagation();\r\n\
});\r\n\
$(document).click(function () {\r\n\
saveTimeSpan(null);\r\n\
});\r\n\
\r\n\
//验证表单\r\n\
validateForm();\r\n\
});\r\n\
\r\n\
\r\n\
function validateForm() {\r\n\
var rules = {\r\n\
462: {\r\n\
range: [1, 100],\r\n\
digits: true\r\n\
},\r\n\
341: {\r\n\
range: [0, 100],\r\n\
validMinusZero: true\r\n\
},\r\n\
471: {\r\n\
range: [1, 30],\r\n\
digits: true\r\n\
},\r\n\
\r\n\
348: {\r\n\
range: [1, 3600]\r\n\
},\r\n\
355: {\r\n\
range: [0, 20],\r\n\
validMinusZero: true\r\n\
},\r\n\
356: {\r\n\
range: [0, 20],\r\n\
validMinusZero: true\r\n\
},\r\n\
357: {\r\n\
range: [0, 20],\r\n\
validMinusZero: true\r\n\
},\r\n\
\r\n\
285: {\r\n\
range: [0, 10],\r\n\
validMinusZero: true\r\n\
},\r\n\
286: {\r\n\
range: [100, 10000]\r\n\
},\r\n\
284: {\r\n\
range: [1, 30]\r\n\
},\r\n\
282: {\r\n\
range: [1, 30]\r\n\
},\r\n\
283: {\r\n\
range: [1, 30]\r\n\
},\r\n\
293: {\r\n\
range: [0, 255],\r\n\
validMinusZero: true\r\n\
},\r\n\
291: {\r\n\
range: [0, 65535],\r\n\
validMinusZero: true\r\n\
},\r\n\
369: {\r\n\
range: [0, 360],\r\n\
validMinusZero: true\r\n\
},\r\n\
382: {\r\n\
range: [-100, 100],\r\n\
validMinusZero: true\r\n\
},\r\n\
384: {\r\n\
range: [-100, 100],\r\n\
validMinusZero: true\r\n\
},\r\n\
386: {\r\n\
range: [-100, 100],\r\n\
validMinusZero: true\r\n\
},\r\n\
390: {\r\n\
required: \"#389:filled\",\r\n\
range: [0, 65535],\r\n\
validMinusZero: true\r\n\
},\r\n\
392: {\r\n\
required: \"#391:filled\",\r\n\
range: [0, 65535],\r\n\
validMinusZero: true\r\n\
},\r\n\
440: {\r\n\
range: [0, 1]\r\n\
},\r\n\
442: {\r\n\
range: [0, 300],\r\n\
digits: true\r\n\
},\r\n\
452: {\r\n\
range: [0, 200],\r\n\
digits: true\r\n\
},\r\n\
481: {\r\n\
range: [1, 3600],\r\n\
digits: true\r\n\
},\r\n\
491: {\r\n\
range: [0, 100],\r\n\
digits: true\r\n\
},\r\n\
14430: {\r\n\
range: [0, 100]\r\n\
},\r\n\
14431: {\r\n\
range: [1, 50]\r\n\
}\r\n\
};\r\n\
rules[491] = rules[367] = rules[393] = rules[394]\r\n\
= rules[395] = rules[396] = rules[397] = rules[398] = rules[399] = rules[400] = rules[401] = rules[402]\r\n\
= rules[403] = rules[404] = rules[406] = { number: true };\r\n\
//车辆拥堵\r\n\
rules[487] = rules[489] = rules[486] = rules[488] = {\r\n\
range: [1, 30],\r\n\
digits: true\r\n\
};\r\n\
rules[421] = rules[422] = { range: [0, 20], validMinusZero: true };\r\n\
rules[425] = rules[426] = rules[427] = rules[428] = rules[429] = rules[430] = rules[435] = rules[436] ={\r\n\
range: [0, 180],\r\n\
digits: true\r\n\
};\r\n\
rules[431] = rules[432] = rules[433] = rules[434] = {\r\n\
range: [0, 5000],\r\n\
digits: true\r\n\
};\r\n\
rules[14427] = rules[14428] = rules[14429] = rules[14502] = { range: [0, 2], validMinusZero: true };\r\n\
\r\n\
$(\"#intersectionInfo\").validate({\r\n\
rules: rules\r\n\
});\r\n\
}\r\n\
\r\n\
//checkbox点击事件\r\n\
function onCheckboxClicked(event) {\r\n\
var self = $(event.currentTarget);\r\n\
\r\n\
var panel;\r\n\
//更改Value\r\n\
self.val(this.checked + 0 + \"\");\r\n\
\r\n\
if (self.hasClass(\"relativeToTrigger\")) {\r\n\
var parent = $(event.currentTarget).parents(\".settingItem\");\r\n\
var checkedCount = parent.find(\".relativeToTrigger:checked\").length;\r\n\
//panel = self.parents(\".itemContent\");\r\n\
var switchCheckbox = self.parents(\".itemContent\").siblings(\".itemTitle\").find(\"input:checkbox\");\r\n\
switchCheckbox.prop(\"checked\", !(checkedCount == 0)).val(checkedCount == 0 ? \"0\" : \"1\");\r\n\
}\r\n\
\r\n\
if (self.hasClass(\"showTrigger\")) {\r\n\
//显示对应详细设置项\r\n\
panel = self.parent().siblings(\".itemContent\");\r\n\
\r\n\
panel.find(\".relativeToTrigger\").prop(\"checked\", this.checked).val(this.checked + 0 + \"\");\r\n\
}\r\n\
event.stopPropagation();\r\n\
}\r\n\
\r\n\
function showOrHidenSettingItem(event) {\r\n\
var self = $(event.currentTarget);\r\n\
self.siblings(\".itemContent\").toggle();\r\n\
}\r\n\
\r\n\
//更新雷达参数设置区域\r\n\
function updateRadraSettings() {\r\n\
var radarElements = $(\".radar2\");\r\n\
var isShow = false;\r\n\
for (var i = 0; i < radarElements.length; i++) {\r\n\
var value = radarElements[i].value;\r\n\
if (value == \"1\") {\r\n\
isShow = true;\r\n\
break;\r\n\
}\r\n\
}\r\n\
if (isShow) {\r\n\
$(\".onlyForRadar2\").show();\r\n\
} else {\r\n\
$(\".onlyForRadar2\").hide();\r\n\
}\r\n\
}\r\n\
\r\n\
//更新设置项的UI(主要是是否展开详细设置)\r\n\
function updateSettingItemUI() {\r\n\
\r\n\
var itemTriggers = $(\".showTrigger\");\r\n\
var currentObj;\r\n\
var isOpen = false;\r\n\
itemTriggers.each(function (index) {\r\n\
isOpen = false;\r\n\
currentObj = $(this);\r\n\
var isChecked = currentObj.is(\":checked\");\r\n\
if (isChecked) {\r\n\
isOpen = true;\r\n\
} else {\r\n\
//有一种情况是要根据底下的选项来决定是否选中\r\n\
var relativeTriggers = currentObj.parents(\".settingItem\").find(\".relativeToTrigger:checked\");\r\n\
isOpen = relativeTriggers.length > 0;\r\n\
if (isOpen) {\r\n\
currentObj.prop(\"checked\", \"checked\");\r\n\
}\r\n\
}\r\n\
\r\n\
if (isOpen) {\r\n\
currentObj.parent().siblings(\".itemContent\").show();\r\n\
}\r\n\
});\r\n\
}\r\n\
\r\n\
\r\n\
\r\n\
function exportPicture() {\r\n\
var url = \"/do/trafficController/capturePicture\";\r\n\
window.open(url);\r\n\
}\r\n\
\r\n\
//加载抓拍参数信息\r\n\
function loadCaptureSettings() {\r\n\
var refererInfo = \"intersection\";\r\n\
parameterAdaptor.getParameters(refererInfo, function (data) {\r\n\
\r\n\
//$(\"#intersectionInfo\").form(\"load\", data.feedback);\r\n\
bindFormData($(\"#intersectionInfo\"), data.feedback);\r\n\
//更新UI\r\n\
updateSettingItemUI();\r\n\
updateRadraSettings();\r\n\
});\r\n\
}\r\n\
\r\n\
function bindFormData(formObj, data) {\r\n\
var element;\r\n\
var elementType;\r\n\
for (var key in data) {\r\n\
element = formObj.find(\"#\" + key);\r\n\
//如果使用id没有找到,则改为使用name来查找对象,增加容错性\r\n\
if (element.length == 0) {\r\n\
element = formObj.find(\"[name='\" + key + \"']\");\r\n\
}\r\n\
elementType = element.attr(\"type\");\r\n\
if (elementType == \"checkbox\") {\r\n\
element.prop(\"checked\", data[key] == \"on\" ? \"checked\" : \"\");\r\n\
} else {\r\n\
element.val(data[key]);\r\n\
}\r\n\
}\r\n\
}\r\n\
\r\n\
//显示已更改的值\r\n\
function showChangedValue(newValue, oldValue) {\r\n\
var id = $(this).attr(\"id\").split(\"_\")[1];\r\n\
$(\"#\" + id).val(newValue);\r\n\
}\r\n\
\r\n\
//提交参数到服务器保存\r\n\
function saveParametersToServer() {\r\n\
var formObj = $(\"#intersectionInfo\");\r\n\
//验证参数\r\n\
\r\n\
if (!formObj.valid()) {\r\n\
$(\"#roiOcxObject\").hide();\r\n\
$.messager.alert(\"提示\", \"参数验证有误,请修改后再提交!\", \"error\", function () {\r\n\
$(\"#roiOcxObject\").show();\r\n\
});\r\n\
return;\r\n\
}\r\n\
parameterAdaptor.saveParameters(formObj);\r\n\
}\r\n\
\r\n\
function ROIOcxController(ocxObj) {\r\n\
var ocxObject = ocxObj;\r\n\
this.switchToKakouMode = function () {\r\n\
switchOcxMode(1);\r\n\
};\r\n\
\r\n\
\r\n\
this.showPage = function () {\r\n\
showOcxPage();\r\n\
};\r\n\
this.showDialog = function () {\r\n\
showOcxDialog();\r\n\
};\r\n\
this.loadUrlPage = function (imgUrl) {\r\n\
loadOcxUrlPage(imgUrl);\r\n\
};\r\n\
this.loadUrlXml = function (imgUrl) {\r\n\
loadOcxUrlXml(imgUrl);\r\n\
};\r\n\
\r\n\
function switchOcxMode(mode) {\r\n\
ocxObject.SetKakouShow(mode);\r\n\
};\r\n\
\r\n\
function showOcxPage() {\r\n\
ocxObject.showRoiPage();\r\n\
};\r\n\
\r\n\
function showOcxDialog() {\r\n\
ocxObject.AboutBox();\r\n\
};\r\n\
\r\n\
function loadOcxUrlPage(imgUrl) {\r\n\
var err = ocxObject.loadRoiPictureFromUrl(imgUrl);\r\n\
if (err != 0) {\r\n\
//alert(\"loadRoiPictureFromUrl: err = \" + err);\r\n\
}\r\n\
};\r\n\
\r\n\
function loadOcxUrlXml(imgUrl) {\r\n\
var err = ocxObject.loadRoiXmlFromUrl(imgUrl);\r\n\
if (err != 0) {\r\n\
//alert(\"loadRoiXmlFromXml: err = \" + err);\r\n\
}\r\n\
};\r\n\
}\r\n\
\r\n\
//不让时间对话框获取焦点\r\n\
function onTimeSelectorFocus(event) {\r\n\
this.blur();\r\n\
}\r\n\
\r\n\
//显示时间段选择窗口\r\n\
function showTimeSelector(event) {\r\n\
event.stopPropagation();\r\n\
if (showedDatepicker) {\r\n\
saveTimeSpan(null);\r\n\
}\r\n\
//保存当前时间控件\r\n\
showedDatepicker = $(event.currentTarget).next().find(\".timeSpanContainer\");\r\n\
\r\n\
\r\n\
var timeValue = event.currentTarget.value;//获取已选择的时间段\r\n\
var timeSpanArray = timeValue.split(\";\");\r\n\
var htmlTagsArray = new Array();\r\n\
var tagId1, tagId2;\r\n\
var timePair, timeStart, timeEnd;\r\n\
for (var i = 0; i < timeSpanArray.length; i++) {\r\n\
tagId1 = \"s\" + i;\r\n\
tagId2 = \"e\" + i;\r\n\
timePair = $.trim(timeSpanArray[i]).split('-');\r\n\
//如果时间段不合法(开始,结束时间缺少),直接跳过该值\r\n\
if (timePair.length != 2) {\r\n\
continue;\r\n\
}\r\n\
htmlTagsArray.push(\"<li><input type='text' id='\" + tagId1 + \"' class='Wdate timePicker' value='\" + timePair[0] + \"' onclick=\\\"WdatePicker({dateFmt:'HH:mm', maxDate: '#F{$dp.$D(\\\\'\" + tagId2 + \"\\\\')||\\\\'23:59:59\\\\'}'})\\\" /> - \");\r\n\
htmlTagsArray.push(\"<input type='text' id='\" + tagId2 + \"' class='Wdate timePicker' value='\" + timePair[1] + \"' onclick=\\\"WdatePicker({dateFmt:'HH:mm', minDate: '#F{$dp.$D(\\\\'\" + tagId1 + \"\\\\')||\\\\'00:00:00\\\\'}'})\\\" />\");\r\n\
htmlTagsArray.push(\"<a href='#' class='btnDelete' /></a></li>\");\r\n\
}\r\n\
//显示控件(先清空,再添加新的时间选择控件)\r\n\
var timeSelector = $(event.currentTarget).parent().find(\".timeSelector\");\r\n\
//先解绑删除按钮事件\r\n\
$(\".btnDelete\").unbind(\"click\");\r\n\
timeSelector.find(\".timeSpanContainer\").html(\"\").html(htmlTagsArray.join(\"\"));\r\n\
//显示时间段选择组件的位置\r\n\
timeSelector.css(\"top\", 27).css(\"left\", 4).show();\r\n\
timeSelector.show();\r\n\
//绑定删除时间段的方法\r\n\
$(\".btnDelete\").bind(\"click\", deleteTimePicker);\r\n\
//判断是否显示添加时间段按钮\r\n\
if (htmlTagsArray.length >= 10) {\r\n\
timeSelector.find(\".timeSelectorAdd\").hide();\r\n\
} else {\r\n\
timeSelector.find(\".timeSelectorAdd\").show();\r\n\
}\r\n\
}\r\n\
\r\n\
//添加空的时间段选择控件\r\n\
function addTimePicker(event) {\r\n\
event.stopPropagation();\r\n\
var timeSpanContainer = $(event.currentTarget).parent().find(\".timeSpanContainer\");\r\n\
var timePickerLength = timeSpanContainer.find(\"li\").length;\r\n\
\r\n\
var newTimePickerArray = new Array();\r\n\
var tagId1 = \"s\" + (timePickerLength - 1);\r\n\
var tagId2 = \"e\" + (timePickerLength - 1);\r\n\
newTimePickerArray.push(\"<li><input type='text' id='\" + tagId1 + \"' class='Wdate timePicker' onclick=\\\"WdatePicker({dateFmt:'HH:mm', maxDate: '#F{$dp.$D(\\\\'\" + tagId2 + \"\\\\')||\\\\'23:59:59\\\\'}'})\\\" /> - \");\r\n\
newTimePickerArray.push(\"<input type='text' id='\" + tagId2 + \"' class='Wdate timePicker' onclick=\\\"WdatePicker({dateFmt:'HH:mm', minDate: '#F{$dp.$D(\\\\'\" + tagId1 + \"\\\\')||\\\\'00:00:00\\\\'}'})\\\" />\");\r\n\
newTimePickerArray.push(\"<a href='#' class='btnDelete' /></a></li>\");\r\n\
timeSpanContainer.append(newTimePickerArray.join(\"\"));\r\n\
//添加删除的事件绑定\r\n\
$(\".btnDelete\").bind(\"click\", deleteTimePicker);\r\n\
\r\n\
if (timePickerLength + 1 >= 10) {\r\n\
timeSpanContainer.parent().find(\".timeSelectorAdd\").hide();\r\n\
}\r\n\
}\r\n\
\r\n\
//删除之前的时间控件\r\n\
function deleteTimePicker(event) {\r\n\
event.stopPropagation();\r\n\
var liContainer = $(event.currentTarget).parent();\r\n\
var timespansContainer = liContainer.parents(\".timeSelector\");\r\n\
//先解绑删除按钮的事件\r\n\
$(event.currentTarget).unbind();\r\n\
liContainer.remove();\r\n\
//检测时间段控件的个数\r\n\
var timeSpansCount = timespansContainer.find(\"li\").length;\r\n\
if (timeSpansCount < 10) {\r\n\
timespansContainer.parent().find(\".timeSelectorAdd\").show();\r\n\
}\r\n\
}\r\n\
\r\n\
//保存已修改的时间段的值\r\n\
function saveTimeSpans(event) {\r\n\
var timeSpanContainer = $(event.currentTarget).parent().find(\".timeSpanContainer\");\r\n\
saveTimeSpan(timeSpanContainer);\r\n\
}\r\n\
\r\n\
function saveTimeSpan(container) {\r\n\
if (!container) {\r\n\
container = showedDatepicker;\r\n\
}\r\n\
if (!container) {\r\n\
return;\r\n\
}\r\n\
var timePickerPairsContainer = container.find(\"li\");\r\n\
var timeSpanValueArray = new Array();\r\n\
var timePickers;\r\n\
for (var i = 0; i < timePickerPairsContainer.length; i++) {\r\n\
var timePickerPairs = $(timePickerPairsContainer[i]).find(\".Wdate\");\r\n\
if (timePickerPairs.length == 2 && timePickerPairs[0].value && timePickerPairs[1].value) {\r\n\
timeSpanValueArray.push(timePickerPairs[0].value + \"-\" + timePickerPairs[1].value);\r\n\
}\r\n\
}\r\n\
//保存到原始\r\n\
var valueContainer = container.parent().siblings(\"input\");\r\n\
valueContainer.val(timeSpanValueArray.join(\";\"));\r\n\
//关闭\r\n\
container.parent().hide();\r\n\
showedDatepicker = null;\r\n\
}\r\n\
\r\n\
function showOcxObj() {\r\n\
$(\"#roiOcxObject\").show();\r\n\
}\r\n\
\r\n\
function hideOcxObj() {\r\n\
$(\"#roiOcxObject\").hide();\r\n\
}\r\n\
</script>\r\n\
\r\n\
<!-- 捕获ocx控件roiOcxObject抛出的事件 -->\r\n\
<script type=\"text/javascript\" for=\"roiOcxObject\" event=\"roiRequestEvent(EventType, szParam1, nParam2)\">\r\n\
//var roiRequestUrl = \"/do/trafficController/roiOcxRequestEvent?EventType=\" + EventType;\r\n\
if (ocxController != null) {\r\n\
var ip = window.location.hostname;\r\n\
if (EventType == 1) {\r\n\
ocxController.loadUrlPage(\"http://\" + ip + \"/do/trafficController/roiOcxRequestEvent?EventType=1\");\r\n\
} else if (EventType == 2) {\r\n\
ocxController.loadUrlXml(\"http://\" + ip + \"/do/trafficController/roiOcxRequestEvent?EventType=2\");\r\n\
}\r\n\
}\r\n\
</script>\r\n\
\r\n\
<script type=\"text/javascript\" for=\"roiOcxObject\" event=\"roiResponseEvent(EventType, szParam1, szParam2, nParam3)\">\r\n\
var roiRequestUrl = \"/do/trafficController/roiOcxResponseEvent?EventType=\" + EventType;\r\n\
//var roiRequestUrl = \"/do/trafficController/importRoiXml\";\r\n\
var szJson = {};\r\n\
szJson[\"paramXml\"] = szParam2;\r\n\
\r\n\
//添加securityToken\r\n\
var securityToken = document.getElementsByName(\"-xsrf-\");\r\n\
if (securityToken.length > 0) {\r\n\
szJson[\"-xsrf-\"] = securityToken[0].value;\r\n\
} else {\r\n\
alert(\"securityToken为空!不能提交!\");\r\n\
}\r\n\
\r\n\
$.post(roiRequestUrl, szJson, function (data) {\r\n\
if (!data.error) {\r\n\
$.messager.show({\r\n\
title: '结果',\r\n\
msg: 'roiResponseEvent:' + 'Event=' + EventType + ' 事件提交失败!原因:' + data.feedback.Msg,\r\n\
timeout: 0,\r\n\
showType: 'slide'\r\n\
});\r\n\
} else {\r\n\
$.messager.show({\r\n\
title: '结果',\r\n\
msg: 'roiResponseEvent:' + 'Event=' + EventType + '事件提交成功!',\r\n\
timeout: 3000,\r\n\
showType: 'slide'\r\n\
});\r\n\
}\r\n\
}, \"json\");\r\n\
</script>\r\n\
\r\n\
</body>\r\n\
\r\n\
</html>", 21395);
}
ESP_EXPORT int esp_view_1ab568af88edf83a7b72ac8ba3dbd5a2(HttpRoute *route, MprModule *module) {
espDefineView(route, "client/settings/function/capture/videoBayonet.esp", view_1ab568af88edf83a7b72ac8ba3dbd5a2);
return 0;
}