some forwarders
This commit is contained in:
@ -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 ]
|
||||
|
Reference in New Issue
Block a user