|
@@ -5641,12 +5641,13 @@ void CheckSystemValue(void)
|
|
|
|
|
|
}
|
|
|
|
|
|
- #if 1 // for TempStopTransaction
|
|
|
- if((ShmSysConfigAndInfo->SysInfo.ChademoChargingData[index].SystemStatus == SYS_MODE_IDLE) && (ShmOCPP20Data->CpMsg.bits[gun_index].TransactionEventReq == OFF))
|
|
|
+ #if 1 // for TempStopTransaction
|
|
|
+ if(((ShmSysConfigAndInfo->SysInfo.ChademoChargingData[index].SystemStatus == SYS_MODE_BOOTING) || (ShmSysConfigAndInfo->SysInfo.ChademoChargingData[index].SystemStatus == SYS_MODE_IDLE)) &&
|
|
|
+ (ShmOCPP20Data->CpMsg.bits[gun_index].TransactionEventReq == OFF))
|
|
|
{
|
|
|
checkTempStopTransaction(gun_index);
|
|
|
}
|
|
|
- #endif
|
|
|
+ #endif
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -5691,12 +5692,13 @@ void CheckSystemValue(void)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- #if 1 // for TempStopTransaction
|
|
|
- if((ShmSysConfigAndInfo->SysInfo.CcsChargingData[index].SystemStatus == SYS_MODE_IDLE) && (ShmOCPP20Data->CpMsg.bits[gun_index].TransactionEventReq == OFF))
|
|
|
+ #if 1 // for TempStopTransaction
|
|
|
+ if(((ShmSysConfigAndInfo->SysInfo.CcsChargingData[index].SystemStatus == SYS_MODE_BOOTING) || (ShmSysConfigAndInfo->SysInfo.CcsChargingData[index].SystemStatus == SYS_MODE_IDLE)) &&
|
|
|
+ (ShmOCPP20Data->CpMsg.bits[gun_index].TransactionEventReq == OFF))
|
|
|
{
|
|
|
checkTempStopTransaction(gun_index);
|
|
|
}
|
|
|
- #endif
|
|
|
+ #endif
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -5742,7 +5744,8 @@ void CheckSystemValue(void)
|
|
|
}
|
|
|
|
|
|
#if 1 // for TempStopTransaction
|
|
|
- if((ShmSysConfigAndInfo->SysInfo.GbChargingData[index].SystemStatus == SYS_MODE_IDLE) && (ShmOCPP20Data->CpMsg.bits[gun_index].TransactionEventReq == OFF))
|
|
|
+ if(((ShmSysConfigAndInfo->SysInfo.GbChargingData[index].SystemStatus == SYS_MODE_BOOTING) || (ShmSysConfigAndInfo->SysInfo.GbChargingData[index].SystemStatus == SYS_MODE_IDLE)) &&
|
|
|
+ (ShmOCPP20Data->CpMsg.bits[gun_index].TransactionEventReq == OFF))
|
|
|
{
|
|
|
checkTempStopTransaction(gun_index);
|
|
|
}
|
|
@@ -5785,7 +5788,8 @@ void CheckSystemValue(void)
|
|
|
}
|
|
|
|
|
|
#if 1 // for TempStopTransaction
|
|
|
- if((ShmSysConfigAndInfo->SysInfo.ConnectorInfo[index].GeneralChargingData.SystemStatus == SYS_MODE_IDLE) && (ShmOCPP20Data->CpMsg.bits[gun_index].TransactionEventReq == OFF))
|
|
|
+ if(((ShmSysConfigAndInfo->SysInfo.ConnectorInfo[index].GeneralChargingData.SystemStatus == SYS_MODE_BOOTING) || (ShmSysConfigAndInfo->SysInfo.ConnectorInfo[index].GeneralChargingData.SystemStatus == SYS_MODE_IDLE)) &&
|
|
|
+ (ShmOCPP20Data->CpMsg.bits[gun_index].TransactionEventReq == OFF))
|
|
|
{
|
|
|
checkTempStopTransaction(gun_index);
|
|
|
}
|
|
@@ -5834,12 +5838,13 @@ void CheckSystemValue(void)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- #if 1 // for TempStopTransaction
|
|
|
- if((ShmSysConfigAndInfo->SysInfo.AcChargingData[index].SystemStatus == SYS_MODE_IDLE) && (ShmOCPP20Data->CpMsg.bits[gun_index].TransactionEventReq == OFF))
|
|
|
+ #if 1 // for TempStopTransaction
|
|
|
+ if(((ShmSysConfigAndInfo->SysInfo.AcChargingData[index].SystemStatus == SYS_MODE_BOOTING) || (ShmSysConfigAndInfo->SysInfo.AcChargingData[index].SystemStatus == SYS_MODE_IDLE)) &&
|
|
|
+ (ShmOCPP20Data->CpMsg.bits[gun_index].TransactionEventReq == OFF))
|
|
|
{
|
|
|
checkTempStopTransaction(gun_index);
|
|
|
}
|
|
|
- #endif
|
|
|
+ #endif
|
|
|
}
|
|
|
}// END
|
|
|
|