summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEbus-at-dockstar <ebus@dockstar>2013-04-30 17:50:25 +0200
committerEbus-at-dockstar <ebus@dockstar>2013-04-30 17:50:52 +0200
commita3f3c9d7a9bb5237628eaa30b550c9cc5d3dcdc2 (patch)
tree61e49ad91c7472a5836bd51224e7d1195eb16a28
parent5e002f200691d5fd9c46ff645668b82e17c2261b (diff)
downloadebus-alt-a3f3c9d7a9bb5237628eaa30b550c9cc5d3dcdc2.tar.gz
ebus-alt-a3f3c9d7a9bb5237628eaa30b550c9cc5d3dcdc2.zip
wwwroot_ebus
m---------datastore-leveldb/mongoose0
-rw-r--r--datastore-leveldb/wwwroot/src/ebus.js232
-rw-r--r--datastore-leveldb/wwwroot_ebus/control.html (renamed from datastore-leveldb/wwwroot/control.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/css/stylesheet.css (renamed from datastore-leveldb/wwwroot/css/stylesheet.css)6
-rw-r--r--datastore-leveldb/wwwroot_ebus/draw.svg (renamed from datastore-leveldb/wwwroot/draw.svg)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/index.html (renamed from datastore-leveldb/wwwroot/index.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/d3-v2.6.1/d3.js (renamed from datastore-leveldb/wwwroot/lib/d3-v2.6.1/d3.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/d3-v2.6.1/d3.time.js (renamed from datastore-leveldb/wwwroot/lib/d3-v2.6.1/d3.time.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/API.txt (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/API.txt)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/FAQ.txt (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/FAQ.txt)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/LICENSE.txt (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/LICENSE.txt)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/Makefile (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/Makefile)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/NEWS.txt (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/NEWS.txt)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/PLUGINS.txt (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/PLUGINS.txt)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/README.txt (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/README.txt)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/ajax.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/ajax.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/annotating.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/annotating.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-down.gif (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-down.gif)bin916 -> 916 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-left.gif (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-left.gif)bin891 -> 891 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-right.gif (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-right.gif)bin897 -> 897 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-up.gif (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-up.gif)bin916 -> 916 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/basic.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/basic.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-1.json (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-1.json)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-2.json (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-2.json)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-3.json (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-3.json)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-4.json (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-4.json)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-5.json (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-5.json)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth.json (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth.json)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-japan-gdp-growth.json (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-japan-gdp-growth.json)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-usa-gdp-growth.json (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-usa-gdp-growth.json)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/graph-types.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/graph-types.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/hs-2004-27-a-large_web.jpg (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/hs-2004-27-a-large_web.jpg)bin34489 -> 34489 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/image.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/image.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/index.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/index.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/interacting-axes.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/interacting-axes.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/interacting.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/interacting.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/layout.css (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/layout.css)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/multiple-axes.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/multiple-axes.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/navigate.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/navigate.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/percentiles.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/percentiles.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/pie.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/pie.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/realtime.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/realtime.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/resize.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/resize.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/selection.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/selection.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/setting-options.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/setting-options.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/stacking.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/stacking.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/symbols.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/symbols.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/thresholding.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/thresholding.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/time.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/time.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/tracking.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/tracking.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/turning-series.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/turning-series.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/visitors.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/visitors.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/zooming.html (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/examples/zooming.html)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/excanvas.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/excanvas.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/excanvas.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/excanvas.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.colorhelpers.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.colorhelpers.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.colorhelpers.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.colorhelpers.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.crosshair.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.crosshair.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.crosshair.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.crosshair.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.fillbetween.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.fillbetween.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.fillbetween.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.fillbetween.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.image.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.image.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.image.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.image.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.navigate.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.navigate.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.navigate.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.navigate.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.pie.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.pie.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.pie.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.pie.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.resize.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.resize.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.resize.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.resize.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.selection.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.selection.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.selection.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.selection.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.stack.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.stack.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.stack.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.stack.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.symbol.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.symbol.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.symbol.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.symbol.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.threshold.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.threshold.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.min.js (renamed from datastore-leveldb/wwwroot/lib/flot-0.7/jquery.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-1.6.2/jquery-1.6.2.js (renamed from datastore-leveldb/wwwroot/lib/jquery-1.6.2/jquery-1.6.2.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-1.6.2/jquery-1.6.2.min.js (renamed from datastore-leveldb/wwwroot/lib/jquery-1.6.2/jquery-1.6.2.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_flat_0_aaaaaa_40x100.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_flat_0_aaaaaa_40x100.png)bin180 -> 180 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_flat_75_ffffff_40x100.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_flat_75_ffffff_40x100.png)bin178 -> 178 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_55_fbf9ee_1x400.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_55_fbf9ee_1x400.png)bin120 -> 120 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_65_ffffff_1x400.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_65_ffffff_1x400.png)bin105 -> 105 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_dadada_1x400.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_dadada_1x400.png)bin111 -> 111 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_e6e6e6_1x400.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_e6e6e6_1x400.png)bin110 -> 110 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_95_fef1ec_1x400.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_95_fef1ec_1x400.png)bin119 -> 119 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_highlight-soft_75_cccccc_1x100.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_highlight-soft_75_cccccc_1x100.png)bin101 -> 101 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_222222_256x240.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_222222_256x240.png)bin4369 -> 4369 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_2e83ff_256x240.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_2e83ff_256x240.png)bin4369 -> 4369 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_454545_256x240.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_454545_256x240.png)bin4369 -> 4369 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_888888_256x240.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_888888_256x240.png)bin4369 -> 4369 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_cd0a0a_256x240.png (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_cd0a0a_256x240.png)bin4369 -> 4369 bytes
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.css (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.css)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.min.js (renamed from datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.min.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/src/d3.control.js (renamed from datastore-leveldb/wwwroot/src/d3.control.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/src/d3.plot.js (renamed from datastore-leveldb/wwwroot/src/d3.plot.js)0
-rw-r--r--datastore-leveldb/wwwroot_ebus/src/ebus.js258
101 files changed, 261 insertions, 235 deletions
diff --git a/datastore-leveldb/mongoose b/datastore-leveldb/mongoose
-Subproject 2a0b55b30ba07ab464ec7ede4d3461014d8375c
+Subproject c352486abbcb4caf483aed02acaefcf522df3a4
diff --git a/datastore-leveldb/wwwroot/src/ebus.js b/datastore-leveldb/wwwroot/src/ebus.js
deleted file mode 100644
index c90cb31..0000000
--- a/datastore-leveldb/wwwroot/src/ebus.js
+++ /dev/null
@@ -1,232 +0,0 @@
-// vim: autoindent tabstop=4 shiftwidth=4 expandtab softtabstop=4 filetype=javascript
-var d = new Object();
-d.ms = 1;
-d.sec = 1000*d.ms;
-d.min = 60 * d.sec;
-d.hour = 60 * d.min;
-d.day = 24 * d.hour;
-d.week = 7 * d.day;
-d.month = 30.5 * d.day;
-d.now = new Date().getTime();
-
-var timeToUTC = function(d) { return d + new Date().getTimezoneOffset() * 60 * 1000; }
-var timeToLocal = function(d) { return d - new Date().getTimezoneOffset() * 60 * 1000; }
-
-$(document).ready(function(){
- var from = d.now - 1*d.day;
- var to = d.now;
- var fromOverview = d.now - 24 * d.hour;
- var toOverview = d.now;
- var datasetDetail = []
- var datasetOverview = [];
- var plotOverview = null;
- var plotDetail = null;
- var indexFound = null;
- var sensorConfigList = [
- {"sensorname":"heizkreisregler9.solarDaten.tempKollektor",
- "description":"Kollektortemperatur",
- "show":true,
- "color":"#f30000"},
- {"sensorname":"heizkreisregler10.betriebsdatenRegler1.kesselTemperatur",
- "description":"Kessel Temperatur",
- "show":true,
- "color":"#283074"},
- {"sensorname":"heizkreisregler9.solarDaten.tempWarmwasserSolar",
- "description":"Warmwasser Solar",
- "show":false,
- "color":"#f0ff4c"},
- {"sensorname":"feuerungsautomat1.betriebsdatenRegler1.aussenTemperatur",
- "description":"Aussentemperatur",
- "show":false,
- "color":"#84b500"},
- {"sensorname":"dockstar.load1",
- "description":"System Load (1m, *10)",
- "show":false,
- "color":"blue",
- "mapFunc":function(d){return [d[0],d[1]*10]}},
- {"sensorname":"dockstar.load5",
- "description":"System Load (5m, *10)",
- "show":false,
- "color":"blue",
- "mapFunc":function(d){return [d[0],d[1]*10]}},
- {"sensorname":"dockstar.diskfree.rootfs",
- "description":"Rootfs free percent",
- "show":false,
- "color":"red"},
- {"sensorname":"heizkreisregler10.betriebsdatenRegler1.boilerTemperatur",
- "description":"Boilertemperatur",
- "show":false,
- "color":"#48b4ff"},
- {"sensorname":"feuerungsautomat1.betriebsdatenRegler1.kesselTemperatur",
- "description":"Kesseltemperatur",
- "show":false,
- "color":"blue"},
- {"sensorname":"de.wettermichel.temperature",
- "description":"Aussentemperatur",
- "show":false,
- "color":"yellow"},
- {"sensorname":"yves.laserjet.tonerstatus",
- "description":"Fuellstand Toner %",
- "show":false,
- "color":"black"}
- ];
-
- var pickSensorConfig = function(sensorname) {
- var sensorConfigFound;
- $.each(sensorConfigList, function(i,sensorConfig) {
- if (sensorConfig.sensorname == sensorname) {
- sensorConfigFound = sensorConfig;
- return false;
- }
- });
- return sensorConfigFound;
- }
- var replot = function() {
- plotDetail = $.plot($("#ebusgraph"),
- datasetDetail,
- {
- xaxis: { mode: "time", min: timeToLocal(from), max:timeToLocal(to) },
- yaxis: { min: -16, max: 100 },
- legend: { show : true}
- });
- };
- var replotOverview = function() {
- if (plotOverview == null) {
- plotOverview = $.plot($("#overview"),
- datasetOverview,
- { // options
- series: {
- lines: { show: true, lineWidth: 1 },
- shadowSize: 0
- },
- xaxis: { mode: "time", min: timeToLocal(fromOverview), max:timeToLocal(toOverview)},
- yaxis: { ticks: [], min: -26, max: 100, autoscaleMargin: 0.1 },
- legend: { show: false },
- selection: { mode: "x" }
- });
- } else {
- plotOverview.setData(datasetOverview);
- plotOverview.draw();
- }
- plotOverview.setSelection({xaxis: {'from': from, 'to': to}}, true);
- };
- var plotSensor = function(sensorConfig) {
- plotSensorDetail(sensorConfig);
- plotSensorOverview(sensorConfig);
- };
- var unplotSensor = function(sensorname) {
- unplotSensorDetail(sensorname);
- unplotSensorOverview(sensorname);
- };
- var plotSensorDetail = function(sensorConfig) {
- $.getJSON("/api/range/"+escape(sensorConfig.sensorname)+"/"+from+"/"+to+"/800",
- function(response) {
- console.log("foo");
- if (!response.error) {
- response.data = response.data.map(function(d) {
- return [ timeToLocal(d[0]), d[1] ];
- });
- if (sensorConfig.mapFunc) {
- response.data = response.data.map( sensorConfig.mapFunc )
- }
- datasetDetail.push({'data':response['data'],
- 'userData':sensorConfig.sensorname,
- 'label':sensorConfig.description,
- 'color':sensorConfig.color});
- replot();
- } else {
- alert("Fehler: " + response["error"]);
- }
- }).fail(function(a) { console.log(a); });
- };
-
- var unplotSensorDetail = function(sensorname) {
- $.each(datasetDetail, function(i, sensor) {
- if (sensor.userData == sensorname) {
- datasetDetail.splice(i,1);
- replot();
- return false;
- }
- });
- };
-
- var plotSensorOverview = function(sensorConfig) {
- $.getJSON("api/range/"+escape(sensorConfig.sensorname)+"/"+fromOverview+"/"+toOverview+ "/800",
- function(response) {
- if (!response.error) {
- response.data = response.data.map(function(d) {
- return [ timeToLocal(d[0]), d[1] ];
- });
- if (sensorConfig.mapFunc) {
- response.data = response.data.map( sensorConfig.mapFunc)
- }
- datasetOverview.push({'data':response['data'],
- 'label':sensorConfig.sensorname,
- 'color':sensorConfig.color});
- replotOverview();
- } else {
- alert("Overview Fehler: " + response["error"]);
- }
- });
-
- };
- var unplotSensorOverview = function(sensorname) {
- $.each(datasetOverview, function(i, sensor) {
- if (sensor.label == sensorname) {
- datasetOverview.splice(i,1);
- replotOverview();
- return false;
- }
- });
- }
-
- $("#overview").bind("plotselected", function (event, ranges) {
- range_from = Math.round(ranges.xaxis.from);
- range_to = Math.round(ranges.xaxis.to);
- // max selection range
- if (range_to - range_from > d.month) {
- // reset selection
- plotOverview.setSelection({xaxis: {'from': from, 'to': to}}, true);
- return;
- } else {
- from = timeToUTC(range_from);
- to = timeToUTC(range_to);
- }
- sensors = [];
- for (elem in datasetOverview) {
- sensor = datasetDetail[elem]["userData"];
- sensors.push(sensor);
- }
- datasetDetail =[];
- for (i in sensors) {
- plotSensorDetail(pickSensorConfig(sensors[i]));
- }
- });
-
- $.each(sensorConfigList, function(i,sensorConfig) {
- var pickerDiv = $("<div>").attr("id","pick_"+sensorConfig.sensorname.replace(/\./g,"_"))
- .addClass("picker")
- .appendTo("#sensorpicker");
-
- var pickerCheckbox = $("<input>").attr("type","checkbox")
- .appendTo(pickerDiv);
- pickerDiv.append($("<span>").text( sensorConfig.description + " (" + sensorConfig.sensorname + ")") );
- if (sensorConfig.show) {
- //Plot
- plotSensor(sensorConfig);
- $(pickerCheckbox).attr("checked","checked");
- }
- });
- // TODO http://people.iola.dk/olau/flot/examples/annotating.html
-
-
- $('.picker input').click( function() {
- var sensorname = $(this).parent().attr("id").replace("pick_","").replace(/_/g,".");
- if ($(this).is(":checked")) {
- if (typeof console != "undefined") console.log(sensorname);
- plotSensor(pickSensorConfig(sensorname));
- } else {
- unplotSensor(sensorname);
- }
- });
-});
diff --git a/datastore-leveldb/wwwroot/control.html b/datastore-leveldb/wwwroot_ebus/control.html
index db9e7b8..db9e7b8 100644
--- a/datastore-leveldb/wwwroot/control.html
+++ b/datastore-leveldb/wwwroot_ebus/control.html
diff --git a/datastore-leveldb/wwwroot/css/stylesheet.css b/datastore-leveldb/wwwroot_ebus/css/stylesheet.css
index f114bc7..3f9a276 100644
--- a/datastore-leveldb/wwwroot/css/stylesheet.css
+++ b/datastore-leveldb/wwwroot_ebus/css/stylesheet.css
@@ -1,12 +1,12 @@
body {
font-family:sans;
text-align:center;
+ padding: 40px;
}
#ebusgraph {
- margin:auto;
- width:100%;
- height: 60%;
+ width: 100%;
+ height: 70%;
}
#overview {
diff --git a/datastore-leveldb/wwwroot/draw.svg b/datastore-leveldb/wwwroot_ebus/draw.svg
index e3c46b5..e3c46b5 100644
--- a/datastore-leveldb/wwwroot/draw.svg
+++ b/datastore-leveldb/wwwroot_ebus/draw.svg
diff --git a/datastore-leveldb/wwwroot/index.html b/datastore-leveldb/wwwroot_ebus/index.html
index c69a9b1..c69a9b1 100644
--- a/datastore-leveldb/wwwroot/index.html
+++ b/datastore-leveldb/wwwroot_ebus/index.html
diff --git a/datastore-leveldb/wwwroot/lib/d3-v2.6.1/d3.js b/datastore-leveldb/wwwroot_ebus/lib/d3-v2.6.1/d3.js
index d71f57d..d71f57d 100644
--- a/datastore-leveldb/wwwroot/lib/d3-v2.6.1/d3.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/d3-v2.6.1/d3.js
diff --git a/datastore-leveldb/wwwroot/lib/d3-v2.6.1/d3.time.js b/datastore-leveldb/wwwroot_ebus/lib/d3-v2.6.1/d3.time.js
index 4c1cda4..4c1cda4 100644
--- a/datastore-leveldb/wwwroot/lib/d3-v2.6.1/d3.time.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/d3-v2.6.1/d3.time.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/API.txt b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/API.txt
index 8a8dbc2..8a8dbc2 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/API.txt
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/API.txt
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/FAQ.txt b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/FAQ.txt
index e02b761..e02b761 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/FAQ.txt
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/FAQ.txt
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/LICENSE.txt b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/LICENSE.txt
index 07d5b20..07d5b20 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/LICENSE.txt
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/LICENSE.txt
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/Makefile b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/Makefile
index b300f1a..b300f1a 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/Makefile
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/Makefile
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/NEWS.txt b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/NEWS.txt
index 5f8e1a0..5f8e1a0 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/NEWS.txt
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/NEWS.txt
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/PLUGINS.txt b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/PLUGINS.txt
index af3d90b..af3d90b 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/PLUGINS.txt
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/PLUGINS.txt
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/README.txt b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/README.txt
index 1e49787..1e49787 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/README.txt
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/README.txt
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/ajax.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/ajax.html
index 9b5ec85..9b5ec85 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/ajax.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/ajax.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/annotating.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/annotating.html
index 72c212b..72c212b 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/annotating.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/annotating.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-down.gif b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-down.gif
index e239d11..e239d11 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-down.gif
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-down.gif
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-left.gif b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-left.gif
index 93ffd5a..93ffd5a 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-left.gif
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-left.gif
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-right.gif b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-right.gif
index 5fd0530..5fd0530 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-right.gif
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-right.gif
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-up.gif b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-up.gif
index 7d19626..7d19626 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/arrow-up.gif
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/arrow-up.gif
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/basic.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/basic.html
index b116d94..b116d94 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/basic.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/basic.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-1.json b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-1.json
index 51952cf..51952cf 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-1.json
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-1.json
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-2.json b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-2.json
index 82004d6..82004d6 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-2.json
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-2.json
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-3.json b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-3.json
index 8684479..8684479 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-3.json
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-3.json
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-4.json b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-4.json
index b363578..b363578 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-4.json
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-4.json
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-5.json b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-5.json
index a7e1e13..a7e1e13 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth-5.json
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth-5.json
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth.json b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth.json
index a7e1e13..a7e1e13 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-eu-gdp-growth.json
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-eu-gdp-growth.json
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-japan-gdp-growth.json b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-japan-gdp-growth.json
index 855477c..855477c 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-japan-gdp-growth.json
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-japan-gdp-growth.json
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-usa-gdp-growth.json b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-usa-gdp-growth.json
index 33f66c6..33f66c6 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/data-usa-gdp-growth.json
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/data-usa-gdp-growth.json
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/graph-types.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/graph-types.html
index dd21a31..dd21a31 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/graph-types.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/graph-types.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/hs-2004-27-a-large_web.jpg b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/hs-2004-27-a-large_web.jpg
index a1d5c05..a1d5c05 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/hs-2004-27-a-large_web.jpg
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/hs-2004-27-a-large_web.jpg
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/image.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/image.html
index 073ad43..073ad43 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/image.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/image.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/index.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/index.html
index f24f750..f24f750 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/index.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/index.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/interacting-axes.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/interacting-axes.html
index 5b6e3bb..5b6e3bb 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/interacting-axes.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/interacting-axes.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/interacting.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/interacting.html
index d04eedd..d04eedd 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/interacting.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/interacting.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/layout.css b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/layout.css
index 7ef7dd4..7ef7dd4 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/layout.css
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/layout.css
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/multiple-axes.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/multiple-axes.html
index 4b32e64..4b32e64 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/multiple-axes.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/multiple-axes.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/navigate.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/navigate.html
index c916ef2..c916ef2 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/navigate.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/navigate.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/percentiles.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/percentiles.html
index 9f2ba3a..9f2ba3a 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/percentiles.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/percentiles.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/pie.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/pie.html
index 8f51411..8f51411 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/pie.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/pie.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/realtime.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/realtime.html
index 3b427e1..3b427e1 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/realtime.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/realtime.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/resize.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/resize.html
index d1e18c3..d1e18c3 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/resize.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/resize.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/selection.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/selection.html
index 1646f5a..1646f5a 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/selection.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/selection.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/setting-options.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/setting-options.html
index 8d1967e..8d1967e 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/setting-options.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/setting-options.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/stacking.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/stacking.html
index b7de391..b7de391 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/stacking.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/stacking.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/symbols.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/symbols.html
index e71b1aa..e71b1aa 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/symbols.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/symbols.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/thresholding.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/thresholding.html
index f10144a..f10144a 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/thresholding.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/thresholding.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/time.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/time.html
index da62347..da62347 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/time.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/time.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/tracking.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/tracking.html
index c116159..c116159 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/tracking.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/tracking.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/turning-series.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/turning-series.html
index bc6fd9f..bc6fd9f 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/turning-series.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/turning-series.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/visitors.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/visitors.html
index 8a9d4d7..8a9d4d7 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/visitors.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/visitors.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/zooming.html b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/zooming.html
index 9a4ef22..9a4ef22 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/examples/zooming.html
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/examples/zooming.html
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/excanvas.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/excanvas.js
index c40d6f7..c40d6f7 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/excanvas.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/excanvas.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/excanvas.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/excanvas.min.js
index 12c74f7..12c74f7 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/excanvas.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/excanvas.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.colorhelpers.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.colorhelpers.js
index d3524d7..d3524d7 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.colorhelpers.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.colorhelpers.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.colorhelpers.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.colorhelpers.min.js
index 7f44c57..7f44c57 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.colorhelpers.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.colorhelpers.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.crosshair.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.crosshair.js
index 1d433f0..1d433f0 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.crosshair.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.crosshair.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.crosshair.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.crosshair.min.js
index ccaf240..ccaf240 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.crosshair.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.crosshair.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.fillbetween.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.fillbetween.js
index 69700e7..69700e7 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.fillbetween.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.fillbetween.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.fillbetween.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.fillbetween.min.js
index 47f3dfb..47f3dfb 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.fillbetween.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.fillbetween.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.image.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.image.js
index 29ccb12..29ccb12 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.image.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.image.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.image.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.image.min.js
index 9480c1e..9480c1e 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.image.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.image.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.js
index aabc544..aabc544 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.min.js
index 4467fc5..4467fc5 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.navigate.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.navigate.js
index f2b9760..f2b9760 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.navigate.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.navigate.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.navigate.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.navigate.min.js
index ecf63c9..ecf63c9 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.navigate.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.navigate.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.pie.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.pie.js
index 70941dd..70941dd 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.pie.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.pie.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.pie.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.pie.min.js
index b7bf870..b7bf870 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.pie.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.pie.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.resize.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.resize.js
index 69dfb24..69dfb24 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.resize.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.resize.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.resize.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.resize.min.js
index 1fa0771..1fa0771 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.resize.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.resize.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.selection.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.selection.js
index 7f7b326..7f7b326 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.selection.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.selection.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.selection.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.selection.min.js
index badc005..badc005 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.selection.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.selection.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.stack.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.stack.js
index a31d5dc..a31d5dc 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.stack.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.stack.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.stack.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.stack.min.js
index bba2a0e..bba2a0e 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.stack.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.stack.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.symbol.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.symbol.js
index a32fe31..a32fe31 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.symbol.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.symbol.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.symbol.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.symbol.min.js
index 272e003..272e003 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.symbol.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.symbol.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.threshold.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.js
index 0b2e7ac..0b2e7ac 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.threshold.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.threshold.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.min.js
index d8b79df..d8b79df 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.flot.threshold.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.flot.threshold.min.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.js
index 78fcfa4..78fcfa4 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.js
diff --git a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.min.js b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.min.js
index 6422523..6422523 100644
--- a/datastore-leveldb/wwwroot/lib/flot-0.7/jquery.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/flot-0.7/jquery.min.js
diff --git a/datastore-leveldb/wwwroot/lib/jquery-1.6.2/jquery-1.6.2.js b/datastore-leveldb/wwwroot_ebus/lib/jquery-1.6.2/jquery-1.6.2.js
index f3201aa..f3201aa 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-1.6.2/jquery-1.6.2.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-1.6.2/jquery-1.6.2.js
diff --git a/datastore-leveldb/wwwroot/lib/jquery-1.6.2/jquery-1.6.2.min.js b/datastore-leveldb/wwwroot_ebus/lib/jquery-1.6.2/jquery-1.6.2.min.js
index 48590ec..48590ec 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-1.6.2/jquery-1.6.2.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-1.6.2/jquery-1.6.2.min.js
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_flat_0_aaaaaa_40x100.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_flat_0_aaaaaa_40x100.png
index 5b5dab2..5b5dab2 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_flat_0_aaaaaa_40x100.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_flat_0_aaaaaa_40x100.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_flat_75_ffffff_40x100.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_flat_75_ffffff_40x100.png
index ac8b229..ac8b229 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_flat_75_ffffff_40x100.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_flat_75_ffffff_40x100.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_55_fbf9ee_1x400.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_55_fbf9ee_1x400.png
index ad3d634..ad3d634 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_55_fbf9ee_1x400.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_55_fbf9ee_1x400.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_65_ffffff_1x400.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_65_ffffff_1x400.png
index 42ccba2..42ccba2 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_65_ffffff_1x400.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_65_ffffff_1x400.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_dadada_1x400.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_dadada_1x400.png
index 5a46b47..5a46b47 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_dadada_1x400.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_dadada_1x400.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_e6e6e6_1x400.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_e6e6e6_1x400.png
index 86c2baa..86c2baa 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_e6e6e6_1x400.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_75_e6e6e6_1x400.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_95_fef1ec_1x400.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_95_fef1ec_1x400.png
index 4443fdc..4443fdc 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_glass_95_fef1ec_1x400.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_glass_95_fef1ec_1x400.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_highlight-soft_75_cccccc_1x100.png
index 7c9fa6c..7c9fa6c 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-bg_highlight-soft_75_cccccc_1x100.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-bg_highlight-soft_75_cccccc_1x100.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_222222_256x240.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_222222_256x240.png
index b273ff1..b273ff1 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_222222_256x240.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_222222_256x240.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_2e83ff_256x240.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_2e83ff_256x240.png
index 09d1cdc..09d1cdc 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_2e83ff_256x240.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_2e83ff_256x240.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_454545_256x240.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_454545_256x240.png
index 59bd45b..59bd45b 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_454545_256x240.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_454545_256x240.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_888888_256x240.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_888888_256x240.png
index 6d02426..6d02426 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_888888_256x240.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_888888_256x240.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_cd0a0a_256x240.png b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_cd0a0a_256x240.png
index 2ab019b..2ab019b 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/images/ui-icons_cd0a0a_256x240.png
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/images/ui-icons_cd0a0a_256x240.png
Binary files differ
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.css b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.css
index ad212da..ad212da 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.css
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.css
diff --git a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.min.js b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.min.js
index f9e4f1e..f9e4f1e 100644
--- a/datastore-leveldb/wwwroot/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.min.js
+++ b/datastore-leveldb/wwwroot_ebus/lib/jquery-ui-1.8.14/jquery-ui-1.8.14.custom.min.js
diff --git a/datastore-leveldb/wwwroot/src/d3.control.js b/datastore-leveldb/wwwroot_ebus/src/d3.control.js
index 489edea..489edea 100644
--- a/datastore-leveldb/wwwroot/src/d3.control.js
+++ b/datastore-leveldb/wwwroot_ebus/src/d3.control.js
diff --git a/datastore-leveldb/wwwroot/src/d3.plot.js b/datastore-leveldb/wwwroot_ebus/src/d3.plot.js
index d9a7d04..d9a7d04 100644
--- a/datastore-leveldb/wwwroot/src/d3.plot.js
+++ b/datastore-leveldb/wwwroot_ebus/src/d3.plot.js
diff --git a/datastore-leveldb/wwwroot_ebus/src/ebus.js b/datastore-leveldb/wwwroot_ebus/src/ebus.js
new file mode 100644
index 0000000..5b56d76
--- /dev/null
+++ b/datastore-leveldb/wwwroot_ebus/src/ebus.js
@@ -0,0 +1,258 @@
+// vim: set filetype=javascript expandtab tabstop=4 shiftwidth=4 autoindent smartindent:
+var d = new Object();
+d.ms = 1;
+d.sec = 1000*d.ms;
+d.min = 60 * d.sec;
+d.hour = 60 * d.min;
+d.day = 24 * d.hour;
+d.week = 7 * d.day;
+d.month = 30.5 * d.day;
+d.now = new Date().getTime();
+
+var timeToUTC = function(d) { return d + new Date().getTimezoneOffset() * 60 * 1000; }
+var timeToLocal = function(d) { return d - new Date().getTimezoneOffset() * 60 * 1000; }
+
+$(document).ready(function(){
+ var from = d.now - 2*d.day;
+ var to = d.now;
+ var fromOverview = d.now - 1.5 * d.month;
+ var toOverview = d.now;
+ var numberOfValues = jQuery("#ebusgraph").width();
+
+ var datasetDetail = [];
+ var datasetOverview = [];
+
+ var plotOverview = null;
+ var plotDetail = null;
+ var indexFound = null;
+ var sensorConfigList = [
+{
+ "sensorname":"heizkreisregler10.betriebsdatenRegler1.kesselTemperatur",
+ "description":"Kessel Temperatur",
+ "values":jQuery("#ebusgraph").width()/4,
+ "lines":{fill: true, fillColor: "rgba(80,40,100, 0.1)"},
+ "show":true,
+ "color":"rgb(80,40,100)"
+},
+{
+ "sensorname":"heizkreisregler9.solarDaten.tempKollektor",
+ "description":"Kollektortemperatur",
+ "lines":{fill: true, fillColor: "rgba(255, 0, 0, 0.4)"},
+ "show":true,
+ "color":"#f30000"
+},
+{
+ "sensorname":"heizkreisregler9.solarDaten.tempWarmwasserSolar",
+ "description":"Warmwasser Solar",
+ "lines":{fill: true, fillColor: "rgba(30,250,20,0.05)"},
+ "show":true,
+ "color":"rgba(30,250,20,0.5)"
+},
+{
+ "sensorname":"feuerungsautomat1.betriebsdatenRegler1.aussenTemperatur",
+ "description":"Aussentemperatur (ebus)",
+ "values":jQuery("#ebusgraph").width()/4,
+ "show":true,
+ "lines":{fill: true, fillColor: "rgba(250, 250, 0, 0.2)"},
+ "color":"rgb(250,250,0)"
+},
+{
+ "sensorname":"dockstar.load5",
+ "description":"System Load (5m, *10)",
+ "lines":{lineWidth:1},
+ "show":false,
+ "color":"blue",
+ "mapFunc":function(d){return [d[0],d[1]*10]}
+},
+{
+ "sensorname":"dockstar.diskfree.rootfs",
+ "description":"Rootfs free percent",
+ "show":false,
+ "color":"red"
+},
+{
+ "sensorname":"heizkreisregler10.betriebsdatenRegler1.boilerTemperatur",
+ "description":"Boilertemperatur",
+ "show":false,
+ "color":"#48b4ff"
+},
+{"sensorname":"de.wettermichel.temperature",
+ "description":"Aussentemperatur (wettermichel)",
+ "show":false,
+ "lines":{fill: true, fillColor: "rgba(132, 181, 0, 0.2)"},
+ "color":"#84b500"
+},
+ ];
+
+var pickSensorConfig = function(sensorname) {
+ var sensorConfigFound;
+ $.each(sensorConfigList, function(i,sensorConfig) {
+ if (sensorConfig.sensorname == sensorname) {
+ sensorConfigFound = sensorConfig;
+ return false;
+ }
+ });
+ return sensorConfigFound;
+}
+var replot = function() {
+ plotDetail.setData(datasetDetail);
+ plotDetail.getOptions().xaxes[0].min = timeToLocal(from);
+ plotDetail.getOptions().xaxes[0].max = timeToLocal(to);
+ plotDetail.setupGrid();
+ plotDetail.draw();
+};
+var replotOverview = function() {
+ plotOverview.setData(datasetOverview);
+ plotOverview.setSelection({xaxis: {"from": timeToLocal(from), "to": timeToLocal(to)}}, true);
+ plotOverview.setupGrid();
+ plotOverview.draw();
+};
+var plotSensor = function(sensorConfig) {
+ plotSensorDetail(sensorConfig);
+ plotSensorOverview(sensorConfig);
+};
+var unplotSensor = function(sensorname) {
+ unplotSensorDetail(sensorname);
+ unplotSensorOverview(sensorname);
+};
+var plotSensorDetail = function(sensorConfig) {
+ jQuery("#ebusgraph").animate({opacity:0.2}, 200);
+ var values = sensorConfig.values || numberOfValues;
+ $.getJSON("/api/range/"+escape(sensorConfig.sensorname)+"/"+from+"/"+to+"/" + values,
+ function(response) {
+ if (!response.error) {
+ response.data = response.data.map(function(d) {
+ return [ timeToLocal(d[0]), d[1] ];
+ });
+ if (sensorConfig.mapFunc) {
+ response.data = response.data.map( sensorConfig.mapFunc )
+ }
+ datasetDetail.push({"data":response["data"],
+ "userData":sensorConfig.sensorname,
+ "lines":sensorConfig.lines || {},
+ "label":sensorConfig.description,
+ "color":sensorConfig.color});
+
+ jQuery("#ebusgraph").animate({opacity:1.0}, 200);
+ replot();
+ } else {
+ jQuery("#ebusgraph").animate({backgroundColor: "lightRed"},200);
+ alert("Fehler: " + response["error"]);
+ }
+ }).fail(function(a) {
+ jQuery("#ebusgraph").animate({backgroundColor: "lightRed"},200);
+ });
+};
+
+var unplotSensorDetail = function(sensorname) {
+ $.each(datasetDetail, function(i, sensor) {
+ if (sensor.userData == sensorname) {
+ datasetDetail.splice(i,1);
+ replot();
+ return false;
+ }
+ });
+};
+
+var plotSensorOverview = function(sensorConfig) {
+ $.getJSON("api/range/"+escape(sensorConfig.sensorname)+"/"+fromOverview+"/"+toOverview+ "/" + numberOfValues/2,
+ function(response) {
+ if (!response.error) {
+ response.data = response.data.map(function(d) {
+ return [ timeToLocal(d[0]), d[1] ];
+ });
+ if (sensorConfig.mapFunc) {
+ response.data = response.data.map( sensorConfig.mapFunc)
+ }
+ datasetOverview.push({"data":response["data"],
+ "label":sensorConfig.sensorname,
+ "color":sensorConfig.color});
+ replotOverview();
+ } else {
+ alert("Overview Fehler: " + response["error"]);
+ }
+ });
+
+};
+var unplotSensorOverview = function(sensorname) {
+ $.each(datasetOverview, function(i, sensor) {
+ if (sensor.label == sensorname) {
+ datasetOverview.splice(i,1);
+ replotOverview();
+ return false;
+ }
+ });
+}
+
+$("#overview").bind("plotselected", function (event, ranges) {
+ range_from = Math.round(ranges.xaxis.from);
+ range_to = Math.round(ranges.xaxis.to);
+ // max selection range
+ if (range_to - range_from > d.month) {
+ // reset selection
+ plotOverview.setSelection({xaxis: {"from": from, "to": to}}, true);
+ return;
+ } else {
+ from = timeToUTC(range_from);
+ to = timeToUTC(range_to);
+ }
+ sensors = [];
+ for (elem in datasetOverview) {
+ sensor = datasetDetail[elem]["userData"];
+ sensors.push(sensor);
+ }
+ datasetDetail =[];
+ for (i in sensors) {
+ plotSensorDetail(pickSensorConfig(sensors[i]));
+ }
+});
+
+plotDetail = $.plot($("#ebusgraph"),
+ datasetDetail,
+ {
+ xaxis: { mode: "time", min: timeToLocal(from), max:timeToLocal(to) },
+ yaxis: { min: -16, max: 100 },
+ legend: { show : true}
+ });
+
+plotOverview = $.plot($("#overview"),
+ datasetOverview,
+ { // options
+ series: {
+ lines: { show: true, lineWidth: 1 },
+ shadowSize: 0
+ },
+ xaxis: { mode: "time", min: timeToLocal(fromOverview), max:timeToLocal(toOverview)},
+ yaxis: { ticks: [], min: -26, max: 100, autoscaleMargin: 0.1 },
+ legend: { show: false },
+ selection: { mode: "x" }
+ });
+
+$.each(sensorConfigList, function(i,sensorConfig) {
+ var pickerDiv = $("<div>").attr("id","pick_"+sensorConfig.sensorname.replace(/\./g,"_"))
+ .addClass("picker")
+ .appendTo("#sensorpicker");
+
+var pickerCheckbox = $("<input>").attr("type","checkbox")
+ .appendTo(pickerDiv);
+pickerDiv.append($("<span>").text( sensorConfig.description + " (" + sensorConfig.sensorname + ")") );
+if (sensorConfig.show) {
+ //Plot
+ plotSensor(sensorConfig);
+ $(pickerCheckbox).attr("checked","checked");
+}
+});
+// TODO http://people.iola.dk/olau/flot/examples/annotating.html
+
+
+$(".picker input").click( function() {
+ var sensorname = $(this).parent().attr("id").replace("pick_","").replace(/_/g,".");
+ if ($(this).is(":checked")) {
+ if (typeof console != "undefined") console.log(sensorname);
+ plotSensor(pickSensorConfig(sensorname));
+ } else {
+ unplotSensor(sensorname);
+ }
+});
+
+});