forked from RnD/valveGroupControl
Commit
This commit is contained in:
@@ -115,7 +115,8 @@ class ValveGroupControl {
|
||||
if (softwareType === 'machinegroup') {
|
||||
this.logger.info("Total flow change from machineGroupControl detected by valveGroupControl");
|
||||
//Opslaan nieuwe total flow
|
||||
this.measurements.type("flow").variant("predicted").position("atEquipment").value(data.value);
|
||||
let value = data.value * 3.6 ; // convert l/s to m3/h
|
||||
this.measurements.type("flow").variant("predicted").position("atEquipment").value(value);
|
||||
// als totalflow van mg veranderd, bereken dan de nieuwe valve flows
|
||||
this.calcValveFlows();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user