refactoring; version update

This commit is contained in:
rasta5man 2025-01-17 15:09:02 +01:00
parent fad53c9c01
commit 4c59ccd095
3 changed files with 4 additions and 2 deletions

View file

@ -773,6 +773,7 @@ exports.install = function(instance) {
//potrebujem nody k danej linii //potrebujem nody k danej linii
if (line == nodesData[node].line || line == undefined) { if (line == nodesData[node].line || line == undefined) {
let tbname = nodesData[node].tbname; let tbname = nodesData[node].tbname;
const dataToTb = { const dataToTb = {
[tbname]: [ [tbname]: [
@ -782,9 +783,9 @@ exports.install = function(instance) {
} }
] ]
} }
//NOTE: we can not use sendTelemetry function, as it modifies input data (values object) //NOTE: we can not use sendTelemetry function, as it modifies input data (values object)
instance.send(SEND_TO.tb, dataToTb); instance.send(SEND_TO.tb, dataToTb);
} }
}, (index + 1) * 300); }, (index + 1) * 300);

View file

@ -64,7 +64,7 @@ exports.install = async function(instance) {
if(dbs.nodesData.hasOwnProperty("0")) delete dbs.nodesData["0"]; if(dbs.nodesData.hasOwnProperty("0")) delete dbs.nodesData["0"];
dbs.settings = { dbs.settings = {
edge_fw_version : "2025-01-09", //rok-mesiac-den edge_fw_version : "2025-01-13", //rok-mesiac-den
language : responseSettings[0]["lang"], language : responseSettings[0]["lang"],
rvo_name : responseSettings[0]["rvo_name"], rvo_name : responseSettings[0]["rvo_name"],
project_id : responseSettings[0]["project_id"], project_id : responseSettings[0]["project_id"],

View file

@ -39,6 +39,7 @@ class DataToTbHandler {
inclination_y: 10, inclination_y: 10,
inclination_z: 10 inclination_z: 10
}; };
} }
dump() { dump() {