Interface GridconStateObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
act(GridconSettings gridconSettings)
in this method everything should be executed what there is to do in this state.IState
getNextState()
Depending on the circumstances the next state according to the state machine is returned.IState
getState()
Returns the corresponding state.
-
-
-
Method Detail
-
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
void act(GridconSettings gridconSettings) throws OpenemsError.OpenemsNamedException
in this method everything should be executed what there is to do in this state.- Parameters:
gridconSettings
- theGridconSettings
- Throws:
OpenemsError.OpenemsNamedException
- on error
-
-