Class Undefined
- java.lang.Object
-
- io.openems.edge.ess.mr.gridcon.state.ongrid.BasteState
-
- io.openems.edge.ess.mr.gridcon.state.ongrid.Undefined
-
- All Implemented Interfaces:
StateObject
public class Undefined extends BasteState
-
-
Constructor Summary
Constructors Constructor Description Undefined()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
act()
in this method everything should be executed what there is to do in this state.GridconSettings
getGridconSettings()
Getter for GridconSettings.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
public IState getState()
Description copied from interface:StateObject
Returns the corresponding state.- Returns:
- the state
-
getNextState
public IState getNextState()
Description copied from interface:StateObject
Depending on the circumstances the next state according to the state machine is returned.- Returns:
- the next state
-
act
public void act() throws OpenemsError.OpenemsNamedException
Description copied from interface:StateObject
in this method everything should be executed what there is to do in this state.- Throws:
OpenemsError.OpenemsNamedException
- on error
-
getGridconSettings
public GridconSettings getGridconSettings()
Description copied from interface:StateObject
Getter for GridconSettings.- Returns:
- the relevant settings for the gridcon
-
-