Class Undefined
java.lang.Object
io.openems.edge.ess.mr.gridcon.state.onoffgrid.BaseState
io.openems.edge.ess.mr.gridcon.state.onoffgrid.Undefined
- All Implemented Interfaces:
StateObject
-
Field Summary
Fields inherited from class io.openems.edge.ess.mr.gridcon.state.onoffgrid.BaseState
condition, ONOFF_GRID_FREQUENCY_FACTOR_ONLY_ONGRID, ONOFF_GRID_VOLTAGE_FACTOR
-
Constructor Summary
ConstructorDescriptionUndefined
(ComponentManager manager, DecisionTableCondition condition, String gridconPcsId, String b1Id, String b2Id, String b3Id, String inputNa1, String inputNa2, String inputSyncBridge, String outputSyncBridge, String meterId, boolean na1Inverted, boolean na2Inverted, boolean inputSyncInverted) -
Method Summary
Methods inherited from class io.openems.edge.ess.mr.gridcon.state.onoffgrid.BaseState
getFrequencyOnMeter, getVoltageOnMeter, isBatteriesStarted, isNextStateError, isNextStateGoingOnGrid, isNextStateOffGrid, isNextStateOnGridRunning, isNextStateOnGridStopped, isNextStateUndefined, isSystemOffgrid, isSystemOngrid, setDateAndTime, setStringControlMode, setStringWeighting, setSyncBridge
-
Constructor Details
-
Undefined
public Undefined(ComponentManager manager, DecisionTableCondition condition, String gridconPcsId, String b1Id, String b2Id, String b3Id, String inputNa1, String inputNa2, String inputSyncBridge, String outputSyncBridge, String meterId, boolean na1Inverted, boolean na2Inverted, boolean inputSyncInverted)
-
-
Method Details
-
getState
Description copied from interface:StateObject
Returns the corresponding state.- Specified by:
getState
in interfaceStateObject
- Returns:
- the state
-
getNextState
Description copied from interface:StateObject
Depending on the circumstances the next state according to the state machine is returned.- Specified by:
getNextState
in interfaceStateObject
- Returns:
- the next state
-
act
public void act()Description copied from interface:StateObject
in this method everything should be executed what there is to do in this state.- Specified by:
act
in interfaceStateObject
-
getGridconSettings
Description copied from interface:StateObject
Getter for GridconSettings.- Specified by:
getGridconSettings
in interfaceStateObject
- Returns:
- the relevant settings for the gridcon
-