/** * @Author: 李建 * @Date: 2025/4/24 12:49 * Description: UI 事件交互 * Copyright: Copyright (©) 2025 永续绿建. All rights reserved. */ #ifndef WIRE_CONTROLLER_ACTIONS_H #define WIRE_CONTROLLER_ACTIONS_H #include "lvgl.h" /** * 设置-tabView 切换事件 * @param e */ void on_setting_tabview_changed(lv_event_t *e); /** * 设置-wifi 按钮点击事件 * @param e */ void on_btn_scan_wifi_click(lv_event_t *e); /** * 设置-wifi 按钮点击事件 * @param e */ void on_btn_connect_wifi(lv_event_t *e); /** * 设置-高级配置-登录按钮事件 * @param e */ void on_btn_check_manager_password(lv_event_t *e); /** * 高级设置-五恒模块配置事件 * @param e */ void on_set_five_const_module(lv_event_t *e); /** * 高级设置-恢复出厂设置事件 * @param e */ void on_reset_factory_setting(lv_event_t *e); /** * 高级设置-重启设备事件 * @param e */ void on_restart_device(lv_event_t *e); /** * 设置内机地址 * @param num */ void on_set_inner_addr(uint8_t num); /** * 空调界面-设置电源事件 * @param e */ void on_ac_page_set_power(lv_event_t *e, uint8_t power); /** * 主界面-设置工作模式 * @param e * @param mode */ void on_set_mode(lv_event_t *e, uint8_t mode); /** * 设置界面-触摸声音反馈开关事件 * @param e */ void on_set_beep_on_off(lv_event_t *e); /** * 高级设置-允许风阀完全关闭 * @param e */ void on_set_allow_valve_on_off(lv_event_t *e); /** * 设置界面-触摸声音反馈音量事件 * @param e */ void on_set_beep_volume(lv_event_t *e); /** * 设置界面-屏幕自动关闭事件 * @param e */ void on_set_screen_auto_off(lv_event_t *e); /** * 设置界面-屏幕关闭时间事件 * @param e */ void on_set_screen_off_minute(lv_event_t *e); /** * OTA界面-失败重启 * @param e */ void on_ota_failed_restart(lv_event_t *e); /** * 高级配置-参数配置保存 * @param e */ void on_params_save(lv_event_t *e); /** * 设置页面-网络-重置网络 */ void on_reset_wifi(lv_event_t *e); /** * 主界面-温度设置值变化事件 * @param e */ void on_arc_temp_value_changed(lv_event_t *e); /** * 主界面-温度设置释放事件 * @param e */ void on_arc_temp_released(lv_event_t *e); #endif //WIRE_CONTROLLER_ACTIONS_H