31 changed files with 688 additions and 502 deletions
-
2lib/1.json
-
5lib/controller/dash/node_12.js
-
3lib/controller/dash/node_13.js
-
3lib/controller/dash/node_14.js
-
3lib/controller/dash/node_15.js
-
20lib/controller/doModuleOperation.php
-
2lib/controller/doSensorOperation.php
-
4lib/controller/getApplicationSettings.php
-
16lib/controller/getDashBoardItems.php
-
6lib/controller/getGeoZones.php
-
118lib/controller/getModuleSettings.php
-
7lib/controller/getReportLayout.php
-
2lib/controller/getVideoInfo.php
-
9lib/controller/report/node_10.js
-
78lib/controller/report/node_11.js
-
9lib/controller/report/node_12.js
-
72lib/controller/report/node_13 - Copy.js
-
7lib/controller/report/node_13.js
-
19lib/controller/report/node_13.js.bk2
-
7lib/controller/report/node_14.js
-
7lib/controller/report/node_15.js
-
95lib/controller/report/node_3 - Copy.js
-
466lib/javascript/jsapi_dynamic/mojo_dashboard.js
-
7lib/javascript/jsapi_dynamic/mojo_main.js
-
139lib/javascript/jsapi_dynamic/mojo_reports.js
-
60lib/javascript/jsapi_dynamic/mojo_settings.js
-
1lib/javascript/leaflet/leaflet.css
-
1lib/javascript/opencv/26135642c47363fed2a2e12ec518cfc1837de5e92ffb6e767f074cb9a3e3865a.map
-
8lib/javascript/opencv/opencv.min.js
-
13lib/upgrade_database.php
-
1style/leaflet.css
2
lib/1.json
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,72 +0,0 @@ |
|||
{ |
|||
id: 'db_node_%%%NODEID%%%', |
|||
layout:'vbox', |
|||
tools: [{ |
|||
id:'gear', |
|||
handler: function(){ |
|||
} |
|||
}], |
|||
frame: true, |
|||
bodyStyle: 'padding: 0px;', |
|||
plr: null, |
|||
title: '%%%NODENAME%%%', |
|||
sukaMineWidth: -1, |
|||
items:[{ |
|||
id: 'db_node_%%%NODEID%%%_pic', |
|||
border: true, |
|||
width: '100%', |
|||
html: '' |
|||
},{ |
|||
xtype: 'spacer', |
|||
height: 3 |
|||
},{ |
|||
html: '<table width="100%" border=0><tr><td width="24"><img id="img_btn_010_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/player/010.png"></td><td width="24"><img id="img_btn_032_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/player/032.png"></td><td width="24"><img id="img_btn_033_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/player/033.png"></td><td width="24"><img id="img_btn_034_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/player/034.png"></td><td> </td></tr><tr><td><img id="img_btn_011_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/player/011.png"></td><td><img id="img_btn_031_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/player/031.png"></td><td><img id="img_btn_020_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/basic/020.png"></td><td><img id="img_btn_027_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/player/027.png"></td><td> </td></tr><tr><td> </td><td><img id="img_btn_030_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/player/030.png"></td><td><img id="img_btn_029_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/player/029.png"></td><td><img id="img_btn_028_%%%NODEID%%%" class="ptz_ctrl_btn" src="/style/png/player/028.png"></td><td> </td></tr></table>', |
|||
height: 90 |
|||
}], |
|||
listeners:{ |
|||
resize: function( p, adjWidth, adjHeight, rawWidth, rawHeight ){ |
|||
if( rawWidth!= undefined ){ |
|||
if( p.sukaMineWidth != adjWidth ){ |
|||
p.sukaMineWidth = adjWidth; |
|||
var XX = p.sukaMineWidth * %%%HEIGHT%%% / %%%WIDTH%%%; |
|||
p.setHeight( XX + 120 ); |
|||
var z = Ext.getCmp('db_node_%%%NODEID%%%_pic'); |
|||
z.setHeight( XX ); |
|||
}; |
|||
}; |
|||
var z = Ext.getCmp('db_node_%%%NODEID%%%_pic'); |
|||
z.update('<img onmouseover="ptzCtrl(\'img-%%%NODEID%%%\');" ondblclick="fullScreen(\'img-%%%NODEID%%%\');" style="cursor: zoom-in" id="img-%%%NODEID%%%" src="%%%SELURL%%%" width="100%" />'); |
|||
}, |
|||
afterrender: function( p ){ |
|||
var xx = p.getWidth() * %%%HEIGHT%%% / %%%WIDTH%%%; |
|||
p.setHeight( xx + 120 ); |
|||
var z = Ext.getCmp('db_node_%%%NODEID%%%_pic'); |
|||
z.setHeight( xx ); |
|||
document.getElementById('img_btn_010_%%%NODEID%%%').addEventListener( 'mouseup', makePtzStop ); |
|||
document.getElementById('img_btn_010_%%%NODEID%%%').addEventListener( 'mousedown', makePtzMove ); |
|||
document.getElementById('img_btn_011_%%%NODEID%%%').addEventListener( 'mouseup', makePtzStop ); |
|||
document.getElementById('img_btn_011_%%%NODEID%%%').addEventListener( 'mousedown', makePtzMove ); |
|||
document.getElementById('img_btn_027_%%%NODEID%%%').addEventListener( 'mouseup', makePtzStop ); |
|||
document.getElementById('img_btn_027_%%%NODEID%%%').addEventListener( 'mousedown', makePtzMove ); |
|||
document.getElementById('img_btn_028_%%%NODEID%%%').addEventListener( 'mouseup', makePtzStop ); |
|||
document.getElementById('img_btn_028_%%%NODEID%%%').addEventListener( 'mousedown', makePtzMove ); |
|||
document.getElementById('img_btn_029_%%%NODEID%%%').addEventListener( 'mouseup', makePtzStop ); |
|||
document.getElementById('img_btn_029_%%%NODEID%%%').addEventListener( 'mousedown', makePtzMove ); |
|||
document.getElementById('img_btn_030_%%%NODEID%%%').addEventListener( 'mouseup', makePtzStop ); |
|||
document.getElementById('img_btn_030_%%%NODEID%%%').addEventListener( 'mousedown', makePtzMove ); |
|||
document.getElementById('img_btn_031_%%%NODEID%%%').addEventListener( 'mouseup', makePtzStop ); |
|||
document.getElementById('img_btn_031_%%%NODEID%%%').addEventListener( 'mousedown', makePtzMove ); |
|||
document.getElementById('img_btn_032_%%%NODEID%%%').addEventListener( 'mouseup', makePtzStop ); |
|||
document.getElementById('img_btn_032_%%%NODEID%%%').addEventListener( 'mousedown', makePtzMove ); |
|||
document.getElementById('img_btn_033_%%%NODEID%%%').addEventListener( 'mouseup', makePtzStop ); |
|||
document.getElementById('img_btn_033_%%%NODEID%%%').addEventListener( 'mousedown', makePtzMove ); |
|||
document.getElementById('img_btn_034_%%%NODEID%%%').addEventListener( 'mouseup', makePtzStop ); |
|||
document.getElementById('img_btn_034_%%%NODEID%%%').addEventListener( 'mousedown', makePtzMove ); |
|||
document.getElementById('img_btn_020_%%%NODEID%%%').addEventListener( 'mousedown', makePtzStop ); |
|||
}, |
|||
destroy: function( t ){ |
|||
if( t.plr != null ) t.plr.dispose(); |
|||
t.plr = null; |
|||
} |
|||
} |
|||
} |
|||
@ -1,19 +0,0 @@ |
|||
{ |
|||
id: 'db_node_%%%NODEID%%%', |
|||
xtype: 'panel', |
|||
width: 400, |
|||
height: 400, |
|||
frame: true, |
|||
title: 'Camera %%%NODEID%%%', |
|||
items:[{ |
|||
html: '<video id="hls-example" class="video-js vjs-default-skin" width="400" height="300"><source type="application/x-mpegURL" src="http://192.168.0.116:8081/d7d823703f68ba05c04efdb7474c2de5/7/hls.m3u8"></video>', |
|||
}], |
|||
listeners:{ |
|||
afterrender: function(){ |
|||
var player = videojs('hls-example',{ |
|||
autoplay: 'muted' |
|||
}); |
|||
return true; |
|||
}, |
|||
} |
|||
} |
|||
@ -1,95 +0,0 @@ |
|||
{ |
|||
id: 'db_node_%%%NODEID%%%', |
|||
width: 258, |
|||
height: 320, |
|||
title: '%%%NODENAME%%%', |
|||
tools: [{ |
|||
id:'gear', |
|||
handler: function(){ |
|||
//Ext.Msg.alert('Message', 'The Settings tool was clicked.');
|
|||
showSensorToolBox( %%%NODEID%%% ); |
|||
} |
|||
}], |
|||
listeners:{ |
|||
afterrender: function(){ |
|||
cleanup2DDraw( %%%NODEID%%% ); |
|||
drawZoomLevels[%%%NODEID%%%]=100; |
|||
} |
|||
}, |
|||
items:[{ |
|||
html: '<center><img id="draw_img_%%%NODEID%%%" src="/lib/controller/getDeviceDraw.php?NID=%%%NODEID%%%&AUX=100" style="cursor: crosshair;"><canvas id="targ_canvas_%%%NODEID%%%" style="display: none; cursor: crosshair;" onclick="DrawClicker( %%%NODEID%%%, event );" width="200" height="210"></canvas></center>', |
|||
height: '260px' |
|||
},{ |
|||
id: 'status_%%%NODEID%%%', |
|||
border: true, |
|||
frame: true, |
|||
height: 36, |
|||
html: '' |
|||
}], |
|||
bbar:[{ |
|||
xtype: 'button', |
|||
text: '12.5%', |
|||
enableToggle: true, |
|||
id: 'zoom_bt12_%%%NODEID%%%', |
|||
toggleGroup: 'zoom_tg_%%%NODEID%%%', |
|||
toggleHandler: function( bt, st ){ |
|||
if( st ){ |
|||
drawZoomLevels[%%%NODEID%%%]=12; |
|||
var img = document.getElementById('draw_img_%%%NODEID%%%'); |
|||
img.src = "/lib/controller/getDeviceDraw.php?NID=%%%NODEID%%%&AUX=12"; |
|||
img.onload = function(){ |
|||
cleanup2DDraw( %%%NODEID%%% ); |
|||
}; |
|||
}; |
|||
} |
|||
},{ |
|||
xtype: 'button', |
|||
text: '25%', |
|||
enableToggle: true, |
|||
id: 'zoom_bt25_%%%NODEID%%%', |
|||
toggleGroup: 'zoom_tg_%%%NODEID%%%', |
|||
toggleHandler: function( bt, st ){ |
|||
if( st ){ |
|||
drawZoomLevels[%%%NODEID%%%]=25; |
|||
var img = document.getElementById('draw_img_%%%NODEID%%%'); |
|||
img.src = "/lib/controller/getDeviceDraw.php?NID=%%%NODEID%%%&AUX=25"; |
|||
img.onload = function(){ |
|||
cleanup2DDraw( %%%NODEID%%% ); |
|||
}; |
|||
}; |
|||
} |
|||
},{ |
|||
xtype: 'button', |
|||
text: '50%', |
|||
enableToggle: true, |
|||
id: 'zoom_bt50_%%%NODEID%%%', |
|||
toggleGroup: 'zoom_tg_%%%NODEID%%%', |
|||
toggleHandler: function( bt, st ){ |
|||
if( st ){ |
|||
drawZoomLevels[%%%NODEID%%%]=50; |
|||
var img = document.getElementById('draw_img_%%%NODEID%%%'); |
|||
img.src = "/lib/controller/getDeviceDraw.php?NID=%%%NODEID%%%&AUX=50"; |
|||
img.onload = function(){ |
|||
cleanup2DDraw( %%%NODEID%%% ); |
|||
}; |
|||
}; |
|||
} |
|||
},{ |
|||
xtype: 'button', |
|||
text: '100%', |
|||
pressed: true, |
|||
enableToggle: true, |
|||
id: 'zoom_bt100_%%%NODEID%%%', |
|||
toggleGroup: 'zoom_tg_%%%NODEID%%%', |
|||
toggleHandler: function( bt, st ){ |
|||
if( st ){ |
|||
drawZoomLevels[%%%NODEID%%%]=100; |
|||
var img = document.getElementById('draw_img_%%%NODEID%%%'); |
|||
img.src = "/lib/controller/getDeviceDraw.php?NID=%%%NODEID%%%&AUX=100"; |
|||
img.onload = function(){ |
|||
cleanup2DDraw( %%%NODEID%%% ); |
|||
}; |
|||
}; |
|||
} |
|||
}] |
|||
} |
|||
1
lib/javascript/opencv/26135642c47363fed2a2e12ec518cfc1837de5e92ffb6e767f074cb9a3e3865a.map
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
8
lib/javascript/opencv/opencv.min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue