From e8966f07643fbb628b9f924c9c727bd64e336a45 Mon Sep 17 00:00:00 2001 From: sc <2401809606@qq.com> Date: Sat, 14 Mar 2026 00:12:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A5=E9=AA=A4=E7=BC=96=E8=BE=91=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/data/SC828_DATA_table.h | 40 +- .../lvgl/guider/generated/events_init.c | 9 + .../lvgl/guider/generated/gui_guider.h | 41 +- .../lvgl/guider/generated/setup_scr_screen.c | 1259 +++++++++++++---- applications/lvgl/ui_data_csv.c | 30 +- applications/lvgl/ui_data_labels_step.c | 32 + 6 files changed, 1081 insertions(+), 330 deletions(-) diff --git a/applications/data/SC828_DATA_table.h b/applications/data/SC828_DATA_table.h index 879230d..4e61c77 100644 --- a/applications/data/SC828_DATA_table.h +++ b/applications/data/SC828_DATA_table.h @@ -35,11 +35,11 @@ typedef struct { char StepID[4]; char StepName[20]; char ParameterName[50]; - double Parameter1; - double Parameter2; - double Parameter3; - double Parameter4; - double Parameter5; + int Parameter1; + int Parameter2; + int Parameter3; + int Parameter4; + int Parameter5; int P6; int P7; int P8; @@ -48,21 +48,21 @@ typedef struct { char StepID_S1[3]; char StepID_S2[3]; char StepID_S3[3]; - double Parameter1_S1; - double Parameter2_S1; - double Parameter3_S1; - double Parameter4_S1; - double Parameter5_S1; - double Parameter1_S2; - double Parameter2_S2; - double Parameter3_S2; - double Parameter4_S2; - double Parameter5_S2; - double Parameter1_S3; - double Parameter2_S3; - double Parameter3_S3; - double Parameter4_S3; - double Parameter5_S3; + int Parameter1_S1; + int Parameter2_S1; + int Parameter3_S1; + int Parameter4_S1; + int Parameter5_S1; + int Parameter1_S2; + int Parameter2_S2; + int Parameter3_S2; + int Parameter4_S2; + int Parameter5_S2; + int Parameter1_S3; + int Parameter2_S3; + int Parameter3_S3; + int Parameter4_S3; + int Parameter5_S3; } IO_STEP_DATA; extern IO_State_DIO di_table[]; diff --git a/applications/lvgl/guider/generated/events_init.c b/applications/lvgl/guider/generated/events_init.c index 42283ff..1bd50b4 100644 --- a/applications/lvgl/guider/generated/events_init.c +++ b/applications/lvgl/guider/generated/events_init.c @@ -366,6 +366,9 @@ static void screen_stepinf_s1_event_handler (lv_event_t *e) lv_obj_clear_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); lv_obj_add_flag(guider_ui.screen_stepinf_s2b, LV_OBJ_FLAG_HIDDEN); lv_obj_add_flag(guider_ui.screen_stepinf_s3b, LV_OBJ_FLAG_HIDDEN); + lv_obj_clear_flag(guider_ui.screen_stepinf_steps1, LV_OBJ_FLAG_HIDDEN); + lv_obj_add_flag(guider_ui.screen_stepinf_steps2, LV_OBJ_FLAG_HIDDEN); + lv_obj_add_flag(guider_ui.screen_stepinf_steps3, LV_OBJ_FLAG_HIDDEN); break; } default: @@ -383,6 +386,9 @@ static void screen_stepinf_s2_event_handler (lv_event_t *e) lv_obj_add_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); lv_obj_clear_flag(guider_ui.screen_stepinf_s2b, LV_OBJ_FLAG_HIDDEN); lv_obj_add_flag(guider_ui.screen_stepinf_s3b, LV_OBJ_FLAG_HIDDEN); + lv_obj_add_flag(guider_ui.screen_stepinf_steps1, LV_OBJ_FLAG_HIDDEN); + lv_obj_clear_flag(guider_ui.screen_stepinf_steps2, LV_OBJ_FLAG_HIDDEN); + lv_obj_add_flag(guider_ui.screen_stepinf_steps3, LV_OBJ_FLAG_HIDDEN); break; } default: @@ -400,6 +406,9 @@ static void screen_stepinf_s3_event_handler (lv_event_t *e) lv_obj_add_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); lv_obj_add_flag(guider_ui.screen_stepinf_s2b, LV_OBJ_FLAG_HIDDEN); lv_obj_clear_flag(guider_ui.screen_stepinf_s3b, LV_OBJ_FLAG_HIDDEN); + lv_obj_add_flag(guider_ui.screen_stepinf_steps1, LV_OBJ_FLAG_HIDDEN); + lv_obj_add_flag(guider_ui.screen_stepinf_steps2, LV_OBJ_FLAG_HIDDEN); + lv_obj_clear_flag(guider_ui.screen_stepinf_steps3, LV_OBJ_FLAG_HIDDEN); break; } default: diff --git a/applications/lvgl/guider/generated/gui_guider.h b/applications/lvgl/guider/generated/gui_guider.h index df8adba..90baae5 100644 --- a/applications/lvgl/guider/generated/gui_guider.h +++ b/applications/lvgl/guider/generated/gui_guider.h @@ -456,21 +456,44 @@ typedef struct lv_obj_t *screen_stepinf_s1; lv_obj_t *screen_stepinf_s2; lv_obj_t *screen_stepinf_s3; - lv_obj_t *screen_stepinf_p1; - lv_obj_t *screen_stepinf_p2; - lv_obj_t *screen_stepinf_p3; - lv_obj_t *screen_stepinf_p4; - lv_obj_t *screen_stepinf_p5; lv_obj_t *screen_btn_1; lv_obj_t *screen_btn_1_label; lv_obj_t *screen_btn_2; lv_obj_t *screen_btn_2_label; lv_obj_t *screen_label_42; - lv_obj_t *screen_stepinf_p1n; - lv_obj_t *screen_stepinf_p2n; - lv_obj_t *screen_stepinf_p3n; - lv_obj_t *screen_stepinf_p4n; + lv_obj_t *screen_stepinf_steps1; + lv_obj_t *screen_stepinf_p5; + lv_obj_t *screen_stepinf_p4; + lv_obj_t *screen_stepinf_p3; + lv_obj_t *screen_stepinf_p2; + lv_obj_t *screen_stepinf_p1; lv_obj_t *screen_stepinf_p5n; + lv_obj_t *screen_stepinf_p4n; + lv_obj_t *screen_stepinf_p3n; + lv_obj_t *screen_stepinf_p2n; + lv_obj_t *screen_stepinf_p1n; + lv_obj_t *screen_stepinf_steps2; + lv_obj_t *screen_stepinf_p5b1; + lv_obj_t *screen_stepinf_p4b1; + lv_obj_t *screen_stepinf_p3b1; + lv_obj_t *screen_stepinf_p2b1; + lv_obj_t *screen_stepinf_p1b1; + lv_obj_t *screen_stepinf_p5n1; + lv_obj_t *screen_stepinf_p4n1; + lv_obj_t *screen_stepinf_p3n1; + lv_obj_t *screen_stepinf_p2n1; + lv_obj_t *screen_stepinf_p1n1; + lv_obj_t *screen_stepinf_steps3; + lv_obj_t *screen_stepinf_p5b2; + lv_obj_t *screen_stepinf_p4b2; + lv_obj_t *screen_stepinf_p3b2; + lv_obj_t *screen_stepinf_p2b2; + lv_obj_t *screen_stepinf_p1b2; + lv_obj_t *screen_stepinf_p5n2; + lv_obj_t *screen_stepinf_p4n2; + lv_obj_t *screen_stepinf_p3n2; + lv_obj_t *screen_stepinf_p2n2; + lv_obj_t *screen_stepinf_p1n2; lv_obj_t *screen_line_1; lv_obj_t *screen_label_48; lv_obj_t *screen_label_49; diff --git a/applications/lvgl/guider/generated/setup_scr_screen.c b/applications/lvgl/guider/generated/setup_scr_screen.c index f12b51c..fd2c4fc 100644 --- a/applications/lvgl/guider/generated/setup_scr_screen.c +++ b/applications/lvgl/guider/generated/setup_scr_screen.c @@ -7365,6 +7365,7 @@ void setup_scr_screen(lv_ui *ui) lv_obj_set_size(ui->screen_stepinf, 700, 380); 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); //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); @@ -7653,206 +7654,6 @@ void setup_scr_screen(lv_ui *ui) lv_style_set_bg_grad_dir(&style_screen_stepinf_s3_extra_list_scrollbar_default, LV_GRAD_DIR_NONE); lv_obj_add_style(lv_dropdown_get_list(ui->screen_stepinf_s3), &style_screen_stepinf_s3_extra_list_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - //Write codes screen_stepinf_p1 - ui->screen_stepinf_p1 = lv_textarea_create(ui->screen_stepinf); - lv_textarea_set_text(ui->screen_stepinf_p1, "0"); - lv_textarea_set_placeholder_text(ui->screen_stepinf_p1, ""); - lv_textarea_set_password_bullet(ui->screen_stepinf_p1, "*"); - lv_textarea_set_password_mode(ui->screen_stepinf_p1, false); - lv_textarea_set_one_line(ui->screen_stepinf_p1, true); - lv_textarea_set_accepted_chars(ui->screen_stepinf_p1, "0123456789."); - lv_textarea_set_max_length(ui->screen_stepinf_p1, 32); -#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 - lv_obj_add_event_cb(ui->screen_stepinf_p1, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); -#endif - lv_obj_set_pos(ui->screen_stepinf_p1, 450, 10); - lv_obj_set_size(ui->screen_stepinf_p1, 200, 50); - - //Write style for screen_stepinf_p1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. - lv_obj_set_style_text_color(ui->screen_stepinf_p1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_font(ui->screen_stepinf_p1, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_opa(ui->screen_stepinf_p1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_letter_space(ui->screen_stepinf_p1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_align(ui->screen_stepinf_p1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_opa(ui->screen_stepinf_p1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_color(ui->screen_stepinf_p1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_width(ui->screen_stepinf_p1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_opa(ui->screen_stepinf_p1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_color(ui->screen_stepinf_p1, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_side(ui->screen_stepinf_p1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_shadow_width(ui->screen_stepinf_p1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_top(ui->screen_stepinf_p1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_right(ui->screen_stepinf_p1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_left(ui->screen_stepinf_p1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - - //Write style for screen_stepinf_p1, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. - lv_obj_set_style_bg_opa(ui->screen_stepinf_p1, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_bg_color(ui->screen_stepinf_p1, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p1, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p1, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - - //Write codes screen_stepinf_p2 - ui->screen_stepinf_p2 = lv_textarea_create(ui->screen_stepinf); - lv_textarea_set_text(ui->screen_stepinf_p2, "0"); - lv_textarea_set_placeholder_text(ui->screen_stepinf_p2, ""); - lv_textarea_set_password_bullet(ui->screen_stepinf_p2, "*"); - lv_textarea_set_password_mode(ui->screen_stepinf_p2, false); - lv_textarea_set_one_line(ui->screen_stepinf_p2, true); - lv_textarea_set_accepted_chars(ui->screen_stepinf_p2, "0123456789."); - lv_textarea_set_max_length(ui->screen_stepinf_p2, 32); -#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 - lv_obj_add_event_cb(ui->screen_stepinf_p2, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); -#endif - lv_obj_set_pos(ui->screen_stepinf_p2, 450, 85); - lv_obj_set_size(ui->screen_stepinf_p2, 200, 50); - - //Write style for screen_stepinf_p2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. - lv_obj_set_style_text_color(ui->screen_stepinf_p2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_font(ui->screen_stepinf_p2, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_opa(ui->screen_stepinf_p2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_letter_space(ui->screen_stepinf_p2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_align(ui->screen_stepinf_p2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_opa(ui->screen_stepinf_p2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_color(ui->screen_stepinf_p2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_width(ui->screen_stepinf_p2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_opa(ui->screen_stepinf_p2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_color(ui->screen_stepinf_p2, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_side(ui->screen_stepinf_p2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_shadow_width(ui->screen_stepinf_p2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_top(ui->screen_stepinf_p2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_right(ui->screen_stepinf_p2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_left(ui->screen_stepinf_p2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - - //Write style for screen_stepinf_p2, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. - lv_obj_set_style_bg_opa(ui->screen_stepinf_p2, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_bg_color(ui->screen_stepinf_p2, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p2, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p2, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - - //Write codes screen_stepinf_p3 - ui->screen_stepinf_p3 = lv_textarea_create(ui->screen_stepinf); - lv_textarea_set_text(ui->screen_stepinf_p3, "0"); - lv_textarea_set_placeholder_text(ui->screen_stepinf_p3, ""); - lv_textarea_set_password_bullet(ui->screen_stepinf_p3, "*"); - lv_textarea_set_password_mode(ui->screen_stepinf_p3, false); - lv_textarea_set_one_line(ui->screen_stepinf_p3, true); - lv_textarea_set_accepted_chars(ui->screen_stepinf_p3, "0123456789."); - lv_textarea_set_max_length(ui->screen_stepinf_p3, 32); -#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 - lv_obj_add_event_cb(ui->screen_stepinf_p3, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); -#endif - lv_obj_set_pos(ui->screen_stepinf_p3, 450, 160); - lv_obj_set_size(ui->screen_stepinf_p3, 200, 50); - - //Write style for screen_stepinf_p3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. - lv_obj_set_style_text_color(ui->screen_stepinf_p3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_font(ui->screen_stepinf_p3, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_opa(ui->screen_stepinf_p3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_letter_space(ui->screen_stepinf_p3, 2, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_align(ui->screen_stepinf_p3, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_opa(ui->screen_stepinf_p3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_color(ui->screen_stepinf_p3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_width(ui->screen_stepinf_p3, 2, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_opa(ui->screen_stepinf_p3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_color(ui->screen_stepinf_p3, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_side(ui->screen_stepinf_p3, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_shadow_width(ui->screen_stepinf_p3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_top(ui->screen_stepinf_p3, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_right(ui->screen_stepinf_p3, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_left(ui->screen_stepinf_p3, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p3, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - - //Write style for screen_stepinf_p3, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. - lv_obj_set_style_bg_opa(ui->screen_stepinf_p3, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_bg_color(ui->screen_stepinf_p3, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p3, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p3, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - - //Write codes screen_stepinf_p4 - ui->screen_stepinf_p4 = lv_textarea_create(ui->screen_stepinf); - lv_textarea_set_text(ui->screen_stepinf_p4, "0"); - lv_textarea_set_placeholder_text(ui->screen_stepinf_p4, ""); - lv_textarea_set_password_bullet(ui->screen_stepinf_p4, "*"); - lv_textarea_set_password_mode(ui->screen_stepinf_p4, false); - lv_textarea_set_one_line(ui->screen_stepinf_p4, true); - lv_textarea_set_accepted_chars(ui->screen_stepinf_p4, "0123456789."); - lv_textarea_set_max_length(ui->screen_stepinf_p4, 32); -#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 - lv_obj_add_event_cb(ui->screen_stepinf_p4, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); -#endif - lv_obj_set_pos(ui->screen_stepinf_p4, 450, 235); - lv_obj_set_size(ui->screen_stepinf_p4, 200, 50); - - //Write style for screen_stepinf_p4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. - lv_obj_set_style_text_color(ui->screen_stepinf_p4, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_font(ui->screen_stepinf_p4, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_opa(ui->screen_stepinf_p4, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_letter_space(ui->screen_stepinf_p4, 2, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_align(ui->screen_stepinf_p4, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_opa(ui->screen_stepinf_p4, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_color(ui->screen_stepinf_p4, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p4, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_width(ui->screen_stepinf_p4, 2, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_opa(ui->screen_stepinf_p4, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_color(ui->screen_stepinf_p4, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_side(ui->screen_stepinf_p4, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_shadow_width(ui->screen_stepinf_p4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_top(ui->screen_stepinf_p4, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_right(ui->screen_stepinf_p4, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_left(ui->screen_stepinf_p4, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p4, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - - //Write style for screen_stepinf_p4, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. - lv_obj_set_style_bg_opa(ui->screen_stepinf_p4, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_bg_color(ui->screen_stepinf_p4, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p4, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p4, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - - //Write codes screen_stepinf_p5 - ui->screen_stepinf_p5 = lv_textarea_create(ui->screen_stepinf); - lv_textarea_set_text(ui->screen_stepinf_p5, "0"); - lv_textarea_set_placeholder_text(ui->screen_stepinf_p5, ""); - lv_textarea_set_password_bullet(ui->screen_stepinf_p5, "*"); - lv_textarea_set_password_mode(ui->screen_stepinf_p5, false); - lv_textarea_set_one_line(ui->screen_stepinf_p5, true); - lv_textarea_set_accepted_chars(ui->screen_stepinf_p5, "0123456789."); - lv_textarea_set_max_length(ui->screen_stepinf_p5, 32); -#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 - lv_obj_add_event_cb(ui->screen_stepinf_p5, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); -#endif - lv_obj_set_pos(ui->screen_stepinf_p5, 450, 310); - lv_obj_set_size(ui->screen_stepinf_p5, 200, 50); - - //Write style for screen_stepinf_p5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. - lv_obj_set_style_text_color(ui->screen_stepinf_p5, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_font(ui->screen_stepinf_p5, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_opa(ui->screen_stepinf_p5, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_letter_space(ui->screen_stepinf_p5, 2, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_align(ui->screen_stepinf_p5, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_opa(ui->screen_stepinf_p5, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_color(ui->screen_stepinf_p5, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p5, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_width(ui->screen_stepinf_p5, 2, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_opa(ui->screen_stepinf_p5, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_color(ui->screen_stepinf_p5, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_border_side(ui->screen_stepinf_p5, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_shadow_width(ui->screen_stepinf_p5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_top(ui->screen_stepinf_p5, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_right(ui->screen_stepinf_p5, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_left(ui->screen_stepinf_p5, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p5, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - - //Write style for screen_stepinf_p5, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. - lv_obj_set_style_bg_opa(ui->screen_stepinf_p5, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_bg_color(ui->screen_stepinf_p5, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p5, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p5, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - //Write codes screen_btn_1 ui->screen_btn_1 = lv_btn_create(ui->screen_stepinf); ui->screen_btn_1_label = lv_label_create(ui->screen_btn_1); @@ -7922,103 +7723,229 @@ void setup_scr_screen(lv_ui *ui) lv_obj_set_style_pad_left(ui->screen_label_42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - //Write codes screen_stepinf_p1n - ui->screen_stepinf_p1n = lv_label_create(ui->screen_stepinf); - lv_label_set_text(ui->screen_stepinf_p1n, "参数1"); - lv_label_set_long_mode(ui->screen_stepinf_p1n, LV_LABEL_LONG_WRAP); - lv_obj_set_pos(ui->screen_stepinf_p1n, 310, 23); - lv_obj_set_size(ui->screen_stepinf_p1n, 120, 25); + //Write codes screen_stepinf_steps1 + ui->screen_stepinf_steps1 = lv_obj_create(ui->screen_stepinf); + lv_obj_set_pos(ui->screen_stepinf_steps1, 305, 0); + lv_obj_set_size(ui->screen_stepinf_steps1, 385, 370); + lv_obj_set_scrollbar_mode(ui->screen_stepinf_steps1, LV_SCROLLBAR_MODE_OFF); + + //Write style for screen_stepinf_steps1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_steps1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_steps1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_steps1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_steps1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_steps1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_steps1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_steps1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_steps1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_steps1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_steps1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - //Write style for screen_stepinf_p1n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. - lv_obj_set_style_border_width(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_color(ui->screen_stepinf_p1n, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_font(ui->screen_stepinf_p1n, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_opa(ui->screen_stepinf_p1n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_letter_space(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_line_space(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_align(ui->screen_stepinf_p1n, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_opa(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_top(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_right(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_bottom(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_left(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_shadow_width(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + //Write codes screen_stepinf_p5 + ui->screen_stepinf_p5 = lv_textarea_create(ui->screen_stepinf_steps1); + lv_textarea_set_text(ui->screen_stepinf_p5, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p5, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p5, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p5, false); + lv_textarea_set_one_line(ui->screen_stepinf_p5, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p5, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p5, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p5, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p5, 150, 310); + lv_obj_set_size(ui->screen_stepinf_p5, 200, 50); - //Write codes screen_stepinf_p2n - ui->screen_stepinf_p2n = lv_label_create(ui->screen_stepinf); - lv_label_set_text(ui->screen_stepinf_p2n, "参数2"); - lv_label_set_long_mode(ui->screen_stepinf_p2n, LV_LABEL_LONG_WRAP); - lv_obj_set_pos(ui->screen_stepinf_p2n, 310, 98); - lv_obj_set_size(ui->screen_stepinf_p2n, 120, 25); + //Write style for screen_stepinf_p5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p5, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p5, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p5, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p5, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p5, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p5, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p5, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p5, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p5, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p5, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p5, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p5, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p5, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p5, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p5, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p5, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - //Write style for screen_stepinf_p2n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. - lv_obj_set_style_border_width(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_color(ui->screen_stepinf_p2n, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_font(ui->screen_stepinf_p2n, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_opa(ui->screen_stepinf_p2n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_letter_space(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_line_space(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_align(ui->screen_stepinf_p2n, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_opa(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_top(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_right(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_bottom(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_left(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_shadow_width(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + //Write style for screen_stepinf_p5, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p5, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p5, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p5, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p5, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - //Write codes screen_stepinf_p3n - ui->screen_stepinf_p3n = lv_label_create(ui->screen_stepinf); - lv_label_set_text(ui->screen_stepinf_p3n, "参数3"); - lv_label_set_long_mode(ui->screen_stepinf_p3n, LV_LABEL_LONG_WRAP); - lv_obj_set_pos(ui->screen_stepinf_p3n, 310, 173); - lv_obj_set_size(ui->screen_stepinf_p3n, 120, 25); + //Write codes screen_stepinf_p4 + ui->screen_stepinf_p4 = lv_textarea_create(ui->screen_stepinf_steps1); + lv_textarea_set_text(ui->screen_stepinf_p4, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p4, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p4, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p4, false); + lv_textarea_set_one_line(ui->screen_stepinf_p4, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p4, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p4, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p4, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p4, 150, 235); + lv_obj_set_size(ui->screen_stepinf_p4, 200, 50); - //Write style for screen_stepinf_p3n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. - lv_obj_set_style_border_width(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_color(ui->screen_stepinf_p3n, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_font(ui->screen_stepinf_p3n, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_opa(ui->screen_stepinf_p3n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_letter_space(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_line_space(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_align(ui->screen_stepinf_p3n, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_opa(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_top(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_right(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_bottom(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_left(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_shadow_width(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + //Write style for screen_stepinf_p4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p4, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p4, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p4, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p4, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p4, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p4, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p4, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p4, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p4, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p4, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p4, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p4, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p4, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p4, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p4, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p4, 4, LV_PART_MAIN|LV_STATE_DEFAULT); - //Write codes screen_stepinf_p4n - ui->screen_stepinf_p4n = lv_label_create(ui->screen_stepinf); - lv_label_set_text(ui->screen_stepinf_p4n, "参数4"); - lv_label_set_long_mode(ui->screen_stepinf_p4n, LV_LABEL_LONG_WRAP); - lv_obj_set_pos(ui->screen_stepinf_p4n, 310, 248); - lv_obj_set_size(ui->screen_stepinf_p4n, 120, 25); + //Write style for screen_stepinf_p4, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p4, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p4, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p4, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p4, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); - //Write style for screen_stepinf_p4n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. - lv_obj_set_style_border_width(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_radius(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_color(ui->screen_stepinf_p4n, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_font(ui->screen_stepinf_p4n, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_opa(ui->screen_stepinf_p4n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_letter_space(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_line_space(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_text_align(ui->screen_stepinf_p4n, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_bg_opa(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_top(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_right(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_bottom(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_pad_left(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); - lv_obj_set_style_shadow_width(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + //Write codes screen_stepinf_p3 + ui->screen_stepinf_p3 = lv_textarea_create(ui->screen_stepinf_steps1); + lv_textarea_set_text(ui->screen_stepinf_p3, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p3, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p3, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p3, false); + lv_textarea_set_one_line(ui->screen_stepinf_p3, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p3, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p3, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p3, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p3, 150, 160); + lv_obj_set_size(ui->screen_stepinf_p3, 200, 50); + + //Write style for screen_stepinf_p3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p3, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p3, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p3, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p3, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p3, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p3, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p3, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p3, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p3, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p3, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p3, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p3, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p3, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p3, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p3, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p2 + ui->screen_stepinf_p2 = lv_textarea_create(ui->screen_stepinf_steps1); + lv_textarea_set_text(ui->screen_stepinf_p2, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p2, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p2, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p2, false); + lv_textarea_set_one_line(ui->screen_stepinf_p2, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p2, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p2, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p2, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p2, 150, 85); + lv_obj_set_size(ui->screen_stepinf_p2, 200, 50); + + //Write style for screen_stepinf_p2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p2, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p2, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p2, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p2, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p2, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p2, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p2, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p1 + ui->screen_stepinf_p1 = lv_textarea_create(ui->screen_stepinf_steps1); + lv_textarea_set_text(ui->screen_stepinf_p1, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p1, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p1, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p1, false); + lv_textarea_set_one_line(ui->screen_stepinf_p1, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p1, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p1, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p1, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p1, 150, 10); + lv_obj_set_size(ui->screen_stepinf_p1, 200, 50); + + //Write style for screen_stepinf_p1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p1, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p1, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p1, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p1, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p1, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p1, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p1, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); //Write codes screen_stepinf_p5n - ui->screen_stepinf_p5n = lv_label_create(ui->screen_stepinf); + ui->screen_stepinf_p5n = lv_label_create(ui->screen_stepinf_steps1); lv_label_set_text(ui->screen_stepinf_p5n, "参数5"); lv_label_set_long_mode(ui->screen_stepinf_p5n, LV_LABEL_LONG_WRAP); - lv_obj_set_pos(ui->screen_stepinf_p5n, 310, 323); + lv_obj_set_pos(ui->screen_stepinf_p5n, 5, 323); lv_obj_set_size(ui->screen_stepinf_p5n, 120, 25); //Write style for screen_stepinf_p5n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. @@ -8037,6 +7964,766 @@ void setup_scr_screen(lv_ui *ui) lv_obj_set_style_pad_left(ui->screen_stepinf_p5n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_stepinf_p5n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + //Write codes screen_stepinf_p4n + ui->screen_stepinf_p4n = lv_label_create(ui->screen_stepinf_steps1); + lv_label_set_text(ui->screen_stepinf_p4n, "参数4"); + lv_label_set_long_mode(ui->screen_stepinf_p4n, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p4n, 5, 248); + lv_obj_set_size(ui->screen_stepinf_p4n, 120, 25); + + //Write style for screen_stepinf_p4n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p4n, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p4n, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p4n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p4n, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p4n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p3n + ui->screen_stepinf_p3n = lv_label_create(ui->screen_stepinf_steps1); + lv_label_set_text(ui->screen_stepinf_p3n, "参数3"); + lv_label_set_long_mode(ui->screen_stepinf_p3n, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p3n, 5, 173); + lv_obj_set_size(ui->screen_stepinf_p3n, 120, 25); + + //Write style for screen_stepinf_p3n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p3n, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p3n, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p3n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p3n, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p3n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p2n + ui->screen_stepinf_p2n = lv_label_create(ui->screen_stepinf_steps1); + lv_label_set_text(ui->screen_stepinf_p2n, "参数2"); + lv_label_set_long_mode(ui->screen_stepinf_p2n, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p2n, 5, 98); + lv_obj_set_size(ui->screen_stepinf_p2n, 120, 25); + + //Write style for screen_stepinf_p2n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p2n, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p2n, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p2n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p2n, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p2n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p1n + ui->screen_stepinf_p1n = lv_label_create(ui->screen_stepinf_steps1); + lv_label_set_text(ui->screen_stepinf_p1n, "参数1"); + lv_label_set_long_mode(ui->screen_stepinf_p1n, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p1n, 5, 23); + lv_obj_set_size(ui->screen_stepinf_p1n, 120, 25); + + //Write style for screen_stepinf_p1n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p1n, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p1n, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p1n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p1n, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p1n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_steps2 + ui->screen_stepinf_steps2 = lv_obj_create(ui->screen_stepinf); + lv_obj_set_pos(ui->screen_stepinf_steps2, 305, 0); + lv_obj_set_size(ui->screen_stepinf_steps2, 385, 370); + lv_obj_set_scrollbar_mode(ui->screen_stepinf_steps2, LV_SCROLLBAR_MODE_OFF); + lv_obj_add_flag(ui->screen_stepinf_steps2, LV_OBJ_FLAG_HIDDEN); + + //Write style for screen_stepinf_steps2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_steps2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_steps2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_steps2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_steps2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_steps2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_steps2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_steps2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_steps2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_steps2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_steps2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p5b1 + ui->screen_stepinf_p5b1 = lv_textarea_create(ui->screen_stepinf_steps2); + lv_textarea_set_text(ui->screen_stepinf_p5b1, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p5b1, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p5b1, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p5b1, false); + lv_textarea_set_one_line(ui->screen_stepinf_p5b1, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p5b1, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p5b1, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p5b1, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p5b1, 150, 310); + lv_obj_set_size(ui->screen_stepinf_p5b1, 200, 50); + + //Write style for screen_stepinf_p5b1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p5b1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p5b1, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p5b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p5b1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p5b1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p5b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p5b1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p5b1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p5b1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p5b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p5b1, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p5b1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p5b1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p5b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p5b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p5b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p5b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p5b1, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p5b1, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p5b1, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p5b1, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p5b1, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p4b1 + ui->screen_stepinf_p4b1 = lv_textarea_create(ui->screen_stepinf_steps2); + lv_textarea_set_text(ui->screen_stepinf_p4b1, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p4b1, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p4b1, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p4b1, false); + lv_textarea_set_one_line(ui->screen_stepinf_p4b1, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p4b1, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p4b1, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p4b1, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p4b1, 150, 235); + lv_obj_set_size(ui->screen_stepinf_p4b1, 200, 50); + + //Write style for screen_stepinf_p4b1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p4b1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p4b1, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p4b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p4b1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p4b1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p4b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p4b1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p4b1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p4b1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p4b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p4b1, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p4b1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p4b1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p4b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p4b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p4b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p4b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p4b1, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p4b1, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p4b1, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p4b1, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p4b1, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p3b1 + ui->screen_stepinf_p3b1 = lv_textarea_create(ui->screen_stepinf_steps2); + lv_textarea_set_text(ui->screen_stepinf_p3b1, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p3b1, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p3b1, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p3b1, false); + lv_textarea_set_one_line(ui->screen_stepinf_p3b1, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p3b1, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p3b1, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p3b1, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p3b1, 150, 160); + lv_obj_set_size(ui->screen_stepinf_p3b1, 200, 50); + + //Write style for screen_stepinf_p3b1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p3b1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p3b1, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p3b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p3b1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p3b1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p3b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p3b1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p3b1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p3b1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p3b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p3b1, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p3b1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p3b1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p3b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p3b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p3b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p3b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p3b1, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p3b1, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p3b1, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p3b1, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p3b1, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p2b1 + ui->screen_stepinf_p2b1 = lv_textarea_create(ui->screen_stepinf_steps2); + lv_textarea_set_text(ui->screen_stepinf_p2b1, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p2b1, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p2b1, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p2b1, false); + lv_textarea_set_one_line(ui->screen_stepinf_p2b1, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p2b1, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p2b1, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p2b1, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p2b1, 150, 85); + lv_obj_set_size(ui->screen_stepinf_p2b1, 200, 50); + + //Write style for screen_stepinf_p2b1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p2b1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p2b1, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p2b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p2b1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p2b1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p2b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p2b1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p2b1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p2b1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p2b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p2b1, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p2b1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p2b1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p2b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p2b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p2b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p2b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p2b1, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p2b1, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p2b1, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p2b1, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p2b1, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p1b1 + ui->screen_stepinf_p1b1 = lv_textarea_create(ui->screen_stepinf_steps2); + lv_textarea_set_text(ui->screen_stepinf_p1b1, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p1b1, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p1b1, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p1b1, false); + lv_textarea_set_one_line(ui->screen_stepinf_p1b1, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p1b1, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p1b1, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p1b1, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p1b1, 150, 10); + lv_obj_set_size(ui->screen_stepinf_p1b1, 200, 50); + + //Write style for screen_stepinf_p1b1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p1b1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p1b1, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p1b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p1b1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p1b1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p1b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p1b1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p1b1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p1b1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p1b1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p1b1, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p1b1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p1b1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p1b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p1b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p1b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p1b1, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p1b1, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p1b1, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p1b1, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p1b1, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p1b1, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p5n1 + ui->screen_stepinf_p5n1 = lv_label_create(ui->screen_stepinf_steps2); + lv_label_set_text(ui->screen_stepinf_p5n1, "参数5.1"); + lv_label_set_long_mode(ui->screen_stepinf_p5n1, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p5n1, 5, 323); + lv_obj_set_size(ui->screen_stepinf_p5n1, 120, 25); + + //Write style for screen_stepinf_p5n1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p5n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p5n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p5n1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p5n1, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p5n1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p5n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p5n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p5n1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p5n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p5n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p5n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p5n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p5n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p5n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p4n1 + ui->screen_stepinf_p4n1 = lv_label_create(ui->screen_stepinf_steps2); + lv_label_set_text(ui->screen_stepinf_p4n1, "参数4.1"); + lv_label_set_long_mode(ui->screen_stepinf_p4n1, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p4n1, 5, 248); + lv_obj_set_size(ui->screen_stepinf_p4n1, 120, 25); + + //Write style for screen_stepinf_p4n1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p4n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p4n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p4n1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p4n1, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p4n1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p4n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p4n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p4n1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p4n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p4n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p4n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p4n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p4n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p4n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p3n1 + ui->screen_stepinf_p3n1 = lv_label_create(ui->screen_stepinf_steps2); + lv_label_set_text(ui->screen_stepinf_p3n1, "参数3.1"); + lv_label_set_long_mode(ui->screen_stepinf_p3n1, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p3n1, 5, 173); + lv_obj_set_size(ui->screen_stepinf_p3n1, 120, 25); + + //Write style for screen_stepinf_p3n1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p3n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p3n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p3n1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p3n1, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p3n1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p3n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p3n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p3n1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p3n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p3n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p3n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p3n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p3n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p3n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p2n1 + ui->screen_stepinf_p2n1 = lv_label_create(ui->screen_stepinf_steps2); + lv_label_set_text(ui->screen_stepinf_p2n1, "参数2.1"); + lv_label_set_long_mode(ui->screen_stepinf_p2n1, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p2n1, 5, 98); + lv_obj_set_size(ui->screen_stepinf_p2n1, 120, 25); + + //Write style for screen_stepinf_p2n1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p2n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p2n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p2n1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p2n1, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p2n1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p2n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p2n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p2n1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p2n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p2n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p2n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p2n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p2n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p2n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p1n1 + ui->screen_stepinf_p1n1 = lv_label_create(ui->screen_stepinf_steps2); + lv_label_set_text(ui->screen_stepinf_p1n1, "参数1.1"); + lv_label_set_long_mode(ui->screen_stepinf_p1n1, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p1n1, 5, 23); + lv_obj_set_size(ui->screen_stepinf_p1n1, 120, 25); + + //Write style for screen_stepinf_p1n1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p1n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p1n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p1n1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p1n1, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p1n1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p1n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p1n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p1n1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p1n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p1n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p1n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p1n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p1n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p1n1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_steps3 + ui->screen_stepinf_steps3 = lv_obj_create(ui->screen_stepinf); + lv_obj_set_pos(ui->screen_stepinf_steps3, 305, 0); + lv_obj_set_size(ui->screen_stepinf_steps3, 385, 370); + lv_obj_set_scrollbar_mode(ui->screen_stepinf_steps3, LV_SCROLLBAR_MODE_OFF); + lv_obj_add_flag(ui->screen_stepinf_steps3, LV_OBJ_FLAG_HIDDEN); + + //Write style for screen_stepinf_steps3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_steps3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_steps3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_steps3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_steps3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_steps3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_steps3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_steps3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_steps3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_steps3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_steps3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p5b2 + ui->screen_stepinf_p5b2 = lv_textarea_create(ui->screen_stepinf_steps3); + lv_textarea_set_text(ui->screen_stepinf_p5b2, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p5b2, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p5b2, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p5b2, false); + lv_textarea_set_one_line(ui->screen_stepinf_p5b2, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p5b2, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p5b2, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p5b2, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p5b2, 150, 310); + lv_obj_set_size(ui->screen_stepinf_p5b2, 200, 50); + + //Write style for screen_stepinf_p5b2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p5b2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p5b2, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p5b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p5b2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p5b2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p5b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p5b2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p5b2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p5b2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p5b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p5b2, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p5b2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p5b2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p5b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p5b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p5b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p5b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p5b2, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p5b2, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p5b2, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p5b2, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p5b2, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p4b2 + ui->screen_stepinf_p4b2 = lv_textarea_create(ui->screen_stepinf_steps3); + lv_textarea_set_text(ui->screen_stepinf_p4b2, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p4b2, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p4b2, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p4b2, false); + lv_textarea_set_one_line(ui->screen_stepinf_p4b2, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p4b2, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p4b2, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p4b2, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p4b2, 150, 235); + lv_obj_set_size(ui->screen_stepinf_p4b2, 200, 50); + + //Write style for screen_stepinf_p4b2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p4b2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p4b2, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p4b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p4b2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p4b2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p4b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p4b2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p4b2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p4b2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p4b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p4b2, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p4b2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p4b2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p4b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p4b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p4b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p4b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p4b2, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p4b2, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p4b2, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p4b2, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p4b2, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p3b2 + ui->screen_stepinf_p3b2 = lv_textarea_create(ui->screen_stepinf_steps3); + lv_textarea_set_text(ui->screen_stepinf_p3b2, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p3b2, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p3b2, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p3b2, false); + lv_textarea_set_one_line(ui->screen_stepinf_p3b2, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p3b2, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p3b2, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p3b2, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p3b2, 150, 160); + lv_obj_set_size(ui->screen_stepinf_p3b2, 200, 50); + + //Write style for screen_stepinf_p3b2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p3b2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p3b2, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p3b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p3b2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p3b2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p3b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p3b2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p3b2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p3b2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p3b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p3b2, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p3b2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p3b2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p3b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p3b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p3b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p3b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p3b2, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p3b2, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p3b2, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p3b2, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p3b2, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p2b2 + ui->screen_stepinf_p2b2 = lv_textarea_create(ui->screen_stepinf_steps3); + lv_textarea_set_text(ui->screen_stepinf_p2b2, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p2b2, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p2b2, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p2b2, false); + lv_textarea_set_one_line(ui->screen_stepinf_p2b2, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p2b2, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p2b2, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p2b2, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p2b2, 150, 85); + lv_obj_set_size(ui->screen_stepinf_p2b2, 200, 50); + + //Write style for screen_stepinf_p2b2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p2b2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p2b2, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p2b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p2b2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p2b2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p2b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p2b2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p2b2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p2b2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p2b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p2b2, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p2b2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p2b2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p2b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p2b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p2b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p2b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p2b2, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p2b2, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p2b2, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p2b2, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p2b2, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p1b2 + ui->screen_stepinf_p1b2 = lv_textarea_create(ui->screen_stepinf_steps3); + lv_textarea_set_text(ui->screen_stepinf_p1b2, "0"); + lv_textarea_set_placeholder_text(ui->screen_stepinf_p1b2, ""); + lv_textarea_set_password_bullet(ui->screen_stepinf_p1b2, "*"); + lv_textarea_set_password_mode(ui->screen_stepinf_p1b2, false); + lv_textarea_set_one_line(ui->screen_stepinf_p1b2, true); + lv_textarea_set_accepted_chars(ui->screen_stepinf_p1b2, "0123456789."); + lv_textarea_set_max_length(ui->screen_stepinf_p1b2, 32); +#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 + lv_obj_add_event_cb(ui->screen_stepinf_p1b2, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); +#endif + lv_obj_set_pos(ui->screen_stepinf_p1b2, 150, 10); + lv_obj_set_size(ui->screen_stepinf_p1b2, 200, 50); + + //Write style for screen_stepinf_p1b2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_text_color(ui->screen_stepinf_p1b2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p1b2, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p1b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p1b2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p1b2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p1b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p1b2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p1b2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_width(ui->screen_stepinf_p1b2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_opa(ui->screen_stepinf_p1b2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_color(ui->screen_stepinf_p1b2, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_border_side(ui->screen_stepinf_p1b2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p1b2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p1b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p1b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p1b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p1b2, 4, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write style for screen_stepinf_p1b2, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. + lv_obj_set_style_bg_opa(ui->screen_stepinf_p1b2, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_color(ui->screen_stepinf_p1b2, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_p1b2, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p1b2, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p5n2 + ui->screen_stepinf_p5n2 = lv_label_create(ui->screen_stepinf_steps3); + lv_label_set_text(ui->screen_stepinf_p5n2, "参数5.2"); + lv_label_set_long_mode(ui->screen_stepinf_p5n2, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p5n2, 5, 323); + lv_obj_set_size(ui->screen_stepinf_p5n2, 120, 25); + + //Write style for screen_stepinf_p5n2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p5n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p5n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p5n2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p5n2, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p5n2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p5n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p5n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p5n2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p5n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p5n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p5n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p5n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p5n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p5n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p4n2 + ui->screen_stepinf_p4n2 = lv_label_create(ui->screen_stepinf_steps3); + lv_label_set_text(ui->screen_stepinf_p4n2, "参数4.2"); + lv_label_set_long_mode(ui->screen_stepinf_p4n2, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p4n2, 5, 248); + lv_obj_set_size(ui->screen_stepinf_p4n2, 120, 25); + + //Write style for screen_stepinf_p4n2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p4n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p4n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p4n2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p4n2, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p4n2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p4n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p4n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p4n2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p4n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p4n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p4n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p4n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p4n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p4n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p3n2 + ui->screen_stepinf_p3n2 = lv_label_create(ui->screen_stepinf_steps3); + lv_label_set_text(ui->screen_stepinf_p3n2, "参数3.2"); + lv_label_set_long_mode(ui->screen_stepinf_p3n2, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p3n2, 5, 173); + lv_obj_set_size(ui->screen_stepinf_p3n2, 120, 25); + + //Write style for screen_stepinf_p3n2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p3n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p3n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p3n2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p3n2, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p3n2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p3n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p3n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p3n2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p3n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p3n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p3n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p3n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p3n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p3n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p2n2 + ui->screen_stepinf_p2n2 = lv_label_create(ui->screen_stepinf_steps3); + lv_label_set_text(ui->screen_stepinf_p2n2, "参数2.2"); + lv_label_set_long_mode(ui->screen_stepinf_p2n2, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p2n2, 5, 98); + lv_obj_set_size(ui->screen_stepinf_p2n2, 120, 25); + + //Write style for screen_stepinf_p2n2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p2n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p2n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p2n2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p2n2, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p2n2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p2n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p2n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p2n2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p2n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p2n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p2n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p2n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p2n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p2n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + + //Write codes screen_stepinf_p1n2 + ui->screen_stepinf_p1n2 = lv_label_create(ui->screen_stepinf_steps3); + lv_label_set_text(ui->screen_stepinf_p1n2, "参数1.2"); + lv_label_set_long_mode(ui->screen_stepinf_p1n2, LV_LABEL_LONG_WRAP); + lv_obj_set_pos(ui->screen_stepinf_p1n2, 5, 23); + lv_obj_set_size(ui->screen_stepinf_p1n2, 120, 25); + + //Write style for screen_stepinf_p1n2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. + lv_obj_set_style_border_width(ui->screen_stepinf_p1n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_radius(ui->screen_stepinf_p1n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_color(ui->screen_stepinf_p1n2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_font(ui->screen_stepinf_p1n2, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_opa(ui->screen_stepinf_p1n2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_letter_space(ui->screen_stepinf_p1n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_line_space(ui->screen_stepinf_p1n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_text_align(ui->screen_stepinf_p1n2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_bg_opa(ui->screen_stepinf_p1n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_top(ui->screen_stepinf_p1n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_right(ui->screen_stepinf_p1n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_bottom(ui->screen_stepinf_p1n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_pad_left(ui->screen_stepinf_p1n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + lv_obj_set_style_shadow_width(ui->screen_stepinf_p1n2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); + //Write codes screen_line_1 ui->screen_line_1 = lv_line_create(ui->screen_stepinf); static lv_point_t screen_line_1[] = {{0, 0},{0, 370},}; diff --git a/applications/lvgl/ui_data_csv.c b/applications/lvgl/ui_data_csv.c index 8e5401e..88e2325 100644 --- a/applications/lvgl/ui_data_csv.c +++ b/applications/lvgl/ui_data_csv.c @@ -372,21 +372,21 @@ IO_STEP_DATA step_csv_to_table(const char *csv_data) { rt_snprintf(temp.StepID ,3,csv_get_cell(user, 1, 1)); rt_snprintf(temp.StepID_S1 ,3,csv_get_cell(user, 1, 2)); rt_snprintf(temp.StepID_S2 ,3,csv_get_cell(user, 1, 3)); - temp.Parameter1 = atof(csv_get_cell(user, 1, 4)); - temp.Parameter2 = atof(csv_get_cell(user, 1, 5)); - temp.Parameter3 = atof(csv_get_cell(user, 1, 6)); - temp.Parameter4 = atof(csv_get_cell(user, 1, 7)); - temp.Parameter5 = atof(csv_get_cell(user, 1, 8)); - temp.Parameter1_S1 = atof(csv_get_cell(user, 1, 9)); - temp.Parameter2_S1 = atof(csv_get_cell(user, 1, 10)); - temp.Parameter3_S1 = atof(csv_get_cell(user, 1, 11)); - temp.Parameter4_S1 = atof(csv_get_cell(user, 1, 12)); - temp.Parameter5_S1 = atof(csv_get_cell(user, 1, 13)); - temp.Parameter1_S2 = atof(csv_get_cell(user, 1, 14)); - temp.Parameter2_S2 = atof(csv_get_cell(user, 1, 15)); - temp.Parameter3_S2 = atof(csv_get_cell(user, 1, 16)); - temp.Parameter4_S2 = atof(csv_get_cell(user, 1, 17)); - temp.Parameter5_S2 = atof(csv_get_cell(user, 1, 18)); + temp.Parameter1 = atoi(csv_get_cell(user, 1, 4)); + temp.Parameter2 = atoi(csv_get_cell(user, 1, 5)); + temp.Parameter3 = atoi(csv_get_cell(user, 1, 6)); + temp.Parameter4 = atoi(csv_get_cell(user, 1, 7)); + temp.Parameter5 = atoi(csv_get_cell(user, 1, 8)); + temp.Parameter1_S1 = atoi(csv_get_cell(user, 1, 9)); + temp.Parameter2_S1 = atoi(csv_get_cell(user, 1, 10)); + temp.Parameter3_S1 = atoi(csv_get_cell(user, 1, 11)); + temp.Parameter4_S1 = atoi(csv_get_cell(user, 1, 12)); + temp.Parameter5_S1 = atoi(csv_get_cell(user, 1, 13)); + temp.Parameter1_S2 = atoi(csv_get_cell(user, 1, 14)); + temp.Parameter2_S2 = atoi(csv_get_cell(user, 1, 15)); + temp.Parameter3_S2 = atoi(csv_get_cell(user, 1, 16)); + temp.Parameter4_S2 = atoi(csv_get_cell(user, 1, 17)); + temp.Parameter5_S2 = atoi(csv_get_cell(user, 1, 18)); // 释放内存 rt_memheap_free(user); diff --git a/applications/lvgl/ui_data_labels_step.c b/applications/lvgl/ui_data_labels_step.c index 6789ef4..72c366e 100644 --- a/applications/lvgl/ui_data_labels_step.c +++ b/applications/lvgl/ui_data_labels_step.c @@ -85,13 +85,45 @@ static const int get_step_namer(char * step_id) void STEP_DATA_set_ui(IO_STEP_DATA* STEPDATA_inf) { + //步骤信息页面填入 char str_str[4]; + char str_step[5]; lv_snprintf(str_str, sizeof(str_str), "%03d", STEPDATA_inf->Step); lv_label_set_text(guider_ui.screen_stepinf_step,(const char *)str_str); lv_label_set_text(guider_ui.screen_stepinf_name,(const char *)STEPDATA_inf->Program); lv_dropdown_set_selected(guider_ui.screen_stepinf_s1,get_step_name(STEPDATA_inf->StepID)); lv_dropdown_set_selected(guider_ui.screen_stepinf_s2,get_step_namer(STEPDATA_inf->StepID_S1)); lv_dropdown_set_selected(guider_ui.screen_stepinf_s3,get_step_namer(STEPDATA_inf->StepID_S2)); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter1); + lv_textarea_set_text(guider_ui.screen_stepinf_p1,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter2); + lv_textarea_set_text(guider_ui.screen_stepinf_p2,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter3); + lv_textarea_set_text(guider_ui.screen_stepinf_p3,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter4); + lv_textarea_set_text(guider_ui.screen_stepinf_p4,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter5); + lv_textarea_set_text(guider_ui.screen_stepinf_p5,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter1_S1); + lv_textarea_set_text(guider_ui.screen_stepinf_p1b1,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter2_S1); + lv_textarea_set_text(guider_ui.screen_stepinf_p2b1,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter3_S1); + lv_textarea_set_text(guider_ui.screen_stepinf_p3b1,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter4_S1); + lv_textarea_set_text(guider_ui.screen_stepinf_p4b1,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter5_S1); + lv_textarea_set_text(guider_ui.screen_stepinf_p5b1,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter1_S2); + lv_textarea_set_text(guider_ui.screen_stepinf_p1b2,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter2_S2); + lv_textarea_set_text(guider_ui.screen_stepinf_p2b2,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter3_S2); + lv_textarea_set_text(guider_ui.screen_stepinf_p3b2,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter4_S2); + lv_textarea_set_text(guider_ui.screen_stepinf_p4b2,(const char *)str_step); + lv_snprintf(str_step, sizeof(str_step), "%d", STEPDATA_inf->Parameter5_S2); + lv_textarea_set_text(guider_ui.screen_stepinf_p5b2,(const char *)str_step); lv_obj_clear_flag(guider_ui.screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); }