From ee90ba757550026695790fe86d029d3889915e30 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 9 Jan 2018 17:50:46 +0100 Subject: [PATCH] change --- src/AItem.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/AItem.ts b/src/AItem.ts index a7bd0d4..c23504b 100644 --- a/src/AItem.ts +++ b/src/AItem.ts @@ -3,13 +3,14 @@ import { mqttHandler } from './MqttDispatcher' export abstract class AItem { - protected topicFirstPart: string; - protected itemId: string; - private item: string; - private room: string; + protected topicFirstPart: string + protected itemId: string + private item: string + private room: string private floor: string protected subscribeTopics: string[] + constructor(floor: string, room: string, item: string) { this.floor = floor this.room = room