Enum Class ChargePointErrorCode

java.lang.Object
java.lang.Enum<ChargePointErrorCode>
net.solarnetwork.ocpp.domain.ChargePointErrorCode
All Implemented Interfaces:
Serializable, Comparable<ChargePointErrorCode>, Constable, net.solarnetwork.domain.CodedValue

public enum ChargePointErrorCode extends Enum<ChargePointErrorCode> implements net.solarnetwork.domain.CodedValue
Enumeration of charge point error codes.
Version:
1.0
Author:
matt
  • Enum Constant Details

    • Unknown

      public static final ChargePointErrorCode Unknown
      Unknown error code.
    • ConnectorLockFailure

      public static final ChargePointErrorCode ConnectorLockFailure
      Failure to lock or unlock the connector.
    • HighTemperature

      public static final ChargePointErrorCode HighTemperature
      Temperature inside Charge Point is too high.
    • Mode3Error

      public static final ChargePointErrorCode Mode3Error
      EV communication error, see EVCommunicationError.
    • NoError

      public static final ChargePointErrorCode NoError
      No error to report.
    • PowerMeterFailure

      public static final ChargePointErrorCode PowerMeterFailure
      Failure to read electrical/energy/power meter.
    • PowerSwitchFailure

      public static final ChargePointErrorCode PowerSwitchFailure
      Failure to control power switch.
    • ReaderFailure

      public static final ChargePointErrorCode ReaderFailure
      Failure with idTag reader.
    • ResetFailure

      public static final ChargePointErrorCode ResetFailure
      Unable to perform a reset.
    • GroundFailure

      public static final ChargePointErrorCode GroundFailure
      Ground fault circuit interrupter has been activated.
    • OverCurrentFailure

      public static final ChargePointErrorCode OverCurrentFailure
      Over current protection device has tripped.
    • UnderVoltage

      public static final ChargePointErrorCode UnderVoltage
      Voltage has dropped below an acceptable level.
    • WeakSignal

      public static final ChargePointErrorCode WeakSignal
      Wireless communication device reports a weak signal.
    • OtherError

      public static final ChargePointErrorCode OtherError
      Other type of error. More information in vendorErrorCode.
    • EVCommunicationError

      public static final ChargePointErrorCode EVCommunicationError
      Communication failure with the vehicle, might be Mode 3 or other communication protocol problem.
    • InternalError

      public static final ChargePointErrorCode InternalError
      Error in internal hard- or software component.
    • LocalListConflict

      public static final ChargePointErrorCode LocalListConflict
      The authorization information received from the Central System is in conflict with the LocalAuthorizationList.
    • OverVoltage

      public static final ChargePointErrorCode OverVoltage
      Voltage has risen above an acceptable level.
  • Method Details

    • values

      public static ChargePointErrorCode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ChargePointErrorCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
      Get the code value.
      Specified by:
      getCode in interface net.solarnetwork.domain.CodedValue
      Returns:
      the code value
    • forCode

      public static ChargePointErrorCode forCode(int code)
      Get an enumeration value for a code value.
      Parameters:
      code - the code
      Returns:
      the status, never null and set to Unknown if not any other valid code