#ifndef MODULE_LCM_CTRL_H_ #define MODULE_LCM_CTRL_H_ //------------------------------------------------------------------------------ #define DEFAULT_AC_INDEX (2) #define TIME_MAX_SEC (2592000) // 一個月,秒數 #define POWER_MAX_KW (5000) #define ENERGY_MAX_KWH (5000) #define CMD_TITLE_1 (0x5A) #define CMD_TITLE_2 (0xA5) #define CMD_READ (0x80) #define CMD_WRITE (0x81) #define CMD_MULTI_WRITE (0x82) #define CMD_MULTI_READ (0x83) #define CMD_BACKLIGHT (0x01) #define CMD_REGISTER (0x03) //#define NOODOE_QR_CODE_URL "https://ev-alpha-test.noodoe.com/station?id=" ////For Audi #define NOODOE_QR_CODE_URL "https://ev.noodoe.com/station?id=" ////For Audi //------------------------------------------------------------------------------ enum _BATTERY_LEVEL_FOR_MAP { _BATTERY_LEVEL_FOR_MAP_EMP = 0x00, _BATTERY_LEVEL_FOR_MAP_LV1 = 0x01, _BATTERY_LEVEL_FOR_MAP_LV2 = 0x02, _BATTERY_LEVEL_FOR_MAP_LV3 = 0x03, _BATTERY_LEVEL_FOR_MAP_LV4 = 0x04, _BATTERY_LEVEL_FOR_MAP_LV5 = 0x05, }; #endif //MODULE_LCM_CTRL_H_