|
|
@ -6960,8 +6960,8 @@ void setup_scr_screen(lv_ui *ui) |
|
|
#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 |
|
|
#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 |
|
|
lv_obj_add_event_cb(ui->screen_pname_set, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); |
|
|
lv_obj_add_event_cb(ui->screen_pname_set, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); |
|
|
#endif |
|
|
#endif |
|
|
lv_obj_set_pos(ui->screen_pname_set, 305, 0); |
|
|
lv_obj_set_pos(ui->screen_pname_set, 405, 0); |
|
|
lv_obj_set_size(ui->screen_pname_set, 714, 50); |
|
|
lv_obj_set_size(ui->screen_pname_set, 614, 50); |
|
|
|
|
|
|
|
|
//Write style for screen_pname_set, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
|
|
//Write style for screen_pname_set, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
|
|
lv_obj_set_style_text_color(ui->screen_pname_set, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_text_color(ui->screen_pname_set, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
@ -7102,7 +7102,7 @@ void setup_scr_screen(lv_ui *ui) |
|
|
|
|
|
|
|
|
//Write codes screen_step_set
|
|
|
//Write codes screen_step_set
|
|
|
ui->screen_step_set = lv_obj_create(ui->screen_tabview_tab_4); |
|
|
ui->screen_step_set = lv_obj_create(ui->screen_tabview_tab_4); |
|
|
lv_obj_set_pos(ui->screen_step_set, 305, 55); |
|
|
lv_obj_set_pos(ui->screen_step_set, 305, 53); |
|
|
lv_obj_set_size(ui->screen_step_set, 714, 370); |
|
|
lv_obj_set_size(ui->screen_step_set, 714, 370); |
|
|
lv_obj_set_scrollbar_mode(ui->screen_step_set, LV_SCROLLBAR_MODE_OFF); |
|
|
lv_obj_set_scrollbar_mode(ui->screen_step_set, LV_SCROLLBAR_MODE_OFF); |
|
|
|
|
|
|
|
|
@ -7136,6 +7136,29 @@ void setup_scr_screen(lv_ui *ui) |
|
|
lv_obj_set_style_pad_right(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_pad_right(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_shadow_width(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_shadow_width(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
|
|
|
|
|
|
//Write codes screen_label_55
|
|
|
|
|
|
ui->screen_label_55 = lv_label_create(ui->screen_tabview_tab_4); |
|
|
|
|
|
lv_label_set_text(ui->screen_label_55, "工艺:"); |
|
|
|
|
|
lv_label_set_long_mode(ui->screen_label_55, LV_LABEL_LONG_WRAP); |
|
|
|
|
|
lv_obj_set_pos(ui->screen_label_55, 305, 0); |
|
|
|
|
|
lv_obj_set_size(ui->screen_label_55, 100, 50); |
|
|
|
|
|
|
|
|
|
|
|
//Write style for screen_label_55, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
|
|
|
|
|
lv_obj_set_style_border_width(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_radius(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_color(ui->screen_label_55, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_font(ui->screen_label_55, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_opa(ui->screen_label_55, 255, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_letter_space(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_line_space(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_align(ui->screen_label_55, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_bg_opa(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_pad_top(ui->screen_label_55, 8, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_pad_right(ui->screen_label_55, 2, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_pad_bottom(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_pad_left(ui->screen_label_55, 2, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_shadow_width(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
|
|
|
//Write codes 系统
|
|
|
//Write codes 系统
|
|
|
ui->screen_tabview_tab_5 = lv_tabview_add_tab(ui->screen_tabview,"系统"); |
|
|
ui->screen_tabview_tab_5 = lv_tabview_add_tab(ui->screen_tabview,"系统"); |
|
|
lv_obj_t * screen_tabview_tab_5_label = lv_label_create(ui->screen_tabview_tab_5); |
|
|
lv_obj_t * screen_tabview_tab_5_label = lv_label_create(ui->screen_tabview_tab_5); |
|
|
@ -7319,6 +7342,7 @@ void setup_scr_screen(lv_ui *ui) |
|
|
lv_obj_set_size(ui->screen_stepinf, 700, 380); |
|
|
lv_obj_set_size(ui->screen_stepinf, 700, 380); |
|
|
lv_obj_set_scrollbar_mode(ui->screen_stepinf, LV_SCROLLBAR_MODE_OFF); |
|
|
lv_obj_set_scrollbar_mode(ui->screen_stepinf, LV_SCROLLBAR_MODE_OFF); |
|
|
lv_obj_add_flag(ui->screen_stepinf, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(ui->screen_stepinf, LV_OBJ_FLAG_HIDDEN); |
|
|
|
|
|
lv_obj_add_flag(ui->screen_stepinf, LV_OBJ_FLAG_HIDDEN); |
|
|
|
|
|
|
|
|
//Write style for screen_stepinf, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
|
|
//Write style for screen_stepinf, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
|
|
lv_obj_set_style_border_width(ui->screen_stepinf, 5, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_border_width(ui->screen_stepinf, 5, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
@ -7480,7 +7504,7 @@ void setup_scr_screen(lv_ui *ui) |
|
|
|
|
|
|
|
|
//Write codes screen_stepinf_s2
|
|
|
//Write codes screen_stepinf_s2
|
|
|
ui->screen_stepinf_s2 = lv_dropdown_create(ui->screen_stepinf); |
|
|
ui->screen_stepinf_s2 = lv_dropdown_create(ui->screen_stepinf); |
|
|
lv_dropdown_set_options(ui->screen_stepinf_s2, "降温水洗017降温水洗017\n加压050\n减压051\n备药064\n呼叫输送066\n快速加酸090\nph温度控制091\nph检测093\nph控制094\n"); |
|
|
lv_dropdown_set_options(ui->screen_stepinf_s2, "降温水洗017\n加压050\n减压051\n备药064\n呼叫输送066\n快速加酸090\nph温度控制091\nph检测093\nph控制094\n"); |
|
|
lv_obj_set_pos(ui->screen_stepinf_s2, 105, 111); |
|
|
lv_obj_set_pos(ui->screen_stepinf_s2, 105, 111); |
|
|
lv_obj_set_size(ui->screen_stepinf_s2, 180, 45); |
|
|
lv_obj_set_size(ui->screen_stepinf_s2, 180, 45); |
|
|
|
|
|
|
|
|
@ -8172,6 +8196,7 @@ void setup_scr_screen(lv_ui *ui) |
|
|
lv_obj_set_size(ui->screen_step_DELETE, 300, 380); |
|
|
lv_obj_set_size(ui->screen_step_DELETE, 300, 380); |
|
|
lv_obj_set_scrollbar_mode(ui->screen_step_DELETE, LV_SCROLLBAR_MODE_OFF); |
|
|
lv_obj_set_scrollbar_mode(ui->screen_step_DELETE, LV_SCROLLBAR_MODE_OFF); |
|
|
lv_obj_add_flag(ui->screen_step_DELETE, LV_OBJ_FLAG_HIDDEN); |
|
|
lv_obj_add_flag(ui->screen_step_DELETE, LV_OBJ_FLAG_HIDDEN); |
|
|
|
|
|
lv_obj_add_flag(ui->screen_step_DELETE, LV_OBJ_FLAG_HIDDEN); |
|
|
|
|
|
|
|
|
//Write style for screen_step_DELETE, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
|
|
//Write style for screen_step_DELETE, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
|
|
lv_obj_set_style_border_width(ui->screen_step_DELETE, 5, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_border_width(ui->screen_step_DELETE, 5, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
@ -8200,16 +8225,16 @@ void setup_scr_screen(lv_ui *ui) |
|
|
lv_obj_set_size(ui->screen_step_DELETE_no, 100, 50); |
|
|
lv_obj_set_size(ui->screen_step_DELETE_no, 100, 50); |
|
|
|
|
|
|
|
|
//Write style for screen_step_DELETE_no, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
|
|
//Write style for screen_step_DELETE_no, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
|
|
lv_obj_set_style_text_color(ui->screen_step_DELETE_no, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_font(ui->screen_step_DELETE_no, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_opa(ui->screen_step_DELETE_no, 255, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_align(ui->screen_step_DELETE_no, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_bg_opa(ui->screen_step_DELETE_no, 255, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_bg_opa(ui->screen_step_DELETE_no, 255, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_bg_color(ui->screen_step_DELETE_no, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_bg_color(ui->screen_step_DELETE_no, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_bg_grad_dir(ui->screen_step_DELETE_no, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_bg_grad_dir(ui->screen_step_DELETE_no, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_border_width(ui->screen_step_DELETE_no, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_border_width(ui->screen_step_DELETE_no, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_shadow_width(ui->screen_step_DELETE_no, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_radius(ui->screen_step_DELETE_no, 5, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
lv_obj_set_style_radius(ui->screen_step_DELETE_no, 5, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_shadow_width(ui->screen_step_DELETE_no, 0, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_color(ui->screen_step_DELETE_no, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_font(ui->screen_step_DELETE_no, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_opa(ui->screen_step_DELETE_no, 255, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
lv_obj_set_style_text_align(ui->screen_step_DELETE_no, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); |
|
|
|
|
|
|
|
|
//Write codes screen_step_DELETE_yes
|
|
|
//Write codes screen_step_DELETE_yes
|
|
|
ui->screen_step_DELETE_yes = lv_btn_create(ui->screen_step_DELETE); |
|
|
ui->screen_step_DELETE_yes = lv_btn_create(ui->screen_step_DELETE); |
|
|
|