#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_on_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_GBK[]; extern const uint8_t text_time_GBK[]; extern const uint8_t text_cont_GBK[]; extern const uint8_t text_remaining_GBK[]; extern const uint8_t text_running_GBK[]; extern const uint8_t text_paused_GBK[]; extern const uint8_t text_ended_GBK[]; // GBK文本长度宏(预计算,不含\0) #define text_device_name_LEN (10) #define text_loading_LEN (6) #define text_massage_on_LEN (8) #define text_massage_off_LEN (8) #define text_heat_on_LEN (8) #define text_heat_off_LEN (8) #define text_gear_LEN (4) #define text_time_LEN (6) #define text_cont_LEN (4) #define text_remaining_LEN (8) #define text_running_LEN (6) #define text_paused_LEN (6) #define text_ended_LEN (6) // 兼容旧代码的别名 #define text_device_name text_device_name_GBK #define text_loading text_loading_GBK #define text_massage_on text_massage_on_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 text_gear_GBK #define text_time text_time_GBK #define text_cont text_cont_GBK #define text_remaining text_remaining_GBK #define text_running text_running_GBK #define text_paused text_paused_GBK #define text_ended text_ended_GBK #endif // __GBK_TEXT_H__