Package io.openems.edge.evcs.api
Class ChargeStateHandler
java.lang.Object
io.openems.edge.evcs.api.ChargeStateHandler
Set the ChargeState from increasing and reducing to charging after minimum
time until the charge limit is taken.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
applyNewChargeState
(ChargeState reqChargeState) Apply a new ChargeState.Get ChargeState.
-
Constructor Details
-
ChargeStateHandler
-
-
Method Details
-
applyNewChargeState
Apply a new ChargeState.Set the ChargeState, if there is no pause active (for increasing and reducing). The Pause will be ignored and reset, if the given ChargeState is changing from INCREASING to REDUCING.
- Parameters:
reqChargeState
- ChargeState- Returns:
- true when the requiredChargeState is taken
-
getChargeState
Get ChargeState.- Returns:
- current ChargeState
-