Update main.js

This commit is contained in:
Administrator 2018-11-08 10:19:06 +08:00
parent 30025d6b86
commit 19696e733c

View File

@ -272,7 +272,7 @@ function checkObjects(options, regType, regName, regFullName, tasks, newObjects)
adapter.log.warn('regs=' + JSON.stringify(regs));
for (let i = 0; regs.length > i; i++) {
const id = adapter.namespace + '.' + regs[i]._address;
const id = adapter.namespace + '.' + regType + '.' + regs[i]._address;
adapter.log.warn('id=' + id);