|
@@ -3144,8 +3144,7 @@ bool CheckConnectorTypeStatus()
|
|
|
}
|
|
|
else if (bd0_1_status == 1 && bd0_2_status == 0)
|
|
|
{
|
|
|
- PRINTF_FUNC("For single connector EVSE, CCS board should not at slot 0\n");
|
|
|
- result = false;
|
|
|
+ PRINTF_FUNC("For single connector EVSE, CCS board should not at CND2\n");
|
|
|
}
|
|
|
else if (bd0_1_status == 1 && bd0_2_status == 1)
|
|
|
{
|
|
@@ -3172,11 +3171,7 @@ bool CheckConnectorTypeStatus()
|
|
|
{
|
|
|
if (bd1_1_status == 0 && bd1_2_status == 1)
|
|
|
{
|
|
|
- // 與硬體相同 type : Chademo
|
|
|
- if (chargingInfo[0]->Type == _Type_Chademo)
|
|
|
- {
|
|
|
- chargingInfo[0]->Evboard_id = 0x01;
|
|
|
- }
|
|
|
+ PRINTF_FUNC("For single connector EVSE, CHAdeMO board should not at CND1\n");
|
|
|
}
|
|
|
else if (bd1_1_status == 1 && bd1_2_status == 0)
|
|
|
{
|
|
@@ -3188,11 +3183,7 @@ bool CheckConnectorTypeStatus()
|
|
|
}
|
|
|
else if (bd1_1_status == 1 && bd1_2_status == 1)
|
|
|
{
|
|
|
- // 與硬體相同 type : GB
|
|
|
- if (chargingInfo[0]->Type == _Type_GB)
|
|
|
- {
|
|
|
- chargingInfo[0]->Evboard_id = 0x01;
|
|
|
- }
|
|
|
+ PRINTF_FUNC("For single connector EVSE, GBT board should not at CND1\n");
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -3204,7 +3195,7 @@ bool CheckConnectorTypeStatus()
|
|
|
}
|
|
|
else if(ShmSysConfigAndInfo->SysConfig.TotalConnectorCount == 2)
|
|
|
{
|
|
|
- // 偵測槍屬於哪個 slot : 可知道插在板上的Slot 0 或 1 是 Chademo 還是 CCS
|
|
|
+ // 偵測槍屬於哪個 CND : 可知道插在板上的CND1 或 CND2 是 Chademo 還是 CCS
|
|
|
for (byte gunIndex = 0; gunIndex < ShmSysConfigAndInfo->SysConfig.TotalConnectorCount; gunIndex++)
|
|
|
{
|
|
|
if (gunIndex == 0 && bd0_1_status == 0 && bd0_2_status == 1)
|