summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-04-26 10:19:37 -0400
committerARC <arjunrc@gmail.com>2015-04-26 10:19:37 -0400
commit4f85c93a83074f8a7a0dc754bd9516c51401c24e (patch)
tree5720407909f7fae3f84d0a2f91d2072851a9e5bc /www/js/DataModel.js
parentb08473490be9d1571ebbd893ce5564043b3950d3 (diff)
add simulation mode via settings and in montage view. Events pending
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index f42a8bcf..1e13effc 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -283,6 +283,12 @@ angular.module('zmApp.controllers').service('ZMDataModel', ['$http', '$q', '$ion
return "(Unknown)";
},
+ getMontageImagePath: function (){
+
+ var path = "{{LoginData.url}}/cgi-bin/nph-zms?mode=jpeg&amp;monitor={{monitor.Monitor.Id}}&scale=100&maxfps=3&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}";
+
+ return (path);
+ }
};