Browse Source

drop old fake data that isn't used anymore..

main
John-Mark Gurney 4 years ago
parent
commit
8dd61b9042
1 changed files with 0 additions and 32 deletions
  1. +0
    -32
      root/js/solardash.file.jspp

+ 0
- 32
root/js/solardash.file.jspp View File

@@ -91,38 +91,6 @@ WebSocketTest.prototype.makercv = function (m) {
this.onmessage(new MessageEvent('websockettest', { data: m }));
}

fakeData = [
[ 1578544199000, 0.3934 ],
[ 1578544209000, 0.4934 ],
[ 1578544219000, 0.5234 ],
[ 1578544229000, 0.4734 ],
[ 1578544239000, 0.4334 ],
[ 1578544249000, 0.2334 ],
[ 1578544259000, 0.1034 ],
[ 1578544269000, -0.4334 ],
[ 1578544279000, -0.6334 ],
[ 1578544289000, -0.2334 ],
]

fakeConData = [
[ 1578544199000, 0.3934 ],
[ 1578544209000, 0.4934 ],
[ 1578544219000, 0.5234 ],
[ 1578544229000, 0.4734 ],
[ 1578544239000, 0.4334 ],
[ 1578544249000, 0.2334 ],
[ 1578544259000, 0.1034 ],
[ 1578544269000, 0.4334 ],
[ 1578544279000, 0.6334 ],
[ 1578544289000, 0.2334 ],
]

fakeOverviewData = {
grid: fakeData,
consumption: fakeConData,
production: fakeConData,
}

function getoverviewdata() {
return {
grid: fakedata.index,


Loading…
Cancel
Save