java.lang.Object
io.openems.edge.common.statemachine.AbstractContext<BatteryFeneconCommercial>
io.openems.edge.battery.fenecon.commercial.statemachine.Context

public class Context extends AbstractContext<BatteryFeneconCommercial>
  • Field Details

    • batteryStartStopRelayChannel

      protected final BooleanWriteChannel batteryStartStopRelayChannel
      The Battery-Master-Bms-Start-Up-Relay Channel used to start the battery; possibly null.
  • Constructor Details

  • Method Details

    • isBatteryStarted

      public boolean isBatteryStarted()
      Is battery Started ?.
      Returns:
      true if battery started.
    • setBatteryStartUpRelays

      protected void setBatteryStartUpRelays(boolean value) throws OpenemsError.OpenemsNamedException
      Set Relay Open or Relay Close.
      Parameters:
      value - true to open the relay;
      false to close the relay;
      Throws:
      OpenemsError.OpenemsNamedException - on error
    • getBatteryStartStopRelay

      protected Boolean getBatteryStartStopRelay()
      Get Start Stop relay current status.
      Returns:
      true stands for the relay opened;
      false stands for the relay closed;
      possibly null