Add register child function and fix whitespace

This commit is contained in:
2025-10-22 16:22:33 +02:00
parent 51dc56cc85
commit a6fe39891b
4 changed files with 190 additions and 182 deletions

View File

@@ -10,6 +10,14 @@ class Settler {
this.measurements = new MeasurementContainer();
this.childRegistrationUtils = new childRegistrationUtils(this); // Child registration utility
}
registerChild(child, softwareType) {
switch (softwareType) {
default:
this.logger.error(`Unrecognized softwareType: ${softwareType}`);
}
}
}
module.exports = { Settler };