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
|
||||
if (line == nodesData[node].line || line == undefined) {
|
||||
|
||||
let tbname = nodesData[node].tbname;
|
||||
const dataToTb = {
|
||||
[tbname]: [
|
||||
|
|
@ -782,9 +783,9 @@ exports.install = function(instance) {
|
|||
}
|
||||
]
|
||||
}
|
||||
|
||||
//NOTE: we can not use sendTelemetry function, as it modifies input data (values object)
|
||||
instance.send(SEND_TO.tb, dataToTb);
|
||||
|
||||
}
|
||||
|
||||
}, (index + 1) * 300);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue