Explorar o código

[Added] [define.h]
2022-05-04 / EASON YANG
Action
1. Added: LocalPowerSharingCommunicationError into AlarmCodeData. For slave disconnect from master.

File
1. define.h
Action 1

8009 %!s(int64=2) %!d(string=hai) anos
pai
achega
9a435531e0
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      EVSE/Projects/define.h

+ 3 - 2
EVSE/Projects/define.h

@@ -1360,7 +1360,7 @@ char AlarmStatusCode[160][6]=
     "012344",   // AC: Meter IC communication timeout
     "012345",   // AC: Pilot negative error
     "012346",   // Psu Communication error with CSU
-    "012347",   // reserved
+    "012347",   // AC: Local power sharing communication error (Slave disconnect from Master)
     "012348",   // reserved
     "012349",   // reserved
     "012350",   // reserved
@@ -1539,7 +1539,8 @@ struct AlarmCodeData
             unsigned char MeterIcCommTimeout:1;                     //bit 0
             unsigned char PilotNegativeError:1;                     //bit 1
             unsigned char PsuComminicationErrWithCSU:1;             //bit 2
-            unsigned char :5;                                       //reserved bit 3 ~ bit 7
+			unsigned char LocalPowerSharingCommunicationError:1;	//bit 3
+            unsigned char :4;                                       //reserved bit 4 ~ bit 7
             //AlarmVal[19]
             unsigned char :8;                                       //reserved bit 0 ~ bit 7
 		}bits;