Interface OcppStandardRequests


public interface OcppStandardRequests
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.chargetime.ocpp.model.Request
    setChargePowerLimit(int chargePower)
    Should return an OCPP request that would set the charge power to the defined value.
    eu.chargetime.ocpp.model.Request
    Should return an OCPP request that would set the display text to the given text.
  • Method Details

    • setChargePowerLimit

      eu.chargetime.ocpp.model.Request setChargePowerLimit(int chargePower)
      Should return an OCPP request that would set the charge power to the defined value.

      Attention: The given power is given in watt. EVCS with the charging type AC mostly send their limit values as amps.

      Parameters:
      chargePower - power that should be charged in watt.
      Returns:
      Valid request that can be sent to the EVCS.
    • setDisplayText

      eu.chargetime.ocpp.model.Request setDisplayText(String text)
      Should return an OCPP request that would set the display text to the given text.

      Attention: The given text could be to long or include characters that are not supported by each EVCS. Return null if this feature is not supported by the charger

      Parameters:
      text - Text to be displayed
      Returns:
      Valid request that can be sent to the EVCS.