Procházet zdrojové kódy

20210829 / Alston Lin
Actions
1. Add two error code for system to detects the abnormal voltage on the output at the stage of GFD

Files
1. As follow commit history

alston před 3 roky
rodič
revize
f60c92becd
1 změnil soubory, kde provedl 5 přidání a 3 odebrání
  1. 5 3
      EVSE/Projects/define.h

+ 5 - 3
EVSE/Projects/define.h

@@ -1254,8 +1254,8 @@ char AlarmStatusCode[128][6]=
     "012321",   // System CCS output UCP
     "012322",   // System GBT output UCP
     "012323",   // System Chiller output OTP
-    "012324",   // reserved
-    "012325",   // reserved
+    "012324",   // Connector 1 detects abnormal voltage on the output line
+    "012325",   // Connector 2 detects abnormal voltage on the output line
     "012326",   // reserved
     "012327",   // reserved
 };
@@ -1407,7 +1407,9 @@ struct AlarmCodeData
             unsigned char SystemCCSOutputUCP:1;                     //bit 1
             unsigned char SystemGBTOutputUCP:1;                     //bit 2
             unsigned char SystemChillerOTP:1;                       //bit 3
-            unsigned char Reserved:4;                               //bit 4~7
+            unsigned char AbnormalVoltageOnOutputLine_1:1;          //bit 4
+            unsigned char AbnormalVoltageOnOutputLine_2:1;          //bit 5
+            unsigned char Reserved:2;                               //bit 6~7
 		}bits;
 	}AlarmEvents;
 };