Deal with clock singal
This commit is contained in:
@@ -24,6 +24,8 @@ module.exports = function(RED) {
|
||||
|
||||
send([msg_F1, msg_F2]);
|
||||
break;
|
||||
case "clock":
|
||||
break;
|
||||
default:
|
||||
console.log("Unknown topic: " + msg.topic);
|
||||
}
|
||||
|
||||
@@ -41,6 +41,8 @@ module.exports = function(RED) {
|
||||
|
||||
send([msg_F1, msg_F2]);
|
||||
break;
|
||||
case "clock":
|
||||
break;
|
||||
default:
|
||||
console.log("Unknown topic: " + msg.topic);
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@ class nodeClass {
|
||||
toggleUpdate = true;
|
||||
this.reactor.updateState(msg.timestamp);
|
||||
send([this.reactor.getEffluent, null, null]);
|
||||
send([msg, null, null])
|
||||
break;
|
||||
case "Fluent":
|
||||
this.reactor.setInfluent = msg;
|
||||
|
||||
Reference in New Issue
Block a user