Package net.solarnetwork.ocpp.domain
Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFailure to lock or unlock the connector.Communication failure with the vehicle, might be Mode 3 or other communication protocol problem.Ground fault circuit interrupter has been activated.Temperature inside Charge Point is too high.Error in internal hard- or software component.The authorization information received from the Central System is in conflict with the LocalAuthorizationList.EV communication error, seeEVCommunicationError.No error to report.Other type of error.Over current protection device has tripped.Voltage has risen above an acceptable level.Failure to read electrical/energy/power meter.Failure to control power switch.Failure with idTag reader.Unable to perform a reset.Voltage has dropped below an acceptable level.Unknown error code.Wireless communication device reports a weak signal. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChargePointErrorCodeforCode(int code) Get an enumeration value for a code value.intgetCode()Get the code value.static ChargePointErrorCodeReturns the enum constant of this class with the specified name.static ChargePointErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Unknown
Unknown error code. -
ConnectorLockFailure
Failure to lock or unlock the connector. -
HighTemperature
Temperature inside Charge Point is too high. -
Mode3Error
EV communication error, seeEVCommunicationError. -
NoError
No error to report. -
PowerMeterFailure
Failure to read electrical/energy/power meter. -
PowerSwitchFailure
Failure to control power switch. -
ReaderFailure
Failure with idTag reader. -
ResetFailure
Unable to perform a reset. -
GroundFailure
Ground fault circuit interrupter has been activated. -
OverCurrentFailure
Over current protection device has tripped. -
UnderVoltage
Voltage has dropped below an acceptable level. -
WeakSignal
Wireless communication device reports a weak signal. -
OtherError
Other type of error. More information invendorErrorCode. -
EVCommunicationError
Communication failure with the vehicle, might be Mode 3 or other communication protocol problem. -
InternalError
Error in internal hard- or software component. -
LocalListConflict
The authorization information received from the Central System is in conflict with the LocalAuthorizationList. -
OverVoltage
Voltage has risen above an acceptable level.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getCode
public int getCode()Get the code value.- Specified by:
getCodein interfacenet.solarnetwork.domain.CodedValue- Returns:
- the code value
-
forCode
Get an enumeration value for a code value.- Parameters:
code- the code- Returns:
- the status, never null and set to
Unknownif not any other valid code
-