oop
This commit is contained in:
parent
2c1eb82f36
commit
51ea67b83b
@ -158,16 +158,16 @@ module.exports = {
|
|||||||
this.emit('shutdown');
|
this.emit('shutdown');
|
||||||
} else {
|
} else {
|
||||||
switch (topic) {
|
switch (topic) {
|
||||||
case 'hestia/v2/igniter':
|
case 'hestia/emr/igniter':
|
||||||
this.emit('igniter', message.toString());
|
this.emit('igniter', message.toString());
|
||||||
break;
|
break;
|
||||||
case 'hestia/v2/exhaust':
|
case 'hestia/emr/exhaust':
|
||||||
this.emit('exhaust', message.toString());
|
this.emit('exhaust', message.toString());
|
||||||
break;
|
break;
|
||||||
case 'hestia/v2/auger':
|
case 'hestia/emr/auger':
|
||||||
this.emit('auger', message.toString());
|
this.emit('auger', message.toString());
|
||||||
break;
|
break;
|
||||||
case 'hestia/v2/feed-rate':
|
case 'hestia/emr/feed-rate':
|
||||||
this.emit('feedRate', message.toString());
|
this.emit('feedRate', message.toString());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user