
#ifndef _POPUP_MESSAGE_LIST_H_
#define _POPUP_MESSAGE_LIST_H_

/******************************************************************************
报警文字消息名称列表
******************************************************************************/
enum PopupMessageName
{

  POPUP_MSG_PEPS_Fault,         
  POPUP_MSG_ESCL_Fault,         
  POPUP_MSG_Engine_Prewarming,  
  POPUP_MSG_Prewarming_End,     
  POPUP_MSG_Press_Brake_Start,  
  POPUP_MSG_Press_clutch_Start, 
  POPUP_MSG_Key_Not_Found,      
  POPUP_MSG_No_Key_Incar,       
  POPUP_MSG_N_Level_Start,      
  POPUP_MSG_Press_SSB_by_key,   
  POPUP_MSG_POWEROFF_WithoutN,  
  POPUP_MSG_Key_Battery_Low,    
  //POPUP_MSG_Lock_WithKeyInCar, 
  POPUP_MSG_Child_Loca_State,
  POPUP_MSG_LowPress_ReleaseLimit, 
  POPUP_MSG_Running_Err,
  POPUP_MSG_noSignal_Left,     
  POPUP_MSG_HighTEMP_Left,     
  POPUP_MSG_HighPRESSURE_Left, 
  POPUP_MSG_LowPRESSURE_Left,  
  POPUP_MSG_noSignal_Right,    
  POPUP_MSG_HighTEMP_Right,    
  POPUP_MSG_HighPRESSURE_Right,
  POPUP_MSG_LowPRESSURE_Right, 
  POPUP_MSG_TireIDStudy_Left,  
  POPUP_MSG_TireIDStudy_Right, 
  
};

/******************************************************************************
消息类型定义
******************************************************************************/
#define   POPUP_TYPE_GENERAL                0x00  //一般消息
#define   POPUP_TYPE_TPMS                   0x01  //胎压消息
#define   POPUP_TYPE_HOOVES                 0x02  //蹄片消息   
#define   POPUP_TYPE_RADAR                  0x03  //雷达消息
#define   POPUP_TYPE_SERVICE                0x04  //保养消息
#define   POPUP_TYPE_OVSPD                  0x05  //超速消息
#define   POPUP_TYPE_KEYS                   0x06  //按键激活消息
#define   POPUP_TYPE_CHARG                  0x07  //OFF档充电

/******************************************************************************
伪文字消息列表
******************************************************************************/
#define   POPUP_MSG_NONE                    0xFF

/******************************************************************************
报警文字消息属性
******************************************************************************/
typedef struct
{
  uint8_t   Type;   //类型
} PopupMsgAttributeStruct;

static const PopupMsgAttributeStruct PopupMsgAttributeTable[] =
{
  /*=============================================================
              报警文字消息名称           |       消息类型
  -------------------------------------------------------------*/
 // { /* POPUP_MSG_CHARGING               */   POPUP_TYPE_CHARG,},     //OFF档充电
 // { /* POPUP_MSG_HI_COOLANT_TEMP水温高  */   POPUP_TYPE_GENERAL,},   //水温高
 // { /* POPUT_MSG_HI_PRESSURE,   气压高  */   POPUP_TYPE_GENERAL,},   //气压不足
 // { /* POPUT_MSG_CAN_ERROR,     CAN     */   POPUP_TYPE_GENERAL,},   //CAN ERROR
//  { /* POPUT_MSG_LOW_ADBLUE,    尿素低  */   POPUP_TYPE_GENERAL,},   //尿素低
//  { /*                          尿素错误*/   POPUP_TYPE_GENERAL,},
//  { /* POPUT_MSG_LOW_ADBLUE,    雷达报警*/   POPUP_TYPE_RADAR,},     //
//  { /* POPUT_MSG_LOW_ADBLUE,    雷达异常*/   POPUP_TYPE_RADAR,},     //
//  { /* POPUT_MSG_LOW_ADBLUE,    蹄片磨损*/   POPUP_TYPE_HOOVES,},    //
//  { /* POPUT_MSG_LOW_OIL,     机油压力低*/   POPUP_TYPE_GENERAL,},   //机油压力低
//  { /* POPUP_MSG_LOW_FUEL,      燃油低  */   POPUP_TYPE_GENERAL,},   //燃油低
//  { /* POPUP_MSG_LOW_PBRAKE,  制动液位低*/   POPUP_TYPE_GENERAL,},   //制动液位低
    { /* POPUP_MSG_Key_Battery_Low , 钥匙  */     POPUP_TYPE_GENERAL,},   // 钥匙电量低
    { /* POPUP_MSG_Key_Not_Found , 钥匙  */       POPUP_TYPE_GENERAL,},   // 钥匙
    { /* POPUP_MSG_N_Level_Start , 钥匙  */       POPUP_TYPE_GENERAL,},   // 钥匙
    { /* POPUP_MSG_Press_Brake_Start , 钥匙  */   POPUP_TYPE_GENERAL,},   // 钥匙
    { /* POPUP_MSG_ESCL_Unlock_Failure ,钥匙   */ POPUP_TYPE_GENERAL,},   // 钥匙
    { /*POPUP_MSG_Press_clutch_Start  , 钥匙  */  POPUP_TYPE_GENERAL,},   // 钥匙
    { /* POPUP_MSG_Press_SSB_by_key , 钥匙  */    POPUP_TYPE_GENERAL,},   // 钥匙
    { /* POPUP_MSG_Key_Battery_Low , 钥匙  */     POPUP_TYPE_GENERAL,},   // 钥匙电量低
    { /* POPUP_MSG_Key_Not_Found , 钥匙  */       POPUP_TYPE_GENERAL,},   // 钥匙
    { /* POPUP_MSG_N_Level_Start , 钥匙  */       POPUP_TYPE_GENERAL,},   // 钥匙
    { /* POPUP_MSG_Press_Brake_Start , 钥匙  */   POPUP_TYPE_GENERAL,},   // 钥匙
    { /* POPUP_MSG_ESCL_Unlock_Failure ,钥匙   */ POPUP_TYPE_GENERAL,},   // 钥匙
    //{ /*POPUP_MSG_Press_clutch_Start  , 钥匙  */  POPUP_TYPE_GENERAL,},   // 钥匙
    
    { /* POPUP_MSG_Child_Loca_State , 钥匙  */   POPUP_TYPE_GENERAL,},   // 童锁状态
    { /* POPUP_MSG_LowPress_ReleaseLimit ,钥匙   */ POPUP_TYPE_GENERAL,},   // 低压释放限制状态   
    { /* POPUP_MSG_ESCL_Unlock_Failure ,钥匙   */ POPUP_TYPE_GENERAL,},   // 钥匙   
    { /*  POPUP_MSG_noSignal_Left,      */          POPUP_TYPE_TPMS,},   // 
    { /*  POPUP_MSG_HighTEMP_Left,      */          POPUP_TYPE_TPMS,},   // 
    { /*  POPUP_MSG_HighPRESSURE_Left,  */          POPUP_TYPE_TPMS,},   // 
    { /*  POPUP_MSG_LowPRESSURE_Left,   */          POPUP_TYPE_TPMS,},   // 
    { /*  POPUP_MSG_noSignal_Right,      */         POPUP_TYPE_TPMS,},   // 
    { /*  POPUP_MSG_HighTEMP_Right,     */          POPUP_TYPE_TPMS,},   // 
    { /*  POPUP_MSG_HighPRESSURE_Right, */          POPUP_TYPE_TPMS,},   // 
    { /*  POPUP_MSG_LowPRESSURE_Right,   */         POPUP_TYPE_TPMS,},   // 
    { /*  POPUP_MSG_TireIDStudy_Left,   */          POPUP_TYPE_TPMS,},   // 
    { /*  POPUP_MSG_TireIDStudy_Right,  */          POPUP_TYPE_TPMS,},   // 
    
  /*===========================================================*/           
};

#define   POPUP_MSG_NUMBER_TOTAL            (sizeof(PopupMsgAttributeTable) / sizeof(PopupMsgAttributeStruct))

#endif
