Stable version of machinegroup control
This commit is contained in:
@@ -58,6 +58,7 @@ class nodeClass {
|
||||
}
|
||||
|
||||
_updateNodeStatus() {
|
||||
//console.log('Updating node status...');
|
||||
const mg = this.source;
|
||||
const mode = mg.mode;
|
||||
const scaling = mg.scaling;
|
||||
@@ -72,7 +73,7 @@ class nodeClass {
|
||||
const totalPower = mg.measurements
|
||||
?.type("power")
|
||||
?.variant("predicted")
|
||||
?.position("upstream")
|
||||
?.position("atEquipment")
|
||||
?.getCurrentValue() || 0;
|
||||
|
||||
// Calculate total capacity based on available machines with safety checks
|
||||
|
||||
Reference in New Issue
Block a user