Class GridSwitchHandler


  • public class GridSwitchHandler
    extends StateHandler<StateMachine.OffGridState,​Context>
    Reads the State of the Grid-Switch relays.
    • If system is currently connected to grid: START_BATTERY_IN_ON_GRID
    • If system is currently disconnected from grid: START_BATTERY_IN_OFF_GRID