|
@@ -3783,8 +3783,8 @@ static void autoStartCharging(uint8_t gunIndex)
|
|
|
if ((pDcChargingInfo->ConnectorPlugIn == YES) &&
|
|
|
(pDcChargingInfo->SystemStatus == S_IDLE )
|
|
|
) {
|
|
|
- if(!pSysConfig->AutoAuth_Disable) {
|
|
|
- if (pSysConfig->EVCCID_Authorize && !pDcChargingInfo->isEVCCIDVerify &&
|
|
|
+ if(!pSysConfig->AuthorisationMode) {
|
|
|
+ if (pSysConfig->isAuthrizeByEVCCID && !pDcChargingInfo->isEVCCIDVerify &&
|
|
|
pDcChargingInfo->Type == _Type_CCS_2) {
|
|
|
#ifdef DD360Audi
|
|
|
// LCM show linking pic. & timeout 2 min
|
|
@@ -4682,7 +4682,7 @@ int main(void)
|
|
|
if (isDetectPlugin()) {
|
|
|
/*
|
|
|
if(pDcChargingInfo->Type == _Type_CCS_2 &&
|
|
|
- pSysConfig->EVCCID_Authorize &&
|
|
|
+ pSysConfig->isAuthrizeByEVCCID &&
|
|
|
strcmp((char *)pDcChargingInfo->EVCCID,(char *)pSysConfig->UserId) != EQUAL )
|
|
|
continue;
|
|
|
*/
|
|
@@ -4715,7 +4715,7 @@ int main(void)
|
|
|
log_info("index = %d, CardNumber = %s ",
|
|
|
gunIndex,
|
|
|
pDcChargingInfo->StartUserId);
|
|
|
- if (pSysConfig->EVCCID_Authorize)
|
|
|
+ if (pSysConfig->isAuthrizeByEVCCID)
|
|
|
log_info("EVCCID:%s",pDcChargingInfo->EVCCID);
|
|
|
strcpy((char *)pSysConfig->UserId, "");
|
|
|
// 當前操作的槍號,進入 Preparing
|
|
@@ -4748,7 +4748,7 @@ int main(void)
|
|
|
ClearDetectPluginFlag();
|
|
|
continue;
|
|
|
}
|
|
|
- } else if (pSysConfig->EVCCID_Authorize && pDcChargingInfo->ConnectorPlugIn &&
|
|
|
+ } else if (pSysConfig->isAuthrizeByEVCCID && pDcChargingInfo->ConnectorPlugIn &&
|
|
|
pSysInfo->CurGunSelected == gunIndex && !pDcChargingInfo->isEVCCIDVerify) {
|
|
|
systemPageRestoreInit();
|
|
|
pSysInfo->ConnectorPage = _LCM_PRE_CHARGE;
|