diff --git a/projects/IoTCenter/wwwroot/node.default.html b/projects/IoTCenter/wwwroot/node.default.html index 83060b58..af105644 100644 --- a/projects/IoTCenter/wwwroot/node.default.html +++ b/projects/IoTCenter/wwwroot/node.default.html @@ -113,23 +113,23 @@
- + - + - + - - - + + + - + @@ -194,13 +194,13 @@
-
- - - - - - +
+ + + + + +
{{device.Name||device.DisplayName}} @@ -217,9 +217,9 @@
-
- - +
+ +
{{device.Name||device.DisplayName}} @@ -368,7 +368,7 @@ } return false; }); - $('body').on('mousedown', 'img.ajax', function (e) { + $('body').on('mousedown', 'img.camera.ajax', function (e) { var number = $('#camera').val(); if ($(this).hasClass('Zoomin')) { ajax('/App/Exec', { connectionId: connectionId, number: number, method: '/Onvif/Zoomin' }, 'post'); @@ -545,6 +545,9 @@ } } return null; + }, + CallApi(number, method) { + ajax('/App/Exec', { number:number,method:method }, 'post'); } }, destroy() {