#ifndef POPUP_ALARM_HANDLE_H__
#define POPUP_ALARM_HANDLE_H__
#include "Popup_Alarm.h"


#define COF_GEARBOX_EXIST   (Get_NodeConfig_GearBoxType() == 1)
#define COF_ESP_EXIST   (Get_NodeConfig_ESP() == 1)

extern Pop_uint8_t u8PopAlarmDPF;
extern Pop_uint8_t u8PopAlarmDoor;
extern Pop_uint8_t u8PopAlarmTPMS;
extern Pop_uint8_t u8PopAlarmTPMSConfigError;
extern Pop_uint8_t u8PopAlarmTemp;
extern Pop_uint8_t u8PopAlarmUreaFailChange;
extern Pop_uint8_t u8PopAlarmUreaLowAdd;
extern Pop_uint8_t u8PopAlarmUreaFailLimit75;
extern Pop_uint8_t u8PopAlarmUreaLowLimit75;
extern Pop_uint8_t u8PopAlarmUreaLowTqrqueLimit75;
extern Pop_uint8_t u8PopAlarmUreaFailReset20;
extern Pop_uint8_t u8PopAlarmUreaLowReset20;
extern Pop_uint8_t u8PopAlarmUreaFail20;
extern Pop_uint8_t u8PopAlarmUreaLow20;
extern Pop_uint8_t u8PopAlarmEngineLubricate;
extern Pop_uint8_t u8PopAlarmFuelSenFail;
extern Pop_uint8_t u8PopAlarmBreakToShift;
extern Pop_uint8_t u8PopAlarmGearBoxCaution;
extern Pop_uint8_t u8PopAlarmGearBoxFailure;
extern Pop_uint8_t u8PopAlarmGearBoxHighTemp;
extern Pop_uint8_t u8PopAlarmTBoxDismantle;
extern Pop_uint8_t u8PopAlarmESCActive;
extern Pop_uint8_t u8PopAlarmESCClose;
extern Pop_uint8_t u8PopAlarmESCFailure;
extern Pop_uint8_t u8SafeBeltTrigger;
extern Pop_uint8_t u8PopAlarmKEY;
extern Pop_uint8_t u8PopAlarmPositionLight;

extern Pop_uint8_t u8PopAlarmLimit75Change ;
extern Pop_uint8_t u8PopAlarmEmissionFailService ;
extern Pop_uint8_t u8PopAlarmEmissionFailLimit75 ;
extern Pop_uint8_t u8PopAlarmLimit75Service ;
extern Pop_uint8_t u8PopAlarmEmissionFailReset20 ;
extern Pop_uint8_t u8PopAlarmEmissionFail20 ;
extern Pop_uint8_t u8PopAlarmLDWS;




extern void Popups_Alarm_Trigger_Service(void);
extern void Popups_Alarm_Trigger_Time(void);
extern void Popups_Alarm_Trigger_Delete_All(void);
extern void Popups_Alarm_Trigger_OFF_Init(void);
extern void Popups_Alarm_Trigger_ON_Init(void);
extern void Popups_Alarm_Trigger_WakeUp_Init(void);
extern void Popups_Alarm_Trigger_Mileage(Pop_uint8_t u8MileData);
#endif
