Browse Source

2020-03-03 / ct_chen

Actions:
1. 增加AuthorisationMode為OCPP backend時, 複選App,RFID,QRcode的選項

Files:
1. EVSE/Projects/define.h
ct_chen 5 years ago
parent
commit
4f8b367ff0
1 changed files with 4 additions and 1 deletions
  1. 4 1
      EVSE/Projects/define.h

+ 4 - 1
EVSE/Projects/define.h

@@ -315,7 +315,10 @@ struct SysConfigData
 	unsigned short			ChademoPlugInTimes;			//0~65535
 	unsigned char 			PsuAcInputType;				//0: 220, 1: 277
 	unsigned short 			RatingCurrent;				//0: Depend on Model name,	1 ~ rating value amp
-	unsigned char			QRCodeMadeMode;				//0: default	1:customized
+	unsigned char			isAPP;						//for AuthorisationMode=0; 0:false, 1:true
+	unsigned char			isQRCode;					//for AuthorisationMode=0; 0:false, 1:true
+	unsigned char			isRFID;						//for AuthorisationMode=0; 0:false, 1:true
+	unsigned char			QRCodeMadeMode;				//for isQRCode=1 ; 0: default	1:customized
 	unsigned char			QRCodeContent[128];			//for QRCodeMadeMode=1
 	/**************Charging***************/
 	unsigned short	   		MaxChargingEnergy;			//0: no limit,	1 ~ 65535	kWh