#ifndef __GBK_TEXT_H__ #define __GBK_TEXT_H__ #include // GBK文本数组声明(定义在gbk_text.c中) extern const uint8_t text_device_name_GBK[]; extern const uint8_t text_loading_GBK[]; extern const uint8_t text_massage_off_GBK[]; extern const uint8_t text_heat_on_GBK[]; extern const uint8_t text_heat_off_GBK[]; extern const uint8_t text_gear_1_GBK[]; extern const uint8_t text_gear_2_GBK[]; extern const uint8_t text_gear_3_GBK[]; extern const uint8_t text_time_1_GBK[]; extern const uint8_t text_time_2_GBK[]; extern const uint8_t text_time_3_GBK[]; extern const uint8_t text_remaining_GBK[]; extern const uint8_t text_stop_GBK[]; // GBK文本长度宏(预计算,不含\0) #define text_device_name_LEN (10) #define text_loading_LEN (6) #define text_massage_off_LEN (13) #define text_heat_on_LEN (13) #define text_heat_off_LEN (13) #define text_gear_1_LEN (15) #define text_gear_2_LEN (15) #define text_gear_3_LEN (15) #define text_time_1_LEN (15) #define text_time_2_LEN (15) #define text_time_3_LEN (15) #define text_remaining_LEN (13) #define text_stop_LEN (14) // 兼容旧代码的别名 #define text_device_name text_device_name_GBK #define text_loading text_loading_GBK #define text_massage_off text_massage_off_GBK #define text_heat_on text_heat_on_GBK #define text_heat_off text_heat_off_GBK #define text_gear_1 text_gear_1_GBK #define text_gear_2 text_gear_2_GBK #define text_gear_3 text_gear_3_GBK #define text_time_1 text_time_1_GBK #define text_time_2 text_time_2_GBK #define text_time_3 text_time_3_GBK #define text_remaining text_remaining_GBK #define text_stop text_stop_GBK #endif // __GBK_TEXT_H__