|
@@ -466,6 +466,15 @@ static void checkGunOTPState(uint8_t gunIndex)
|
|
|
//ResetChargerAlarmCode(gunIndex, "012229");
|
|
|
ShmDcCommonData->ConnectErrList[gunIndex].GunBits.ChaConnectOTP = NO;
|
|
|
ShmDcCommonData->ConnectErrList[gunIndex].GunBits.ChaConnectTempSensorFail = YES;
|
|
|
+ if ((gunIndex == 0) &&
|
|
|
+ (strncmp((char *)&pSysConfig->ModelName[7], "J", 1) == 0)) {
|
|
|
+ ShmDcCommonData->ConnectErrList[gunIndex].GunBits.ChaConnectOTP = NO;
|
|
|
+ ShmDcCommonData->ConnectErrList[gunIndex].GunBits.ChaConnectTempSensorFail = NO;
|
|
|
+ } else if ((gunIndex == 1) &&
|
|
|
+ ((strncmp((char *)&pSysConfig->ModelName[9], "J", 1) == 0) )) {
|
|
|
+ ShmDcCommonData->ConnectErrList[gunIndex].GunBits.ChaConnectOTP = NO;
|
|
|
+ ShmDcCommonData->ConnectErrList[gunIndex].GunBits.ChaConnectTempSensorFail = NO;
|
|
|
+ }
|
|
|
}
|
|
|
break;
|
|
|
|