mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-13 09:58:54 +00:00
254 lines
9.7 KiB
C
254 lines
9.7 KiB
C
#ifndef __FONTENUM_H__
|
|
#define __FONTENUM_H__
|
|
|
|
#include "rtthread.h"
|
|
#include "rtconfig.h"
|
|
|
|
#include "nvs_eepom.h"
|
|
|
|
|
|
#define D_System_type "T3E-Pro"
|
|
#define D_System_Storage "16MB+8MB"
|
|
#define D_System_Hardware "1.0"
|
|
#define D_System_Screen "480*480"
|
|
#define D_System_Ver 107
|
|
|
|
enum
|
|
{
|
|
MENU_LIST_SUN = 0, //Sun
|
|
MENU_LIST_MON, //Mon
|
|
MENU_LIST_TUE, //Tue
|
|
MENU_LIST_WED, //Wed
|
|
MENU_LIST_THU, //Thu
|
|
MENU_LIST_FIR, //Fir
|
|
MENU_LIST_SAT, //Sat
|
|
MENU_LIST_SURE, //确认
|
|
MENU_LIST_CANCELL, //取消
|
|
MENU_LIST_Scence, //情景
|
|
MENU_LIST_Scence11, //情景11
|
|
MENU_LIST_Scence12, //情景12
|
|
MENU_LIST_Scence13, //情景13
|
|
MENU_LIST_Scence14, //情景14
|
|
MENU_LIST_Scence21, //情景21
|
|
MENU_LIST_Scence22, //情景22
|
|
MENU_LIST_Scence23, //情景23
|
|
MENU_LIST_Scence24, //情景24
|
|
MENU_LIST_Switch, //开关
|
|
MENU_LIST_Dimmertab, //调光
|
|
MENU_LIST_Dimmer1edpage, //第一页
|
|
MENU_LIST_Dimmer2edpage, //第二页
|
|
MENU_LIST_dimmer_group1_infobtn, //调光详情按钮
|
|
MENU_LIST_dimmer_group1_temp, //暖光
|
|
MENU_LIST_dimmer_group1_cold, //冷光
|
|
MENU_LIST_dimmer_group2_infobtn, //调光详情按钮
|
|
MENU_LIST_dimmer_group2_temp, //暖光
|
|
MENU_LIST_dimmer_group2_cold, //冷光
|
|
MENU_LIST_dimmer_group3_infobtn, //调光详情按钮
|
|
MENU_LIST_dimmer_group3_temp, //暖光
|
|
MENU_LIST_dimmer_group3_cold, //冷光
|
|
MENU_LIST_dimmer_group4_infobtn, //调光详情按钮
|
|
MENU_LIST_dimmer_group4_temp, //暖光
|
|
MENU_LIST_dimmer_group4_cold, //冷光
|
|
MENU_LIST_Curtaintab, //窗帘
|
|
MENU_LIST_Curtain_group1_infobtn, //窗帘详情按钮
|
|
MENU_LIST_Curtain_group1_open, //开
|
|
MENU_LIST_Curtain_group1_pause, //停
|
|
MENU_LIST_Curtain_group1_close, //关
|
|
MENU_LIST_Curtain_group2_infobtn, //窗帘详情按钮
|
|
MENU_LIST_Curtain_group2_open, //开
|
|
MENU_LIST_Curtain_group2_pause, //停
|
|
MENU_LIST_Curtain_group2_close, //关
|
|
MENU_LIST_Curtain_group3_infobtn, //窗帘详情按钮
|
|
MENU_LIST_Curtain_group3_open, //开
|
|
MENU_LIST_Curtain_group3_pause, //停
|
|
MENU_LIST_Curtain_group3_close, //关
|
|
MENU_LIST_Curtain_group4_infobtn, //窗帘详情按钮
|
|
MENU_LIST_Curtain_group4_open, //开
|
|
MENU_LIST_Curtain_group4_pause, //停
|
|
MENU_LIST_Curtain_group4_close, //关
|
|
MENU_LIST_Device, //设备
|
|
MENU_LIST_Settings, //设置
|
|
MENU_LIST_SetHost, //主机
|
|
MENU_LIST_System_Restart, //"系统重启",
|
|
MENU_LIST_System_Restartmsgbox, //"是否系统重启?",
|
|
MENU_LIST_Restore_Factory, //"恢复出厂",
|
|
MENU_LIST_Restore_Factorymsgbox, //"是否恢复出厂?",
|
|
MENU_LIST_SetDisplay, //显示
|
|
MENU_LIST_SetDisplaybrightness, //屏幕亮度
|
|
MENU_LIST_SetDisplayAutomatic, //自动调整亮度
|
|
MENU_LIST_DisplayAdjustment, //根据周围环境自动调整亮度,有效节能
|
|
MENU_LIST_DisplayAutoscreen, //自动息屏
|
|
MENU_LIST_DisplayAutoscreentime, //自动息屏时间
|
|
MENU_LIST_SetClock, //日期和时间
|
|
MENU_LIST_SetClockauto, //自动设置时间
|
|
MENU_LIST_SetClockDate, //日期
|
|
MENU_LIST_SetClockTime, //时间
|
|
MENU_LIST_SetClockZone, //时区
|
|
MENU_LIST_SetClockChange, //时间设置的更改
|
|
MENU_LIST_SetClockcancel, //时间设置的取消
|
|
MENU_LIST_SetLanguange, //语言
|
|
MENU_LIST_SetNetwork, //网络
|
|
MENU_LIST_SetScene, //场景
|
|
MENU_LIST_SetFirstScreen, //首屏
|
|
MENU_LIST_Storage, //内存
|
|
MENU_LIST_HARDWARE, //硬件版本
|
|
MENU_LIST_Screen, //分辨率
|
|
MENU_LIST_SystemVer, //系统版本
|
|
MENU_LIST_Intelnetwork, //智能配网
|
|
MENU_LIST_Automatic, //自动
|
|
MENU_LIST_scenario, //请您选择应用场景
|
|
MENU_LIST_Family, //家庭
|
|
MENU_LIST_Office, //办公
|
|
MENU_LIST_Hotel, //酒店
|
|
MENU_LIST_HomeMode, //请选择首页模式
|
|
MENU_LIST_Clockswitch, //时钟+开关
|
|
MENU_LIST_SetRelay, //继电器选择
|
|
MENU_LIST_Relayprompt, //继电器提示
|
|
MENU_LIST_Relay2, //继电器1
|
|
MENU_LIST_Relay3, //继电器2
|
|
MENU_LIST_Relay4, //继电器3
|
|
MENU_LIST_Profile, //情景模式
|
|
MENU_LIST_Negotiationmode, //洽谈模式
|
|
MENU_LIST_DemoMode, //演示模式
|
|
MENU_LIST_Fullyopen, //全开模式
|
|
MENU_LIST_All_off, //全关模式
|
|
MENU_LIST_Custommode, //自定义模式
|
|
MENU_LIST_Newadd, //新加模式
|
|
//开关界面
|
|
MENU_LIST_Chandelier, //吊灯//开关使用
|
|
MENU_LIST_Downlight, //筒灯//开关使用
|
|
MENU_LIST_Lightstrip, //灯带//开关使用
|
|
MENU_LIST_Spotlight, //射灯//开关使用
|
|
//设备界面
|
|
MENU_LIST_Downlights, //默认灯带 自由修改
|
|
MENU_LIST_DownlightsColortemperature, //色温
|
|
MENU_LIST_DownlightsBrightness, //亮度
|
|
MENU_LIST_Curtain, //窗帘
|
|
MENU_LIST_gauzecurtain, //纱帘
|
|
MENU_LIST_window, //窗户
|
|
MENU_LIST_Rollershutter, //卷帘
|
|
MENU_LIST_Shutters, //百叶窗
|
|
MENU_LIST_Projector, //投影仪
|
|
MENU_LIST_Projector_open, //打开
|
|
MENU_LIST_Projector_close, //关闭
|
|
MENU_LIST_mubu, //幕布
|
|
MENU_LIST_smartconfigNOT_JION, //未入网
|
|
MENU_LIST_smartconfig_JOINING, //入网中
|
|
MENU_LIST_smartconfigJOIN_GATEWAY, //已入网
|
|
MENU_LIST_smartconfigsuss, //配网成功
|
|
MENU_LIST_smartconfigtimeout, //配网超时
|
|
MENU_LIST_smartconfigerror, //配网错误
|
|
MENU_LIST_Restart, //重启
|
|
MENU_LIST_ResetFactory, //恢复出厂设置
|
|
MENU_LIST_SetNETCONNECT,//设置网络
|
|
MENU_LIST_CONNECT,//连接
|
|
MENU_LIST_PASSWORD,//密码
|
|
MENU_LIST_CONNECTED,//已连接
|
|
MENU_LIST_CONNECTING,//连接中
|
|
MENU_LIST_DISCONNECT,//未连接
|
|
MENU_LIST_Availablenetworks,//附近WLAN
|
|
MENU_LIST_Device_select,//设备选择
|
|
MENU_LIST_Device_Save,//保存
|
|
MENU_LIST_Smartconfig_Reconnect,//重连
|
|
MENU_LIST_Smartconfig_Modifynetwork,//修改密码
|
|
MENU_LIST_Smartconfig_Forgetnetwork,//删除网络
|
|
MENU_LIST_SYSTEMINFO,//系统信息
|
|
MENU_LIST_SoftwareVer,//软件版本
|
|
MENU_LIST_TOUCHVer, //触摸版本
|
|
MENU_LIST_System_Other,//其它
|
|
MENU_LIST_GANG1_NAME, //场景开关1
|
|
MENU_LIST_GANG11,
|
|
MENU_LIST_GANG12,
|
|
MENU_LIST_GANG13,
|
|
MENU_LIST_GANG14,
|
|
MENU_LIST_GANG2_NAME, //场景开关2
|
|
MENU_LIST_GANG21,
|
|
MENU_LIST_GANG22,
|
|
MENU_LIST_GANG23,
|
|
MENU_LIST_GANG24,
|
|
MENU_LIST_GANG3_NAME, //场景开关3
|
|
MENU_LIST_GANG31,
|
|
MENU_LIST_GANG32,
|
|
MENU_LIST_GANG33,
|
|
MENU_LIST_GANG34,
|
|
MENU_LIST_GANG4_NAME, //场景开关4
|
|
MENU_LIST_GANG41,
|
|
MENU_LIST_GANG42,
|
|
MENU_LIST_GANG43,
|
|
MENU_LIST_GANG44,
|
|
MENU_LIST_GANG6_NAME, //场景开关6
|
|
MENU_LIST_GANG61,
|
|
MENU_LIST_GANG62,
|
|
MENU_LIST_GANG63,
|
|
MENU_LIST_GANG64,
|
|
MENU_LIST_GANG65,
|
|
MENU_LIST_GANG66,
|
|
MENU_LIST_smartcurtain1, //窗帘1
|
|
MENU_LIST_smartcurtain2, //窗帘2
|
|
MENU_LIST_Rollershutter1, //卷帘1
|
|
MENU_LIST_Rollershutter2, //卷帘2
|
|
MENU_LIST_SOCKET1_NAME, //插座1
|
|
MENU_LIST_SOCKET11,
|
|
MENU_LIST_SOCKET2_NAME, //插座2
|
|
MENU_LIST_SOCKET21,
|
|
MENU_LIST_Wireddimmer, //有线调光
|
|
MENU_LIST_Airconditioner, //空调
|
|
MENU_LIST_Airconditioner_ac_power, //电源
|
|
MENU_LIST_Airconditioner_on, //打开
|
|
MENU_LIST_Airconditioner_off, //关闭
|
|
MENU_LIST_Airconditioner_ac_mode, //模式
|
|
MENU_LIST_Airconditioner_modeauto, //模式--自动
|
|
MENU_LIST_Airconditioner_modecool, //模式--制冷
|
|
MENU_LIST_Airconditioner_modeheat, //模式--制热
|
|
MENU_LIST_Airconditioner_modedry, //模式--除湿
|
|
MENU_LIST_Airconditioner_modefan, //模式--送风
|
|
MENU_LIST_Airconditioner_direct, //风向
|
|
MENU_LIST_Airconditioner_dirauto, //风向--自动
|
|
MENU_LIST_Airconditioner_dirup, //风向--上
|
|
MENU_LIST_Airconditioner_drcmid, //风向--中
|
|
MENU_LIST_Airconditioner_dirdown, //风向--下
|
|
MENU_LIST_Airconditioner_dirswing, //风向--左右摆动
|
|
MENU_LIST_Airconditioner_speed, //风速
|
|
MENU_LIST_Airconditioner_speedauto, //风速--自动
|
|
MENU_LIST_Airconditioner_speedlow, //风速--低速
|
|
MENU_LIST_Airconditioner_speedmid, //风速--中速
|
|
MENU_LIST_Airconditioner_speedhigh, //风速--高速
|
|
MENU_LIST_Airconditioner_temp, //温度
|
|
MENU_LIST_CurrentSystem_Other,//当前版本
|
|
MENU_LIST_Checkupgrade,//查询更新
|
|
MENU_LIST_Downloadupdate,//下载更新
|
|
MENU_LIST_VER_latestver,//已经是最新版本
|
|
MENU_LIST_GET_OTA_INFO_FAIL,//获取固件信息失败
|
|
MENU_LIST_OTA_UPGRADE_SUSS,//系统更新成功
|
|
MENU_LIST_OTA_UPGRADE_FAIL,//系统更新失败
|
|
MENU_LIST_OTA_UPGRADE_RUNNING,//系统升级中,请勿断电
|
|
MENU_LIST_OTA_NEW_VER,//新版本
|
|
MENU_LIST_Clockmodeselect, //时钟+开关
|
|
MENU_LIST_switchhmodeselect, //时钟+开关
|
|
MENU_LIST_power_date_alarm, //上电时间警告
|
|
MENU_LIST_MAX,
|
|
};
|
|
|
|
enum
|
|
{
|
|
AIR_MODE_mode=0,//模式
|
|
AIR_MODE_direct,//风向
|
|
AIR_MODE_speed, //风速
|
|
AIR_MODE_MAX,
|
|
};
|
|
|
|
|
|
extern const char *btns_chs[LANG_MAX][3];
|
|
//英文日期修正内容
|
|
extern const char Menu_monList[13][16];
|
|
//语言翻译
|
|
extern const char Menu_List[LANG_MAX][MENU_LIST_MAX][80];
|
|
//空调语言内容
|
|
extern const char Menu_AirList[LANG_MAX][AIR_MODE_MAX][5][16];
|
|
|
|
extern const int Menu_timearea_array[75][2];
|
|
|
|
|
|
#endif
|
|
|