Update main.js

This commit is contained in:
钟进 2018-11-14 09:52:29 +08:00
parent 7b8f02f50e
commit 77b08b1983

12
main.js
View File

@ -355,13 +355,17 @@ function parseConfig(callback) {
checkObjects(adapter.config, 'config', 'config', 'Config Info', tasks, newObjects);
checkObjects(adapter.config, 'yz', 'yz', 'menjin', tasks, newObjects);
checkObjects(adapter.config, 'yz', 'yz', '闸机', tasks, newObjects);
checkObjects(adapter.config, 'dz', 'dz', 'chedao', tasks, newObjects);
checkObjects(adapter.config, 'dz', 'dz', '车道', tasks, newObjects);
checkObjects(adapter.config, 'video', 'video', 'video', tasks, newObjects);
checkObjects(adapter.config, 'video', 'video', '视频', tasks, newObjects);
checkObjects(adapter.config, 'power', 'power', 'room power', tasks, newObjects);
checkObjects(adapter.config, 'power', 'power', '电源控制', tasks, newObjects);
checkObjects(adapter.config, 'ludeng', 'ludeng', '路灯', tasks, newObjects);
checkObjects(adapter.config, 'dianti', 'dianti', '电梯', tasks, newObjects);
tasks.push({
id: 'info',