From 77b08b1983db58dbf6ff7d113d328bf286b516d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Wed, 14 Nov 2018 09:52:29 +0800 Subject: [PATCH] Update main.js --- main.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/main.js b/main.js index 915b5ce..54daaf1 100644 --- a/main.js +++ b/main.js @@ -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',