|
@@ -63,6 +63,15 @@ Storage 0x0A200000-0x7FFFFFFF 1886 MB
|
|
|
#define GENERAL_GUN_QUANTITY 0
|
|
|
#define PSU_QUANTITY 0
|
|
|
#define ONE_CONNECTOR_USE 0
|
|
|
+#elif defined AX80
|
|
|
+ #define MAX_PSU_QUANTITY 62
|
|
|
+ #define CHAdeMO_QUANTITY 1
|
|
|
+ #define CCS_QUANTITY 1
|
|
|
+ #define GB_QUANTITY 0
|
|
|
+ #define AC_QUANTITY 3
|
|
|
+ #define GENERAL_GUN_QUANTITY 3
|
|
|
+ #define PSU_QUANTITY 0
|
|
|
+ #define ONE_CONNECTOR_USE 0
|
|
|
#elif defined DW30
|
|
|
#define MAX_PSU_QUANTITY 62
|
|
|
#define CHAdeMO_QUANTITY 0
|
|
@@ -170,7 +179,7 @@ Storage 0x0A200000-0x7FFFFFFF 1886 MB
|
|
|
#define ShmRelay2BdKey 1013
|
|
|
|
|
|
#define FaultCodeLength 5
|
|
|
-#define AlarmCodeLength 16
|
|
|
+#define AlarmCodeLength 20
|
|
|
#define InfoCodeLength 41
|
|
|
|
|
|
/**************************************************************************************/
|
|
@@ -301,6 +310,8 @@ enum CoreProfile {
|
|
|
TimeOffset,
|
|
|
NextTimeOffsetTransitionDateTime,
|
|
|
TimeOffsetNextTransition,
|
|
|
+ SystemUptimeSec,
|
|
|
+ FreeVend,
|
|
|
ConfigurationVersion,
|
|
|
_CoreProfile_CNT
|
|
|
};
|
|
@@ -617,8 +628,8 @@ struct ChargingInfoData
|
|
|
unsigned char ConnectorWarningCode[7];
|
|
|
unsigned char ConnectorAlarmCode[7];
|
|
|
unsigned char EvConnAlarmCode[7];
|
|
|
- float ChargingProfileCurrent; //0~6553.5 amp
|
|
|
- float ChargingProfilePower; //0~6553.5 W
|
|
|
+ float ChargingProfileCurrent; // unit: 0.1A
|
|
|
+ float ChargingProfilePower; // unit: 1W
|
|
|
float PresentChargingVoltageL2; //0~6553.5 volt
|
|
|
float PresentChargingVoltageL3; //0~6553.5 volt
|
|
|
float PresentChargingCurrentL2; //0~6553.5 amp
|
|
@@ -640,7 +651,7 @@ struct ChargingInfoData
|
|
|
float CurrentOffered; //0~6553.5 amp
|
|
|
struct timespec ConnectorTimeout;
|
|
|
unsigned char PantographFlag; // 0: normal gun type, 1: pantograph gun type
|
|
|
- unsigned char Replug_flag;
|
|
|
+ unsigned char Replug_flag;
|
|
|
unsigned char isEVCCIDVerify;
|
|
|
};
|
|
|
|
|
@@ -672,7 +683,9 @@ typedef union
|
|
|
unsigned int TelcomModemStatusRequest:1; // 0: no request, 1: 4g connection status has changed ( cabinet -> dispenser)
|
|
|
unsigned int BillingStatusRequest:1; // 0: no request, 1: billing status has changed ( cabinet -> dispenser)
|
|
|
unsigned int StopButtonStatusRequest:1; // 0: no request, 1: stop charging button status has changed ( cabinet -> dispenser)
|
|
|
- unsigned int res:9;
|
|
|
+ unsigned int AuthModeConfigRequest:1; // 0: no request, 1: AuthMode Config has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int EVCCIDConfigRequest:1; // 0: no request, 1: EVCCID Config has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int res:7;
|
|
|
}bits;
|
|
|
}DispenserSettingFlag;
|
|
|
|
|
@@ -863,6 +876,8 @@ typedef struct
|
|
|
unsigned int StopChargingButton; // 0: disable, 1: enable
|
|
|
unsigned int HardwareReboot; // 1: HardwareReboot, Other value: no effect
|
|
|
unsigned int SoftwareRestart; // 1: SoftwareRestart, Other value: no effect
|
|
|
+ unsigned int AuthModeConfig; // 0: enable, 1: disable
|
|
|
+ unsigned int EVCCIDConfig; // 0: disable, 1: enable
|
|
|
}CabinetMiscCommand;
|
|
|
|
|
|
typedef struct DC_METER_INFO
|
|
@@ -927,7 +942,7 @@ struct SysInfoData
|
|
|
/**************Backend***************/
|
|
|
unsigned char OcppConnStatus; //0: disconnected, 1: connected
|
|
|
char OrderCharging;
|
|
|
- float MaxChargingProfilePower; //0~6553.5 W
|
|
|
+ float MaxChargingProfilePower; // unit: 1W
|
|
|
/**************Alston***************/
|
|
|
unsigned char WaitForPlugit; //0: none scan, 1: scanning
|
|
|
unsigned char PageIndex; //0 : Initialize
|
|
@@ -1438,6 +1453,16 @@ struct AlarmCodeData
|
|
|
unsigned char AbnormalVoltageOnOutputLine_2:1; //bit 5
|
|
|
unsigned char SystemTaskLost:1; //bit 6
|
|
|
unsigned char Reserved:1; //bit 7
|
|
|
+ //AlarmVal[16]
|
|
|
+ unsigned char :8; //reserved bit 0 ~ bit 7
|
|
|
+ //AlarmVal[17]
|
|
|
+ unsigned char :8; //reserved bit 0 ~ bit 7
|
|
|
+ //AlarmVal[18]
|
|
|
+ unsigned char MeterIcCommTimeout:1; //bit 0
|
|
|
+ unsigned char PilotNegativeError:1; //bit 1
|
|
|
+ unsigned char :6; //reserved bit 2 ~ bit 7
|
|
|
+ //AlarmVal[19]
|
|
|
+ unsigned char :8; //reserved bit 0 ~ bit 7
|
|
|
}bits;
|
|
|
}AlarmEvents;
|
|
|
};
|
|
@@ -4626,7 +4651,8 @@ struct OCPP16Data
|
|
|
unsigned char InstallCertificateConf :1; //bit 3
|
|
|
unsigned char SignedUpdateFirmwareReq :1; //bit 4
|
|
|
unsigned char SignedUpdateFirmwareConf :1; //bit 5
|
|
|
- unsigned char :2; //bit 6 & 7
|
|
|
+ unsigned char isRemoteStartWaitReq :1; //bit 6
|
|
|
+ unsigned char :1; //bit 7
|
|
|
} bits;
|
|
|
} MsMsg;
|
|
|
|
|
@@ -4728,6 +4754,8 @@ enum OCPP20CtrlrVariable
|
|
|
ChargingStation_Available,
|
|
|
ChargingStation_AvailabilityState,
|
|
|
ChargingStation_SupplyPhases,
|
|
|
+ ChargingStation_SystemUptimeSec,
|
|
|
+ ChargingStation_FreeVend,
|
|
|
Connector_Available,
|
|
|
Connector_ConnectorType,
|
|
|
Connector_SupplyPhases,
|
|
@@ -5158,7 +5186,7 @@ struct SampledValueType
|
|
|
struct MeterValueType
|
|
|
{
|
|
|
unsigned char timestamp[28]; // Required. Timestamp for measured value(s).
|
|
|
- struct SampledValueType sampledValue[10]; // Required. One or more measured values
|
|
|
+ struct SampledValueType sampledValue[20]; // Required. One or more measured values
|
|
|
};
|
|
|
|
|
|
struct VariableMonitoringType
|
|
@@ -5974,7 +6002,8 @@ struct OCPP20Data
|
|
|
unsigned char UnpublishFirmwareConf :1;
|
|
|
unsigned char UpdateFirmwareReq :1;
|
|
|
unsigned char UpdateFirmwareConf :1;
|
|
|
- unsigned char :2;
|
|
|
+ unsigned char isRemoteStartWaitReq :1;
|
|
|
+ unsigned char :1;
|
|
|
} bits;
|
|
|
} MsMsg;
|
|
|
|