summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-04-27 11:05:34 -0400
committerARC <arjunrc@gmail.com>2015-04-27 11:05:34 -0400
commit015e628e26aa17ea739cf72b5a12e8f21ab1cf1c (patch)
tree654de07b29af79d46f288ee8588fe306c649644e /www/js/DataModel.js
parentc0da840fed4f6a63b20e5205f11905b7160ae428 (diff)
You can now view events footage from the events list
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index dcd8d11d..4a4fdee0 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -68,6 +68,7 @@ angular.module('zmApp.controllers').service('ZMDataModel', ['$http', '$q', '$ion
simevents.push({
"Event": {
// Obviously this is dummy data
+ "Id":Math.floor(Math.random() * (5000 - 100 + 1)) + 1000,
"MonitorId": mon.toString(),
"Cause": causes[Math.floor(Math.random() * (2 - 0 + 1)) + 0],
"Length": Math.floor(Math.random() * (700 - 20 + 1)) + 20,