refactoring; version update
This commit is contained in:
parent
fad53c9c01
commit
4c59ccd095
3 changed files with 4 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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"],
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ class DataToTbHandler {
|
||||||
inclination_y: 10,
|
inclination_y: 10,
|
||||||
inclination_z: 10
|
inclination_z: 10
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dump() {
|
dump() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue