mirror of
https://github.com/uhi22/pyPLC.git
synced 2024-11-20 01:13:58 +00:00
Bugfix: EVSEProcessing wrong type
This commit is contained in:
parent
cf9160c1bc
commit
10ff8176bf
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ class fsmPev():
|
||||||
# We have two cases here:
|
# We have two cases here:
|
||||||
# 1) The charger says "cable check is finished and cable ok", by setting ResponseCode=OK and EVSEProcessing=Finished.
|
# 1) The charger says "cable check is finished and cable ok", by setting ResponseCode=OK and EVSEProcessing=Finished.
|
||||||
# 2) Else: The charger says "need more time or cable not ok". In this case, we just run into timeout and start from the beginning.
|
# 2) Else: The charger says "need more time or cable not ok". In this case, we just run into timeout and start from the beginning.
|
||||||
if ((strEVSEProcessing==dinEVSEProcessingType_Finished) and (strResponseCode=="OK")):
|
if ((strEVSEProcessing=="Finished") and (strResponseCode=="OK")):
|
||||||
self.addToTrace("The EVSE says that the CableCheck is finished and ok.")
|
self.addToTrace("The EVSE says that the CableCheck is finished and ok.")
|
||||||
self.addToTrace("Will send PreChargeReq")
|
self.addToTrace("Will send PreChargeReq")
|
||||||
msg = addV2GTPHeader(exiEncode("EDG_"+self.sessionId)) # EDG for Encode, Din, PreCharge
|
msg = addV2GTPHeader(exiEncode("EDG_"+self.sessionId)) # EDG for Encode, Din, PreCharge
|
||||||
|
|
Loading…
Reference in a new issue