Class WaitForDevices
java.lang.Object
io.openems.edge.ess.mr.gridcon.state.onoffgrid.BaseState
io.openems.edge.ess.mr.gridcon.state.onoffgrid.WaitForDevices
- 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
ConstructorsConstructorDescriptionWaitForDevices
(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
-
WaitForDevices
public WaitForDevices(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.- Returns:
- the state
-
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
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
Description copied from interface:StateObject
Getter for GridconSettings.- Returns:
- the relevant settings for the gridcon
-