Browse Source

2020-01-07 / Alston Lin
Action:
1. Modify enum list of define.h for system status

Files:
1. As follow commit history

Alston 5 years ago
parent
commit
8e97d6160a
1 changed files with 16 additions and 15 deletions
  1. 16 15
      EVSE/Projects/define.h

+ 16 - 15
EVSE/Projects/define.h

@@ -68,21 +68,22 @@ enum SYSTEM_STATUS
 	SYS_MODE_BOOTING		= 0,
 	SYS_MODE_IDLE    	  	= 1,
 	SYS_MODE_AUTHORIZING		= 2,
-	SYS_MODE_PREPARING		= 3,
-	SYS_MODE_CHARGING		= 4,
-	SYS_MODE_TERMINATING		= 5,
-	SYS_MODE_ALARM			= 6,
-	SYS_MODE_FAULT			= 7,
-	SYS_MODE_RESERVATION		= 8,
-	SYS_MODE_BOOKING		= 9,
-	SYS_MODE_MAINTAIN		= 10,
-	SYS_MODE_DEBUG			= 11,
-	SYS_MODE_REASSIGN_CHECK		= 12,
-	SYS_MODE_REASSIGN		= 13,
-	SYS_MODE_PRECHARGE		= 14,
-	SYS_MODE_PREPARING_EV		= 15,
-	SYS_MODE_PREPARING_EVSE		= 16,
-	SYS_MODE_COMPLETE		= 17
+	SYS_MODE_MODE_REASSIGN_CHECK	= 3,
+	SYS_MODE_REASSIGN		= 4,
+	SYS_MODE_PREPARING		= 5,
+	SYS_MODE_PREPARE_FOR_EV		= 6,
+	SYS_MODE_PREPARE_FOR_EVSE	= 7,
+	SYS_MODE_CHARGING		= 8,
+	SYS_MODE_TERMINATING		= 9,
+	SYS_MODE_COMPLETE		= 10,
+	SYS_MODE_ALARM			= 11,
+	SYS_MODE_RESERVATION		= 12,
+	SYS_MODE_BOOKING		= 13,
+	SYS_MODE_MAINTAIN		= 14,
+	SYS_MODE_DEBUG			= 15,
+	SYS_MODE_CCS_PRECHARGE_STEP0	= 16,
+	SYS_MODE_CCS_PRECHARGE_STEP1	= 17,
+	SYS_MODE_SINGLE_RUN		= 18
 };
 
 enum AUTHORIZATION_MODE