summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
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,