uiBlock.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #ifndef __UI_BLOCK_H__
  2. #define __UI_BLOCK_H__
  3. #define SIGNAL_ICON_X 0
  4. #define SIGNAL_ICON_WX (7+10)
  5. #define CARD_ICON_X (SIGNAL_ICON_X+SIGNAL_ICON_WX+2)
  6. #define CARD_ICON_WX 7
  7. #define NET_ICON_X (CARD_ICON_X+CARD_ICON_WX+1)
  8. #define NET_ICON_WX (16)
  9. #define GPS_ICON_X (NET_ICON_X+NET_ICON_WX)//(NET_ICON_X+NET_ICON_WX+1)
  10. #define GPS_ICON_WX 0//(18)
  11. #define SMS_ICON_X (GPS_ICON_X+GPS_ICON_WX)//(GPS_ICON_X+GPS_ICON_WX+2)
  12. #define SMS_ICON_WX 0//(8)
  13. #define TIME_ICON_X (SMS_ICON_X+SMS_ICON_WX+1)
  14. #define TIME_ICON_WX (5*8)
  15. #define EAR_ICON_X (TIME_ICON_X+TIME_ICON_WX+1)
  16. #define EAR_ICON_WX (11)
  17. #define LOCK_ICON_X (EAR_ICON_X+EAR_ICON_WX+2)
  18. #define LOCK_ICON_WX 8
  19. #define BAT_ICON_X (LOCK_ICON_X+LOCK_ICON_WX+1)
  20. #define BAT_ICON_WX (21)
  21. #define WARN_TTS_INTERVAL 30000 //定时�示充电间隔
  22. #define MIN_PWR_LEVEL 320 //低于此电压��工�
  23. #define WARN_PWR_LEVEL 330 //�示请充电电�
  24. extern unsigned char netshowvalue;
  25. extern unsigned char ctecCurrentSet;
  26. extern unsigned char fotaStep;
  27. void uiShowStatusBar(char flash,unsigned int exeInterval);
  28. void uiShowMainInterface(char status,unsigned int);
  29. void uiShowMenuMain(char update);
  30. void MenuMainResponse(void);
  31. void uiShowGUSel(char StatusUpdate,unsigned int exeInterval,char type);
  32. void GroupSelResponse();
  33. void UserSelResponse();
  34. void uiShowMenuSysSetup(char flash);
  35. void sysTemSetResponse(void);
  36. void uiShowMenuLocationSel(char flash);
  37. void loationSetResponse(void);
  38. void uiShowInformation(char update);
  39. void uiShowInformationResponse(void);
  40. void uiShowLcdSel(char StatusUpdate);
  41. void uiShowLcdSelResponse(void);
  42. void uiShowNetSel(char StatusUpdate);
  43. void uiShowNetSelResponse(void);
  44. void uiShowSimSel(char StatusUpdate);
  45. void uiShowSimSelResponse(void);
  46. void uiShowPwrSel(char StatusUpdate);
  47. void uiShowPwrSelResponse(void);
  48. void uiShowServerPassSel(char StatusUpdate);
  49. void uiShowServerSelPassResponse(void);
  50. void uiShowServerSel(char StatusUpdate);
  51. void uiShowServerSelResponse(void);
  52. void uiShowVersionSel(char StatusUpdate);
  53. void uiShowVersionSelResponse(void);
  54. void pwrModeAckHandler(unsigned char seg1, unsigned char seg2);
  55. unsigned short getSmsXAddr(void);
  56. void showLoading(void);
  57. void uiShowMiccugainUISel(char StatusUpdate);
  58. void uiShowMicCuSelResponse(void);
  59. void uiShowPingTaiSel(char StatusUpdate);
  60. void uiShowPingTaiSelResponse(void);
  61. void uiShowQRSel(char StatusUpdate);
  62. void uiShowQRResponse(void);
  63. #endif