#ifndef IMAG_MAP_H_ #define IMAG_MAP_H_ #include "Imag_TFT.h" typedef struct { uint8_t *CNAddr; uint16_t CNX; uint16_t CNY; } ImageAddr; typedef struct { uint8_t *CNAddr; } ImageNumberAddr; typedef struct{ uint8_t *m_L; uint8_t *m_M; uint8_t *m_R; }Animation3Addr; typedef struct{ uint8_t *m_LU; uint8_t *m_L; uint8_t *m_RU; uint8_t *m_R; }Animation4Addr; // ImageNumberAddr N11_W_list[] = {&Number_11_White_0, &Number_11_White_1, &Number_11_White_2, &Number_11_White_3, &Number_11_White_4, &Number_11_White_5, &Number_11_White_6, &Number_11_White_7, &Number_11_White_8, &Number_11_White_9}; /*开机动画*/ // static const ImageNumberAddr Image_Animation1_List [] ={ // &Boot_Animation_000, // &Boot_Animation_001, // &Boot_Animation_002, // &Boot_Animation_003, // &Boot_Animation_004, // &Boot_Animation_005, // &Boot_Animation_006, // &Boot_Animation_007, // &Boot_Animation_008, // &Boot_Animation_009, // &Boot_Animation_010, // &Boot_Animation_011, // &Boot_Animation_012, // &Boot_Animation_013, // &Boot_Animation_014, // &Boot_Animation_015, // &Boot_Animation_016, // &Boot_Animation_017, // &Boot_Animation_018, // &Boot_Animation_019, // &Boot_Animation_020, // }; typedef enum { StandardFeedback = 0,//标准回馈 LargeFeedback, //较大回馈 TravelTimeTitle, //行驶时间标题 TotalEnergyTitle, //累计平均电耗 Total50EnergyTitle, //最近50公里平均电耗 AvgSpeedTitle, //平均车速 LowPressure_LF, //胎压低 LowPressure_RF, //胎压低 LowPressure_LR, //胎压低 LowPressure_RR, //胎压低 Ben_Title, //本次旅程标题 Ben_sub_01, //行驶里程 Ben_sub_02, //本次电耗 Ben_sub_03, //行驶时间 Communication_Abnormal,//通讯异常 /*单位*/ Uint_AM, //上午 Uint_PM, //下午 }CommonImageIndex; static const ImageAttribute Image_Common_List[] = { {{{"标准回馈",6 + 5, 19,4},{"",0,0,0},{"",0,0,0}},{{"Standard feedback",8 + 5, 25, 17},{"",0,0,0},{"",0,0,0}}}, {{{"较大回馈",6 + 5, 19,4},{"",0,0,0},{"",0,0,0}},{{"Larger feedback",8 + 5, 25, 17},{"",0,0,0},{"",0,0,0}}}, {{{"行驶时间",93, 160,4},{"",0,0,0},{"",0,0,0}},{{"Driving Time",95, 160, 12},{"",0,0,0},{"",0,0,0}}}, {{{"累计平均电耗",93, 160,6},{"",0,0,0},{"",0,0,0}},{{"Cumulative AEC",95, 160, 14},{"",0,0,0},{"",0,0,0}}}, {{{"最近50公里平均电耗",93, 160,10},{"",0,0,0},{"",0,0,0}},{{"Past 50km AEC",95, 160, 13},{"",0,0,0},{"",0,0,0}}}, {{{"平均车速",93, 160,4},{"",0,0,0},{"",0,0,0}},{{"Average speed",95, 160, 13},{"",0,0,0},{"",0,0,0}}}, {{{"胎压低",94, 195,3},{"",0,0,0},{"",0,0,0}},{{"Low Pressure",96, 193, 12},{"",0,0,0},{"",0,0,0}}}, {{{"胎压低",94, 75,3},{"",0,0,0},{"",0,0,0}},{{"Low Pressure",96, 40, 12},{"",0,0,0},{"",0,0,0}}}, {{{"胎压低",152, 195,3},{"",0,0,0},{"",0,0,0}},{{"Low Pressure",155, 193, 12},{"",0,0,0},{"",0,0,0}}}, {{{"胎压低",152, 75,3},{"",0,0,0},{"",0,0,0}},{{"Low Pressure",155, 40, 12},{"",0,0,0},{"",0,0,0}}}, {{{"本次旅程",16, 160,4},{"",0,0,0},{"",0,0,0}},{{"Current trip",18, 160, 12},{"",0,0,0},{"",0,0,0}}}, {{{"行驶里程",111, 36,4},{"",0,0,0},{"",0,0,0}},{{"Mileage",114, 50, 7},{"",0,0,0},{"",0,0,0}}}, {{{"本次电耗",179, 228,4},{"",0,0,0},{"",0,0,0}},{{"Current power consumption",180, 145, 25},{"",0,0,0},{"",0,0,0}}}, {{{"行驶时间",179, 43,4},{"",0,0,0},{"",0,0,0}},{{"Driving Time",180, 33, 12},{"",0,0,0},{"",0,0,0}}}, {{{"通讯异常",149, 160,4},{"",0,0,0},{"",0,0,0}},{{"Communication Abnormal",149, 160, 22},{"",0,0,0},{"",0,0,0}}}, /*单位*/ {{{"上午",220-5, 283,2},{"",0,0,0},{"",0,0,0}},{{"AM",222 - 5, 238, 2},{"",0,0,0},{"",0,0,0}}}, {{{"下午",220- 5, 283,2},{"",0,0,0},{"",0,0,0}},{{"PM",222 - 5, 238, 2},{"",0,0,0},{"",0,0,0}}}, }; #endif