Class Context
- java.lang.Object
-
- io.openems.edge.common.statemachine.AbstractContext<StandbyController>
-
- io.openems.edge.controller.ess.standby.statemachine.Context
-
public class Context extends AbstractContext<StandbyController>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.time.Clock
clock
The clock.protected java.time.DayOfWeek
configuredDayOfWeek
protected java.time.LocalDate
configuredEndDate
protected java.time.LocalDate
configuredStartDate
protected ManagedSymmetricEss
ess
protected Sum
sum
-
Constructor Summary
Constructors Constructor Description Context(StandbyController parent, ManagedSymmetricEss ess, Sum sum, java.time.LocalDate configuredStartDate, java.time.LocalDate configuredEndDate, java.time.DayOfWeek configuredDayOfWeek, java.time.Clock clock)
-
-
-
Field Detail
-
ess
protected final ManagedSymmetricEss ess
-
sum
protected final Sum sum
-
configuredStartDate
protected final java.time.LocalDate configuredStartDate
-
configuredEndDate
protected final java.time.LocalDate configuredEndDate
-
configuredDayOfWeek
protected final java.time.DayOfWeek configuredDayOfWeek
-
clock
protected final java.time.Clock clock
The clock. Used to provide a mocked clock for unit tests.
-
-
Constructor Detail
-
Context
public Context(StandbyController parent, ManagedSymmetricEss ess, Sum sum, java.time.LocalDate configuredStartDate, java.time.LocalDate configuredEndDate, java.time.DayOfWeek configuredDayOfWeek, java.time.Clock clock)
-
-