Add distance float position handling with backward compatibility #1
@@ -90,7 +90,7 @@ class ChildRegistrationUtils {
|
||||
|
||||
case "reactor":
|
||||
this.logger.debug(`Registering reactor child: ${id}`);
|
||||
this.connectReactor(child);
|
||||
this.connectReactor(child, positionVsParent);
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -228,7 +228,7 @@ class ChildRegistrationUtils {
|
||||
|
||||
//wanneer hij deze ontvangt is deltaP van een van de valves veranderd (kan ook zijn niet child zijn, maar dat maakt niet uit)
|
||||
|
||||
connectReactor(reactor) {
|
||||
connectReactor(reactor, positionVsParent) {
|
||||
if (!reactor) {
|
||||
this.logger.warn("Invalid reactor provided.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user