|
@@ -722,6 +722,7 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
|
|
|
}
|
|
|
|
|
|
//kill ev task
|
|
|
+ ShmDcCommonData->DebugFlag = 1;
|
|
|
system("killall Module_EvComm");
|
|
|
|
|
|
pSysInfo->CurGunSelected = _GunIndex;
|
|
@@ -730,7 +731,7 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
|
|
|
|
|
|
curGun = pSysInfo->CurGunSelected;
|
|
|
pDcChargingInfo = (struct ChargingInfoData *)GetDcChargingInfoData(curGun);
|
|
|
-
|
|
|
+
|
|
|
//fix gun 1
|
|
|
switch (pDcChargingInfo->SystemStatus) {
|
|
|
case S_IDLE:
|
|
@@ -944,9 +945,10 @@ void RunUnconditionalChargeIndex1(char *v1, char *v2, char *v3)
|
|
|
pDcChargingInfo->PresentChargingPower = 0;
|
|
|
|
|
|
if (stopChg == pSysConfig->TotalConnectorCount) {
|
|
|
+
|
|
|
system("/root/Module_EvComm &");
|
|
|
sleep(3);
|
|
|
-
|
|
|
+ ShmDcCommonData->DebugFlag = 0;
|
|
|
for (_GunIndex = 0; _GunIndex < pSysConfig->TotalConnectorCount; _GunIndex++) {
|
|
|
pDcChargingInfo = (struct ChargingInfoData *)GetDcChargingInfoData(_GunIndex);
|
|
|
|