|
@@ -2444,6 +2444,7 @@ int main(void)
|
|
|
//===============================
|
|
|
if(Query_Power_Consumption(Uart1Fd, (gun_index>0?ADDR_AC_PRIMARY_2:ADDR_AC_PRIMARY_1), &ShmCharger->gun_info[gun_index].powerConsumption))
|
|
|
{
|
|
|
+ ShmSysConfigAndInfo->SysInfo.AcChargingData[gun_index].PowerConsumption = (ShmCharger->gun_info[gun_index].powerConsumption.power_consumption/100.0);
|
|
|
failCount[gun_index] = 0;
|
|
|
}
|
|
|
else
|