updated pumpingstation

This commit is contained in:
znetsixe
2025-11-20 12:15:46 +01:00
parent 0a6c7ee2e1
commit 5a575a29fe
3 changed files with 47 additions and 63 deletions

View File

@@ -63,6 +63,7 @@ class nodeClass {
},
hydraulics:{
refHeight: uiConfig.refHeight,
minHeightBasedOn: uiConfig.minHeightBasedOn,
basinBottomRef: uiConfig.basinBottomRef,
}
};
@@ -191,13 +192,9 @@ class nodeClass {
this.node.on('input', (msg, send, done) => {
switch (msg.topic) {
//example
/*case 'simulator':
this.source.toggleSimulation();
case 'changemode':
this.source.changeMode(msg.payload);
break;
default:
this.source.handleInput(msg);
break;
*/
case 'registerChild':
// Register this node as a child of the parent node
const childId = msg.payload;