Kaynağa Gözat

Z991239-1755 #comment fix:修改alarm字段定义,符合32位长度

刘文涛80174520 4 yıl önce
ebeveyn
işleme
1441a47668
2 değiştirilmiş dosya ile 8 ekleme ve 2 silme
  1. 6 0
      Module/mod_alarm/AlarmFSM.h
  2. 2 2
      addin/cfg/HealthManager.ini

+ 6 - 0
Module/mod_alarm/AlarmFSM.h

@@ -25,9 +25,15 @@ struct AlarmUpload
 	char TerminalNo[16];
 	char EntityName[32];
 	char SN[20];
+#ifdef RVC_OS_WIN
 	unsigned long  LifeID;
 	unsigned long Item;
 	unsigned long UserCode;
+#else 
+	uint32_t  LifeID;
+	uint32_t Item;
+	uint32_t UserCode;
+#endif
 	char Level;
 	char Description[512];
 };

+ 2 - 2
addin/cfg/HealthManager.ini

@@ -1,5 +1,5 @@
 [CoreBoot.RVC.Stand2S]
-;UpLog=0
+UpLog=0
 ;SystemCustomization=2
 ;MobileDial=0
 WatchDog=0
@@ -19,7 +19,7 @@ AccessAuthorization=2
 ;SystemCustomization=2
 SelfChecker=2
 HeartBeat=2
-;Alarm=1
+Alarm=1
 ;DeviceSwitch=2
 EventConverter=2
 FaceTracking=0