Class Context
java.lang.Object
io.openems.edge.common.statemachine.AbstractContext<BatteryFeneconHome>
io.openems.edge.battery.fenecon.home.statemachine.Context
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Boolean
The Battery-Start-Up-Relay state.protected final Boolean
protected final Clock
protected final boolean
protected final Runnable
protected final BooleanConsumer
Switches the Battery-Start-Up-Relay ON or OFF. -
Constructor Summary
ConstructorDescriptionContext
(BatteryFeneconHome parent, Clock clock, Boolean batteryStartUpRelay, BooleanConsumer setBatteryStartUpRelay, Boolean bmsControl, boolean modbusCommunicationFailed, Runnable retryModbusCommunication) -
Method Summary
-
Field Details
-
clock
-
batteryStartUpRelay
The Battery-Start-Up-Relay state. -
setBatteryStartUpRelay
Switches the Battery-Start-Up-Relay ON or OFF. -
bmsControl
-
modbusCommunicationFailed
protected final boolean modbusCommunicationFailed -
retryModbusCommunication
-
-
Constructor Details
-
Context
public Context(BatteryFeneconHome parent, Clock clock, Boolean batteryStartUpRelay, BooleanConsumer setBatteryStartUpRelay, Boolean bmsControl, boolean modbusCommunicationFailed, Runnable retryModbusCommunication)
-
-
Method Details
-
retryModbusCommunication
protected void retryModbusCommunication()
-