Interface GridconStateObject
public interface GridconStateObject
-
Method Summary
Modifier and TypeMethodDescriptionvoid
act
(GridconSettings gridconSettings) in this method everything should be executed what there is to do in this state.Depending on the circumstances the next state according to the state machine is returned.getState()
Returns the corresponding state.
-
Method Details
-
getState
IState getState()Returns the corresponding state.- Returns:
- the state
-
getNextState
IState getNextState()Depending on the circumstances the next state according to the state machine is returned.- Returns:
- the next state
-
act
in this method everything should be executed what there is to do in this state.- Parameters:
gridconSettings
- theGridconSettings
- Throws:
OpenemsError.OpenemsNamedException
- on error
-