#ifndef __UI_BLOCK_H__ #define __UI_BLOCK_H__ #define SIGNAL_ICON_X 0 #define SIGNAL_ICON_WX (7+10) #define CARD_ICON_X (SIGNAL_ICON_X+SIGNAL_ICON_WX+2) #define CARD_ICON_WX 7 #define NET_ICON_X (CARD_ICON_X+CARD_ICON_WX+1) #define NET_ICON_WX (16) #define GPS_ICON_X (NET_ICON_X+NET_ICON_WX)//(NET_ICON_X+NET_ICON_WX+1) #define GPS_ICON_WX 0//(18) #define SMS_ICON_X (GPS_ICON_X+GPS_ICON_WX)//(GPS_ICON_X+GPS_ICON_WX+2) #define SMS_ICON_WX 0//(8) #define TIME_ICON_X (SMS_ICON_X+SMS_ICON_WX+1) #define TIME_ICON_WX (5*8) #define EAR_ICON_X (TIME_ICON_X+TIME_ICON_WX+1) #define EAR_ICON_WX (11) #define LOCK_ICON_X (EAR_ICON_X+EAR_ICON_WX+2) #define LOCK_ICON_WX 8 #define BAT_ICON_X (LOCK_ICON_X+LOCK_ICON_WX+1) #define BAT_ICON_WX (21) #define WARN_TTS_INTERVAL 30000 //定时提示充电间隔 #define MIN_PWR_LEVEL 320 //低于此电压后不工? #define WARN_PWR_LEVEL 330 //提示请充电电? extern unsigned char netshowvalue; extern unsigned char ctecCurrentSet; extern unsigned char fotaStep; void uiShowStatusBar(char flash,unsigned int exeInterval); void uiShowMainInterface(char status,unsigned int); void uiShowMenuMain(char update); void MenuMainResponse(void); void uiShowGUSel(char StatusUpdate,unsigned int exeInterval,char type); void GroupSelResponse(); void UserSelResponse(); void uiShowMenuSysSetup(char flash); void sysTemSetResponse(void); void uiShowMenuLocationSel(char flash); void loationSetResponse(void); void uiShowInformation(char update); void uiShowInformationResponse(void); void uiShowLcdSel(char StatusUpdate); void uiShowLcdSelResponse(void); void uiShowNetSel(char StatusUpdate); void uiShowNetSelResponse(void); void uiShowSimSel(char StatusUpdate); void uiShowSimSelResponse(void); void uiShowPwrSel(char StatusUpdate); void uiShowPwrSelResponse(void); void uiShowServerPassSel(char StatusUpdate); void uiShowServerSelPassResponse(void); void uiShowServerSel(char StatusUpdate); void uiShowServerSelResponse(void); void uiShowVersionSel(char StatusUpdate); void uiShowVersionSelResponse(void); void pwrModeAckHandler(unsigned char seg1, unsigned char seg2); unsigned short getSmsXAddr(void); void showLoading(void); void uiShowMiccugainUISel(char StatusUpdate); void uiShowMicCuSelResponse(void); void uiShowPingTaiSel(char StatusUpdate); void uiShowPingTaiSelResponse(void); void uiShowQRSel(char StatusUpdate); void uiShowQRResponse(void); #endif