|
@@ -197,6 +197,12 @@ namespace EVCB_OCPP.WEBAPI.Services
|
|
|
excution.Code = 1;
|
|
|
excution.Detail = operation.EVSE_Value;
|
|
|
}
|
|
|
+ else if (operation.Action == "GetDiagnostics")
|
|
|
+ {
|
|
|
+ excution.Code = ConverttoCode(operation.EVSE_Value);
|
|
|
+ excution.Code = excution.Code == -1 ? (operation.EVSE_Status >= 1 ? 1 : excution.Code) : excution.Code;
|
|
|
+ excution.Detail = operation.EVSE_Value;
|
|
|
+ }
|
|
|
else
|
|
|
{
|
|
|
excution.Code = ConverttoCode(operation.EVSE_Value);
|