mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-11 05:56:57 +03:00
Change data to csv, harmonize REST API editflow
This commit is contained in:
@@ -59,10 +59,10 @@ fetch(_basepath + '/fileserver/log/data/' + datefile)
|
||||
for (let line of lines) {
|
||||
{
|
||||
console.log(line);
|
||||
if (line.split("\t")[1] == numbername)
|
||||
if (line.split(",")[1] == numbername)
|
||||
{
|
||||
var value = line.split("\t")[datatype];
|
||||
var time = line.split("\t")[0];
|
||||
var value = line.split(",")[datatype];
|
||||
var time = line.split(",")[0];
|
||||
console.log("> "+time+" "+value+"\n");
|
||||
trace.x.push(time);
|
||||
// timex += 1;
|
||||
|
||||
Reference in New Issue
Block a user