Some additional fixes from other branch.

This commit is contained in:
Sebastian Hartte
2020-05-30 22:18:26 +02:00
parent 16d6d55d7f
commit ec3b464655
139 changed files with 1489 additions and 1485 deletions
+2 -2
View File
@@ -581,7 +581,7 @@ public class EnergyGridCache implements IEnergyGrid
{
final double newBuffer = this.localStorage.getAECurrentPower() / 2;
this.localStorage.removeCurrentAEPower( newBuffer );
storageB.dataObject().setDouble( "buffer", newBuffer );
storageB.dataObject().putDouble("buffer", newBuffer);
}
@Override
@@ -593,7 +593,7 @@ public class EnergyGridCache implements IEnergyGrid
@Override
public void populateGridStorage( final IGridStorage storage )
{
storage.dataObject().setDouble( "buffer", this.localStorage.getAECurrentPower() );
storage.dataObject().putDouble("buffer", this.localStorage.getAECurrentPower());
}
public boolean registerEnergyInterest( final EnergyThreshold threshold )