some js files

This commit is contained in:
Wolfgang Hottgenroth
2018-04-02 20:29:45 +02:00
parent dfc4a04df0
commit f444cb13e3
3 changed files with 5 additions and 6 deletions

3
dist/AItem.js vendored
View File

@ -1,6 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const logger = require("./log");
const MqttDispatcher_1 = require("./MqttDispatcher");
class AItem {
constructor(floor, room, item, label = '') {
@ -21,7 +20,7 @@ class AItem {
}
start() {
MqttDispatcher_1.mqttHandler.register(this.subscribeTopics, (topic, payload) => {
logger.info(`item ${this.itemId}: ${topic}, ${payload}`);
// logger.info(`item ${this.itemId}: ${topic}, ${payload}`)
this.processMessage(topic, payload);
});
}