small bug fixes
This commit is contained in:
@@ -94,7 +94,7 @@ class nodeClass {
|
||||
// Determine overall status based on available machines
|
||||
const status =
|
||||
availableMachines.length > 0
|
||||
? `${availableMachines.length} machines`
|
||||
? `${availableMachines.length} machine(s) connected`
|
||||
: "No machines";
|
||||
|
||||
let scalingSymbol = "";
|
||||
@@ -197,7 +197,7 @@ class nodeClass {
|
||||
const RED = this.RED;
|
||||
switch (msg.topic) {
|
||||
case "registerChild":
|
||||
console.log(`Registering child in mgc: ${msg.payload}`);
|
||||
//console.log(`Registering child in mgc: ${msg.payload}`);
|
||||
const childId = msg.payload;
|
||||
const childObj = RED.nodes.getNode(childId);
|
||||
mg.childRegistrationUtils.registerChild(
|
||||
|
||||
@@ -56,7 +56,7 @@ class MachineGroup {
|
||||
this.measurements = new MeasurementContainer();
|
||||
this.interpolation = new interpolation();
|
||||
|
||||
// Machines and children data
|
||||
// Machines and child data
|
||||
this.machines = {};
|
||||
this.child = {};
|
||||
this.scaling = this.config.scaling.current;
|
||||
|
||||
Reference in New Issue
Block a user