|
@@ -83,17 +83,17 @@ static char CurrentChargingProfileScheduleStr[30] = {0};
|
|
|
//========================================
|
|
|
static int GunStatusInterval = 10;
|
|
|
static int statusModeChage[CHAdeMO_QUANTITY+ CCS_QUANTITY + GB_QUANTITY + AC_QUANTITY] = {FALSE};
|
|
|
-static int ChademoPreviousSystemStatus[CHAdeMO_QUANTITY];
|
|
|
-static int CcsPreviousSystemStatus[CCS_QUANTITY];
|
|
|
-static int GbPreviousSystemStatus[GB_QUANTITY];
|
|
|
-static int AcPreviousSystemStatus[AC_QUANTITY];
|
|
|
-static int ChademoPreviousConnectorPlugIn[CHAdeMO_QUANTITY];
|
|
|
-static int CcsPreviousConnectorPlugIn[CCS_QUANTITY];
|
|
|
-static int GbPreviousConnectorPlugIn[GB_QUANTITY];
|
|
|
-static int AcPreviousConnectorPlugIn[AC_QUANTITY];
|
|
|
-static int TransactionMessageAttemptsValue = 0;
|
|
|
-static int TransactionMessageRetryIntervalValue = 0;
|
|
|
-static int TempMeterValueInterval = 0;
|
|
|
+static int ChademoPreviousSystemStatus[(CHAdeMO_QUANTITY>0?CHAdeMO_QUANTITY:1)];
|
|
|
+static int CcsPreviousSystemStatus[(CCS_QUANTITY>0?CCS_QUANTITY:1)];
|
|
|
+static int GbPreviousSystemStatus[(GB_QUANTITY>0?GB_QUANTITY:1)];
|
|
|
+static int AcPreviousSystemStatus[(AC_QUANTITY>0?AC_QUANTITY:1)];
|
|
|
+static int ChademoPreviousConnectorPlugIn[(CHAdeMO_QUANTITY>0?CHAdeMO_QUANTITY:1)];
|
|
|
+static int CcsPreviousConnectorPlugIn[(CCS_QUANTITY>0?CCS_QUANTITY:1)];
|
|
|
+static int GbPreviousConnectorPlugIn[(GB_QUANTITY>0?GB_QUANTITY:1)];
|
|
|
+static int AcPreviousConnectorPlugIn[(AC_QUANTITY>0?AC_QUANTITY:1)];
|
|
|
+static int TransactionMessageAttemptsValue = 0;
|
|
|
+static int TransactionMessageRetryIntervalValue = 0;
|
|
|
+static int TempMeterValueInterval = 0;
|
|
|
static struct OCPPAuthLocalElemet
|
|
|
{
|
|
|
int listVersionInt;
|