12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace EVCB_OCPP.Packet.Messages
- {
-
- public static class OCPPErrorCodes
- {
-
- public static readonly string NotImplemented = "NotImplemented";
-
- public static readonly string NotSupported = "NotSupported";
-
- public static readonly string InternalError = "InternalError";
-
-
-
- public static readonly string ProtocolError = "ProtocolError";
-
-
-
- public static readonly string SecurityError = "SecurityError";
-
-
-
- public static readonly string FormationViolation = "FormationViolation";
-
-
-
-
-
- public static readonly string PropertyConstraintViolation = "PropertyConstraintViolation";
-
-
-
-
-
- public static readonly string OccurenceConstraintViolation = "OccurenceConstraintViolation";
-
-
-
-
-
- public static readonly string TypeConstraintViolation = "TypeConstraintViolation";
-
-
-
- public static readonly string GenericError = "GenericError";
- }
- public static class OCPPErrorDescription
- {
- public static readonly string OccurenceConstraintViolation = "Payload for Action is syntactically correct but at least one of the fields violates occurence constraints";
- public static readonly string InternalError = "An internal error occurred and the receiver was not able to process the requested Action successfully";
- public static readonly string FormationViolation = "Unable to process action";
- public static readonly string NotImplemented = "Requested Action is not known by receiver";
- public static readonly string NotChecked = "This EVSE doesn't allow to send another message.";
- }
- }
|