|
@@ -374,22 +374,33 @@ int main(int argc, char *argv[])
|
|
|
}
|
|
|
else if(SysConfig.ModelName[12] == 'T')
|
|
|
{
|
|
|
- // TOG customization configuration
|
|
|
- SysConfig.AuthorisationMode = 0; // 0: enable, 1: disable
|
|
|
- SysConfig.RfidCardNumEndian = 1; // 0: Little endian 1: Big endian
|
|
|
- SysConfig.QRCodeMadeMode = 1; // for isQRCode=1 ; 0: default 1:customized
|
|
|
- strcpy((char*)SysConfig.QRCodeContent, "NA"); // for QRCodeMadeMode=1
|
|
|
-
|
|
|
- SysConfig.AthInterface.WifiMode = 1; // 0: Disable 1: Infrastructure client 2: Infrastructure server 3: Ad-Hoc
|
|
|
- strcpy((char*)SysConfig.AthInterface.WifiSsid, "ChargeLab-EVC");
|
|
|
- strcpy((char*)SysConfig.AthInterface.WifiPassword, "evc-pwd-default-21");
|
|
|
-
|
|
|
- strcpy((char*)SysConfig.TelecomInterface.TelcomApn, "m2minternet.apn");
|
|
|
-
|
|
|
- strcpy((char*)SysConfig.OcppServerURL, "wss://ocpp.io");
|
|
|
- sprintf((char*)SysConfig.ChargeBoxId, "%s%s", SysConfig.ModelName, SysConfig.SerialNumber);
|
|
|
- strcpy((char*)SysConfig.chargePointVendor, "ChargeLab");
|
|
|
- SysConfig.OfflinePolicy = 0; // 0: local list, 1: Phihong RFID tag, 2: free charging, 3: no charging
|
|
|
+ if(SysConfig.ModelName[13] == 'C')
|
|
|
+ {
|
|
|
+ // AXSC111001W1TC Taiwan Cement configuration
|
|
|
+ strcpy((char*)SysConfig.OcppServerURL, ""); // default: Null
|
|
|
+ sprintf((char*)SysConfig.ChargeBoxId, "%s%s", SysConfig.ModelName, SysConfig.SerialNumber);
|
|
|
+ strcpy((char *)SysConfig.chargePointVendor, ""); // default: Null
|
|
|
+ strcpy((char*)SysConfig.MaintainServerURL, ""); // default: Null
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ // TOG customization configuration
|
|
|
+ SysConfig.AuthorisationMode = 0; // 0: enable, 1: disable
|
|
|
+ SysConfig.RfidCardNumEndian = 1; // 0: Little endian 1: Big endian
|
|
|
+ SysConfig.QRCodeMadeMode = 1; // for isQRCode=1 ; 0: default 1:customized
|
|
|
+ strcpy((char*)SysConfig.QRCodeContent, "NA"); // for QRCodeMadeMode=1
|
|
|
+
|
|
|
+ SysConfig.AthInterface.WifiMode = 1; // 0: Disable 1: Infrastructure client 2: Infrastructure server 3: Ad-Hoc
|
|
|
+ strcpy((char*)SysConfig.AthInterface.WifiSsid, "ChargeLab-EVC");
|
|
|
+ strcpy((char*)SysConfig.AthInterface.WifiPassword, "evc-pwd-default-21");
|
|
|
+
|
|
|
+ strcpy((char*)SysConfig.TelecomInterface.TelcomApn, "m2minternet.apn");
|
|
|
+
|
|
|
+ strcpy((char*)SysConfig.OcppServerURL, "wss://ocpp.io");
|
|
|
+ sprintf((char*)SysConfig.ChargeBoxId, "%s%s", SysConfig.ModelName, SysConfig.SerialNumber);
|
|
|
+ strcpy((char*)SysConfig.chargePointVendor, "ChargeLab");
|
|
|
+ SysConfig.OfflinePolicy = 0; // 0: local list, 1: Phihong RFID tag, 2: free charging, 3: no charging
|
|
|
+ }
|
|
|
}
|
|
|
else if(SysConfig.ModelName[12] == 'Z')
|
|
|
{
|