Package io.openems.edge.ess.mr.gridcon
Interface StateObject
- All Known Implementing Classes:
AdjustParameter
,BaseState
,BasteState
,Error
,OffGrid
,OffGridGridBack
,OnGrid
,OnGrid
,StartSystem
,Undefined
,Undefined
,WaitForDevices
,WaitForGridAvailable
public interface StateObject
-
Method Summary
-
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.- Throws:
OpenemsError.OpenemsNamedException
- on error
-
getGridconSettings
GridconSettings getGridconSettings()Getter for GridconSettings.- Returns:
- the relevant settings for the gridcon
-