some forwarders

This commit is contained in:
Wolfgang Hottgenroth
2018-01-10 21:46:15 +01:00
parent 1327878985
commit f430ab5ff0
5 changed files with 75 additions and 3 deletions

View File

@ -7,7 +7,7 @@ export class Forwarder extends AItem {
private targetTopics: string[]
private inTopic: string
constructor(floor: string, room: string, item: string, label: string, topicLastPart: string, targetTopics: string[]) {
constructor(floor: string, room: string, item: string, topicLastPart: string, label: string, targetTopics: string[]) {
super(floor, room, item, label)
this.inTopic = `${this.topicFirstPart}/${topicLastPart}`
this.subscribeTopics = [ this.inTopic ]