/* * Copyright 2026 NXP * NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in * accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing, * activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to * comply with and are bound by, such license terms. If you do not agree to be bound by the applicable license * terms, then you may not retain, install, activate or otherwise use the software. */ #include "lvgl.h" #include #include "gui_guider.h" #include "events_init.h" #include "widgets_init.h" #include "custom.h" void setup_scr_screen(lv_ui *ui) { //Write codes screen ui->screen = lv_obj_create(NULL); lv_obj_set_size(ui->screen, 1024, 600); lv_obj_set_scrollbar_mode(ui->screen, LV_SCROLLBAR_MODE_AUTO); //Write style for screen, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_TITLE ui->screen_TITLE = lv_obj_create(ui->screen); lv_obj_set_pos(ui->screen_TITLE, 0, 0); lv_obj_set_size(ui->screen_TITLE, 1024, 50); lv_obj_set_scrollbar_mode(ui->screen_TITLE, LV_SCROLLBAR_MODE_OFF); //Write style for screen_TITLE, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_TITLE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_TITLE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_TITLE, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_TITLE, lv_color_hex(0xcccccc), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_TITLE, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_TITLE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_TITLE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_TITLE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_TITLE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_TITLE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_inf_l ui->screen_inf_l = lv_img_create(ui->screen_TITLE); lv_obj_add_flag(ui->screen_inf_l, LV_OBJ_FLAG_CLICKABLE); lv_img_set_src(ui->screen_inf_l, &_ico_water_alpha_40x40); lv_img_set_pivot(ui->screen_inf_l, 40,40); lv_img_set_angle(ui->screen_inf_l, 0); lv_obj_set_pos(ui->screen_inf_l, 135, 5); lv_obj_set_size(ui->screen_inf_l, 40, 40); //Write style for screen_inf_l, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_img_recolor_opa(ui->screen_inf_l, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_img_opa(ui->screen_inf_l, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_inf_l, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_clip_corner(ui->screen_inf_l, true, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_inf_t ui->screen_inf_t = lv_img_create(ui->screen_TITLE); lv_obj_add_flag(ui->screen_inf_t, LV_OBJ_FLAG_CLICKABLE); lv_img_set_src(ui->screen_inf_t, &_ico_temp_alpha_40x40); lv_img_set_pivot(ui->screen_inf_t, 50,50); lv_img_set_angle(ui->screen_inf_t, 0); lv_obj_set_pos(ui->screen_inf_t, 5, 5); lv_obj_set_size(ui->screen_inf_t, 40, 40); //Write style for screen_inf_t, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_img_recolor_opa(ui->screen_inf_t, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_img_opa(ui->screen_inf_t, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_inf_t, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_clip_corner(ui->screen_inf_t, true, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_inf_img ui->screen_inf_img = lv_img_create(ui->screen_TITLE); lv_obj_add_flag(ui->screen_inf_img, LV_OBJ_FLAG_CLICKABLE); lv_img_set_src(ui->screen_inf_img, &_ico_order_alpha_40x40); lv_img_set_pivot(ui->screen_inf_img, 40,40); lv_img_set_angle(ui->screen_inf_img, 0); lv_obj_set_pos(ui->screen_inf_img, 280, 5); lv_obj_set_size(ui->screen_inf_img, 40, 40); //Write style for screen_inf_img, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_img_recolor_opa(ui->screen_inf_img, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_img_opa(ui->screen_inf_img, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_inf_img, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_clip_corner(ui->screen_inf_img, true, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_inf_usb ui->screen_inf_usb = lv_img_create(ui->screen_TITLE); lv_obj_add_flag(ui->screen_inf_usb, LV_OBJ_FLAG_CLICKABLE); lv_img_set_src(ui->screen_inf_usb, &_IconParkUsbOne_alpha_40x40); lv_img_set_pivot(ui->screen_inf_usb, 40,40); lv_img_set_angle(ui->screen_inf_usb, 0); lv_obj_set_pos(ui->screen_inf_usb, 650, 5); lv_obj_set_size(ui->screen_inf_usb, 40, 40); //Write style for screen_inf_usb, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_img_recolor_opa(ui->screen_inf_usb, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_img_opa(ui->screen_inf_usb, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_inf_usb, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_clip_corner(ui->screen_inf_usb, true, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_inf_lock ui->screen_inf_lock = lv_img_create(ui->screen_TITLE); lv_obj_add_flag(ui->screen_inf_lock, LV_OBJ_FLAG_CLICKABLE); lv_img_set_src(ui->screen_inf_lock, &_IconParkLock_alpha_40x40); lv_img_set_pivot(ui->screen_inf_lock, 40,40); lv_img_set_angle(ui->screen_inf_lock, 0); lv_obj_set_pos(ui->screen_inf_lock, 700, 5); lv_obj_set_size(ui->screen_inf_lock, 40, 40); //Write style for screen_inf_lock, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_img_recolor_opa(ui->screen_inf_lock, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_img_opa(ui->screen_inf_lock, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_inf_lock, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_clip_corner(ui->screen_inf_lock, true, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_inf_plc ui->screen_inf_plc = lv_img_create(ui->screen_TITLE); lv_obj_add_flag(ui->screen_inf_plc, LV_OBJ_FLAG_CLICKABLE); lv_img_set_src(ui->screen_inf_plc, &_IconParkBytedanceMiniApp_alpha_40x40); lv_img_set_pivot(ui->screen_inf_plc, 40,40); lv_img_set_angle(ui->screen_inf_plc, 0); lv_obj_set_pos(ui->screen_inf_plc, 750, 5); lv_obj_set_size(ui->screen_inf_plc, 40, 40); //Write style for screen_inf_plc, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_img_recolor_opa(ui->screen_inf_plc, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_img_opa(ui->screen_inf_plc, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_inf_plc, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_clip_corner(ui->screen_inf_plc, true, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_inf_link ui->screen_inf_link = lv_img_create(ui->screen_TITLE); lv_obj_add_flag(ui->screen_inf_link, LV_OBJ_FLAG_CLICKABLE); lv_img_set_src(ui->screen_inf_link, &_ico_link_alpha_40x40); lv_img_set_pivot(ui->screen_inf_link, 40,40); lv_img_set_angle(ui->screen_inf_link, 0); lv_obj_set_pos(ui->screen_inf_link, 800, 5); lv_obj_set_size(ui->screen_inf_link, 40, 40); //Write style for screen_inf_link, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_img_recolor_opa(ui->screen_inf_link, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_img_opa(ui->screen_inf_link, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_inf_link, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_clip_corner(ui->screen_inf_link, true, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_inf_run ui->screen_inf_run = lv_img_create(ui->screen_TITLE); lv_obj_add_flag(ui->screen_inf_run, LV_OBJ_FLAG_CLICKABLE); lv_img_set_src(ui->screen_inf_run, &_IconParkPlay_alpha_40x40); lv_img_set_pivot(ui->screen_inf_run, 40,40); lv_img_set_angle(ui->screen_inf_run, 0); lv_obj_set_pos(ui->screen_inf_run, 850, 5); lv_obj_set_size(ui->screen_inf_run, 40, 40); //Write style for screen_inf_run, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_img_recolor_opa(ui->screen_inf_run, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_img_opa(ui->screen_inf_run, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_inf_run, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_clip_corner(ui->screen_inf_run, true, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_temp ui->screen_temp = lv_label_create(ui->screen_TITLE); lv_label_set_text(ui->screen_temp, "020.5"); lv_label_set_long_mode(ui->screen_temp, LV_LABEL_LONG_CLIP); lv_obj_set_pos(ui->screen_temp, 50, 10); lv_obj_set_size(ui->screen_temp, 75, 30); //Write style for screen_temp, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_temp, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_temp, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_temp, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_temp, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_water ui->screen_water = lv_label_create(ui->screen_TITLE); lv_label_set_text(ui->screen_water, "9999"); lv_label_set_long_mode(ui->screen_water, LV_LABEL_LONG_CLIP); lv_obj_set_pos(ui->screen_water, 180, 10); lv_obj_set_size(ui->screen_water, 80, 30); //Write style for screen_water, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_water, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_water, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_water, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_water, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_order ui->screen_order = lv_label_create(ui->screen_TITLE); lv_label_set_text(ui->screen_order, "SC---------"); lv_label_set_long_mode(ui->screen_order, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_order, 330, 10); lv_obj_set_size(ui->screen_order, 300, 30); //Write style for screen_order, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_order, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_order, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_order, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_order, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_order, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_order, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_order, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_order, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_order, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_order, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_order, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_order, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_order, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_order, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_SYS_TIME ui->screen_SYS_TIME = lv_label_create(ui->screen_TITLE); lv_label_set_text(ui->screen_SYS_TIME, "12:12:30"); lv_label_set_long_mode(ui->screen_SYS_TIME, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_SYS_TIME, 900, 5); lv_obj_set_size(ui->screen_SYS_TIME, 100, 15); //Write style for screen_SYS_TIME, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_SYS_TIME, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_SYS_TIME, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_SYS_TIME, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_SYS_TIME, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_RUN_TIME ui->screen_RUN_TIME = lv_label_create(ui->screen_TITLE); lv_label_set_text(ui->screen_RUN_TIME, "00:00:00"); lv_label_set_long_mode(ui->screen_RUN_TIME, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_RUN_TIME, 900, 28); lv_obj_set_size(ui->screen_RUN_TIME, 100, 15); //Write style for screen_RUN_TIME, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_RUN_TIME, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_RUN_TIME, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_RUN_TIME, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_RUN_TIME, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_inf_err ui->screen_inf_err = lv_btn_create(ui->screen_TITLE); ui->screen_inf_err_label = lv_label_create(ui->screen_inf_err); lv_label_set_text(ui->screen_inf_err_label, "" LV_SYMBOL_WARNING " "); lv_label_set_long_mode(ui->screen_inf_err_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_inf_err_label, LV_ALIGN_RIGHT_MID, 0, 0); lv_obj_set_style_pad_all(ui->screen_inf_err, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_inf_err_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_inf_err, 970, 0); lv_obj_set_size(ui->screen_inf_err, 50, 50); //Write style for screen_inf_err, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_inf_err, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_inf_err, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_inf_err, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_inf_err, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_inf_err, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_inf_err, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_inf_err, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_inf_err, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_tabview ui->screen_tabview = lv_tabview_create(ui->screen, LV_DIR_BOTTOM, 50); lv_obj_set_pos(ui->screen_tabview, 0, 50); lv_obj_set_size(ui->screen_tabview, 1024, 550); lv_obj_set_scrollbar_mode(ui->screen_tabview, LV_SCROLLBAR_MODE_OFF); //Write style for screen_tabview, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_tabview, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_tabview, lv_color_hex(0xeaeff3), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_tabview, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_tabview, lv_color_hex(0x4d4d4d), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_tabview, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_tabview, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_tabview, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_tabview, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_tabview, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_tabview, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_tabview, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style state: LV_STATE_DEFAULT for &style_screen_tabview_extra_btnm_main_default static lv_style_t style_screen_tabview_extra_btnm_main_default; ui_init_style(&style_screen_tabview_extra_btnm_main_default); lv_style_set_bg_opa(&style_screen_tabview_extra_btnm_main_default, 255); lv_style_set_bg_color(&style_screen_tabview_extra_btnm_main_default, lv_color_hex(0xffffff)); lv_style_set_bg_grad_dir(&style_screen_tabview_extra_btnm_main_default, LV_GRAD_DIR_NONE); lv_style_set_border_width(&style_screen_tabview_extra_btnm_main_default, 0); lv_style_set_radius(&style_screen_tabview_extra_btnm_main_default, 0); lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_tabview), &style_screen_tabview_extra_btnm_main_default, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style state: LV_STATE_DEFAULT for &style_screen_tabview_extra_btnm_items_default static lv_style_t style_screen_tabview_extra_btnm_items_default; ui_init_style(&style_screen_tabview_extra_btnm_items_default); lv_style_set_text_color(&style_screen_tabview_extra_btnm_items_default, lv_color_hex(0x4d4d4d)); lv_style_set_text_font(&style_screen_tabview_extra_btnm_items_default, &lv_font_simsun_24); lv_style_set_text_opa(&style_screen_tabview_extra_btnm_items_default, 255); lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_tabview), &style_screen_tabview_extra_btnm_items_default, LV_PART_ITEMS|LV_STATE_DEFAULT); //Write style state: LV_STATE_CHECKED for &style_screen_tabview_extra_btnm_items_checked static lv_style_t style_screen_tabview_extra_btnm_items_checked; ui_init_style(&style_screen_tabview_extra_btnm_items_checked); lv_style_set_text_color(&style_screen_tabview_extra_btnm_items_checked, lv_color_hex(0x2195f6)); lv_style_set_text_font(&style_screen_tabview_extra_btnm_items_checked, &lv_font_montserratMedium_12); lv_style_set_text_opa(&style_screen_tabview_extra_btnm_items_checked, 255); lv_style_set_border_width(&style_screen_tabview_extra_btnm_items_checked, 4); lv_style_set_border_opa(&style_screen_tabview_extra_btnm_items_checked, 255); lv_style_set_border_color(&style_screen_tabview_extra_btnm_items_checked, lv_color_hex(0x2195f6)); lv_style_set_border_side(&style_screen_tabview_extra_btnm_items_checked, LV_BORDER_SIDE_BOTTOM); lv_style_set_radius(&style_screen_tabview_extra_btnm_items_checked, 0); lv_style_set_bg_opa(&style_screen_tabview_extra_btnm_items_checked, 60); lv_style_set_bg_color(&style_screen_tabview_extra_btnm_items_checked, lv_color_hex(0x2195f6)); lv_style_set_bg_grad_dir(&style_screen_tabview_extra_btnm_items_checked, LV_GRAD_DIR_NONE); lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_tabview), &style_screen_tabview_extra_btnm_items_checked, LV_PART_ITEMS|LV_STATE_CHECKED); //Write codes 工单 ui->screen_tabview_tab_1 = lv_tabview_add_tab(ui->screen_tabview,"工单"); lv_obj_t * screen_tabview_tab_1_label = lv_label_create(ui->screen_tabview_tab_1); lv_label_set_text(screen_tabview_tab_1_label, ""); //Write codes screen_w_start ui->screen_w_start = lv_btn_create(ui->screen_tabview_tab_1); ui->screen_w_start_label = lv_label_create(ui->screen_w_start); lv_label_set_text(ui->screen_w_start_label, "载入"); lv_label_set_long_mode(ui->screen_w_start_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_w_start_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_w_start, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_w_start_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_w_start, 880, 431); lv_obj_set_size(ui->screen_w_start, 120, 50); //Write style for screen_w_start, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_w_start, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_w_start, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_w_start, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_w_start, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_w_start, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_w_start, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_w_start, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_w_start, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_w_start, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_w_start, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_w_edit ui->screen_w_edit = lv_btn_create(ui->screen_tabview_tab_1); ui->screen_w_edit_label = lv_label_create(ui->screen_w_edit); lv_label_set_text(ui->screen_w_edit_label, "编辑/明细"); lv_label_set_long_mode(ui->screen_w_edit_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_w_edit_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_w_edit, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_w_edit_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_w_edit, 880, 355); lv_obj_set_size(ui->screen_w_edit, 120, 50); //Write style for screen_w_edit, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_w_edit, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_w_edit, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_w_edit, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_w_edit, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_w_edit, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_w_edit, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_w_edit, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_w_edit, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_w_edit, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_w_edit, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_w_w ui->screen_w_w = lv_btn_create(ui->screen_tabview_tab_1); ui->screen_w_w_label = lv_label_create(ui->screen_w_w); lv_label_set_text(ui->screen_w_w_label, "工艺/排程"); lv_label_set_long_mode(ui->screen_w_w_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_w_w_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_w_w, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_w_w_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_w_w, 880, 280); lv_obj_set_size(ui->screen_w_w, 120, 50); //Write style for screen_w_w, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_w_w, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_w_w, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_w_w, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_w_w, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_w_w, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_w_w, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_w_w, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_w_w, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_w_w, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_w_w, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_w_text ui->screen_w_text = lv_obj_create(ui->screen_tabview_tab_1); lv_obj_set_pos(ui->screen_w_text, 305, 265); lv_obj_set_size(ui->screen_w_text, 550, 230); lv_obj_set_scrollbar_mode(ui->screen_w_text, LV_SCROLLBAR_MODE_OFF); //Write style for screen_w_text, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_w_text, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_w_text, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_w_text, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_w_text, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_w_text, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_w_text, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_w_text, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_w_text, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_w_text, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_w_text, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_text_inf ui->screen_text_inf = lv_label_create(ui->screen_w_text); lv_label_set_text(ui->screen_text_inf, "信息工单工艺领料单预计开始预计完成预计用时锁定状态用户步骤时间步步骤工艺步号细节参数副功能功能代码颜色客户布重布种浴比浴量备注入水水位呼叫操作员准备入布准备出布温度控制排水主泵启动主泵停止备药加药入水流量等待命令取样运转呼叫准备程序结束水源目标温度速率时间药缸搅拌药桶曲线加压减压呼叫输送测试流程°"); lv_label_set_long_mode(ui->screen_text_inf, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_text_inf, 0, 0); lv_obj_set_size(ui->screen_text_inf, 550, 230); lv_obj_add_flag(ui->screen_text_inf, LV_OBJ_FLAG_SCROLLABLE); //Write style for screen_text_inf, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_text_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_text_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_text_inf, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_text_inf, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_text_inf, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_text_inf, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_text_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_text_inf, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_text_inf, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_text_inf, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_text_inf, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_text_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_text_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_text_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_text_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_text_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_list ui->screen_step_list = lv_obj_create(ui->screen_tabview_tab_1); lv_obj_set_pos(ui->screen_step_list, 0, 45); lv_obj_set_size(ui->screen_step_list, 300, 450); lv_obj_set_scrollbar_mode(ui->screen_step_list, LV_SCROLLBAR_MODE_OFF); //Write style for screen_step_list, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_step_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_step_list, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_step_list, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_step_list, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_step_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_step_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_step_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_step_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_inf_list ui->screen_inf_list = lv_obj_create(ui->screen_tabview_tab_1); lv_obj_set_pos(ui->screen_inf_list, 305, 0); lv_obj_set_size(ui->screen_inf_list, 719, 260); lv_obj_set_scrollbar_mode(ui->screen_inf_list, LV_SCROLLBAR_MODE_OFF); //Write style for screen_inf_list, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_inf_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_inf_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_inf_list, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_inf_list, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_inf_list, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_inf_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_inf_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_inf_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_inf_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_inf_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes 工艺 ui->screen_tabview_tab_2 = lv_tabview_add_tab(ui->screen_tabview,"工艺"); lv_obj_t * screen_tabview_tab_2_label = lv_label_create(ui->screen_tabview_tab_2); lv_label_set_text(screen_tabview_tab_2_label, ""); //Write codes screen_cont_p ui->screen_cont_p = lv_obj_create(ui->screen_tabview_tab_2); lv_obj_set_pos(ui->screen_cont_p, 0, 65); lv_obj_set_size(ui->screen_cont_p, 450, 365); lv_obj_set_scrollbar_mode(ui->screen_cont_p, LV_SCROLLBAR_MODE_OFF); //Write style for screen_cont_p, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_cont_p, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_cont_p, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_cont_p, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_chart_temp ui->screen_chart_temp = lv_chart_create(ui->screen_tabview_tab_2); lv_chart_set_type(ui->screen_chart_temp, LV_CHART_TYPE_LINE); lv_chart_set_div_line_count(ui->screen_chart_temp, 3, 5); lv_chart_set_point_count(ui->screen_chart_temp, 5); lv_chart_set_range(ui->screen_chart_temp, LV_CHART_AXIS_PRIMARY_Y, 0, 160); lv_chart_set_axis_tick(ui->screen_chart_temp, LV_CHART_AXIS_PRIMARY_Y, 1, 1, 9, 5, true, 40); lv_chart_set_range(ui->screen_chart_temp, LV_CHART_AXIS_SECONDARY_Y, 0, 100); lv_chart_set_axis_tick(ui->screen_chart_temp, LV_CHART_AXIS_PRIMARY_X, 1, 1, 50, 80, false, 40); lv_chart_set_zoom_x(ui->screen_chart_temp, 256); lv_chart_set_zoom_y(ui->screen_chart_temp, 256); lv_obj_set_style_size(ui->screen_chart_temp, 0, LV_PART_INDICATOR); ui->screen_chart_temp_0 = lv_chart_add_series(ui->screen_chart_temp, lv_color_hex(0x000000), LV_CHART_AXIS_PRIMARY_Y); #if LV_USE_FREEMASTER == 0 lv_chart_set_next_value(ui->screen_chart_temp, ui->screen_chart_temp_0, 10); lv_chart_set_next_value(ui->screen_chart_temp, ui->screen_chart_temp_0, 40); lv_chart_set_next_value(ui->screen_chart_temp, ui->screen_chart_temp_0, 80); lv_chart_set_next_value(ui->screen_chart_temp, ui->screen_chart_temp_0, 130); lv_chart_set_next_value(ui->screen_chart_temp, ui->screen_chart_temp_0, 80); #endif lv_obj_set_pos(ui->screen_chart_temp, 485, 0); lv_obj_set_size(ui->screen_chart_temp, 539, 195); lv_obj_set_scrollbar_mode(ui->screen_chart_temp, LV_SCROLLBAR_MODE_OFF); //Write style for screen_chart_temp, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_chart_temp, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_chart_temp, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_chart_temp, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_chart_temp, 1, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_chart_temp, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_chart_temp, lv_color_hex(0xe8e8e8), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_chart_temp, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_chart_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_line_width(ui->screen_chart_temp, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_line_color(ui->screen_chart_temp, lv_color_hex(0xe8e8e8), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_line_opa(ui->screen_chart_temp, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_chart_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style for screen_chart_temp, Part: LV_PART_TICKS, State: LV_STATE_DEFAULT. lv_obj_set_style_text_color(ui->screen_chart_temp, lv_color_hex(0x151212), LV_PART_TICKS|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_chart_temp, &lv_font_montserratMedium_12, LV_PART_TICKS|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_chart_temp, 255, LV_PART_TICKS|LV_STATE_DEFAULT); lv_obj_set_style_line_width(ui->screen_chart_temp, 2, LV_PART_TICKS|LV_STATE_DEFAULT); lv_obj_set_style_line_color(ui->screen_chart_temp, lv_color_hex(0xe8e8e8), LV_PART_TICKS|LV_STATE_DEFAULT); lv_obj_set_style_line_opa(ui->screen_chart_temp, 255, LV_PART_TICKS|LV_STATE_DEFAULT); //Write codes screen_step_id ui->screen_step_id = lv_label_create(ui->screen_tabview_tab_2); lv_label_set_text(ui->screen_step_id, "001"); lv_label_set_long_mode(ui->screen_step_id, LV_LABEL_LONG_DOT); lv_obj_set_pos(ui->screen_step_id, 0, 35); lv_obj_set_size(ui->screen_step_id, 50, 25); //Write style for screen_step_id, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_step_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_step_id, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_step_id, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_step_id, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_step_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_step_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_step_id, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_step_id, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_step_id, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_step_id, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_step_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_step_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_step_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_step_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_inf ui->screen_step_inf = lv_obj_create(ui->screen_tabview_tab_2); lv_obj_set_pos(ui->screen_step_inf, 468, 200); lv_obj_set_size(ui->screen_step_inf, 555, 290); lv_obj_set_scrollbar_mode(ui->screen_step_inf, LV_SCROLLBAR_MODE_ACTIVE); lv_obj_add_flag(ui->screen_step_inf, LV_OBJ_FLAG_SCROLLABLE); //Write style for screen_step_inf, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_step_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_step_inf, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_step_inf, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_step_inf, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_step_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_step_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_step_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_step_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_process ui->screen_process = lv_label_create(ui->screen_tabview_tab_2); lv_label_set_text(ui->screen_process, "工艺"); lv_label_set_long_mode(ui->screen_process, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_process, 0, 0); lv_obj_set_size(ui->screen_process, 450, 30); //Write style for screen_process, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_process, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_process, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_process, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_process, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_process, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_process, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_process, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_process, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_process, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_process, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_process, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_process, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_process, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_process, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_process, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_process, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_n ui->screen_step_n = lv_label_create(ui->screen_tabview_tab_2); lv_label_set_text(ui->screen_step_n, "步骤名"); lv_label_set_long_mode(ui->screen_step_n, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_step_n, 60, 35); lv_obj_set_size(ui->screen_step_n, 390, 25); //Write style for screen_step_n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_step_n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_step_n, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_step_n, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_step_n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_step_n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_step_n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_step_n, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_step_n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_step_n, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_step_n, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_step_n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_step_n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_step_n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_step_n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_p_start ui->screen_p_start = lv_btn_create(ui->screen_tabview_tab_2); ui->screen_p_start_label = lv_label_create(ui->screen_p_start); lv_label_set_text(ui->screen_p_start_label, "启/停"); lv_label_set_long_mode(ui->screen_p_start_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_p_start_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_p_start, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_p_start_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_p_start, 5, 440); lv_obj_set_size(ui->screen_p_start, 100, 50); //Write style for screen_p_start, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_p_start, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_p_start, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_p_start, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_p_start, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_p_start, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_p_start, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_p_start, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_p_start, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_p_start, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_p_start, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_p_edit ui->screen_p_edit = lv_btn_create(ui->screen_tabview_tab_2); ui->screen_p_edit_label = lv_label_create(ui->screen_p_edit); lv_label_set_text(ui->screen_p_edit_label, "编辑"); lv_label_set_long_mode(ui->screen_p_edit_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_p_edit_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_p_edit, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_p_edit_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_p_edit, 120, 440); lv_obj_set_size(ui->screen_p_edit, 100, 50); //Write style for screen_p_edit, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_p_edit, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_p_edit, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_p_edit, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_p_edit, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_p_edit, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_p_edit, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_p_edit, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_p_edit, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_p_edit, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_p_edit, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_p_delete ui->screen_p_delete = lv_btn_create(ui->screen_tabview_tab_2); ui->screen_p_delete_label = lv_label_create(ui->screen_p_delete); lv_label_set_text(ui->screen_p_delete_label, "删除"); lv_label_set_long_mode(ui->screen_p_delete_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_p_delete_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_p_delete, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_p_delete_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_p_delete, 350, 440); lv_obj_set_size(ui->screen_p_delete, 100, 50); //Write style for screen_p_delete, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_p_delete, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_p_delete, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_p_delete, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_p_delete, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_p_delete, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_p_delete, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_p_delete, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_p_delete, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_p_delete, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_p_delete, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_p_insert ui->screen_p_insert = lv_btn_create(ui->screen_tabview_tab_2); ui->screen_p_insert_label = lv_label_create(ui->screen_p_insert); lv_label_set_text(ui->screen_p_insert_label, "插入"); lv_label_set_long_mode(ui->screen_p_insert_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_p_insert_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_p_insert, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_p_insert_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_p_insert, 235, 440); lv_obj_set_size(ui->screen_p_insert, 100, 50); //Write style for screen_p_insert, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_p_insert, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_p_insert, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_p_insert, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_p_insert, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_p_insert, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_p_insert, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_p_insert, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_p_insert, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_p_insert, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_p_insert, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes 机台 ui->screen_tabview_tab_3 = lv_tabview_add_tab(ui->screen_tabview,"机台"); lv_obj_t * screen_tabview_tab_3_label = lv_label_create(ui->screen_tabview_tab_3); lv_label_set_text(screen_tabview_tab_3_label, ""); //Write codes screen_w_io ui->screen_w_io = lv_tabview_create(ui->screen_tabview_tab_3, LV_DIR_RIGHT, 90); lv_obj_set_pos(ui->screen_w_io, 0, 0); lv_obj_set_size(ui->screen_w_io, 1024, 500); lv_obj_set_scrollbar_mode(ui->screen_w_io, LV_SCROLLBAR_MODE_OFF); //Write style for screen_w_io, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_w_io, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_w_io, lv_color_hex(0x4d4d4d), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_w_io, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_w_io, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_w_io, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_w_io, 16, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_w_io, 1, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_w_io, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_w_io, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_w_io, LV_BORDER_SIDE_FULL | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_w_io, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_w_io, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style state: LV_STATE_DEFAULT for &style_screen_w_io_extra_btnm_main_default static lv_style_t style_screen_w_io_extra_btnm_main_default; ui_init_style(&style_screen_w_io_extra_btnm_main_default); lv_style_set_bg_opa(&style_screen_w_io_extra_btnm_main_default, 255); lv_style_set_bg_color(&style_screen_w_io_extra_btnm_main_default, lv_color_hex(0x9ce8ff)); lv_style_set_bg_grad_dir(&style_screen_w_io_extra_btnm_main_default, LV_GRAD_DIR_NONE); lv_style_set_border_width(&style_screen_w_io_extra_btnm_main_default, 0); lv_style_set_radius(&style_screen_w_io_extra_btnm_main_default, 8); lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_w_io), &style_screen_w_io_extra_btnm_main_default, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style state: LV_STATE_DEFAULT for &style_screen_w_io_extra_btnm_items_default static lv_style_t style_screen_w_io_extra_btnm_items_default; ui_init_style(&style_screen_w_io_extra_btnm_items_default); lv_style_set_text_color(&style_screen_w_io_extra_btnm_items_default, lv_color_hex(0x291f1f)); lv_style_set_text_font(&style_screen_w_io_extra_btnm_items_default, &lv_font_simsun_24); lv_style_set_text_opa(&style_screen_w_io_extra_btnm_items_default, 255); lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_w_io), &style_screen_w_io_extra_btnm_items_default, LV_PART_ITEMS|LV_STATE_DEFAULT); //Write style state: LV_STATE_CHECKED for &style_screen_w_io_extra_btnm_items_checked static lv_style_t style_screen_w_io_extra_btnm_items_checked; ui_init_style(&style_screen_w_io_extra_btnm_items_checked); lv_style_set_text_color(&style_screen_w_io_extra_btnm_items_checked, lv_color_hex(0x007185)); lv_style_set_text_font(&style_screen_w_io_extra_btnm_items_checked, &lv_font_Alatsi_Regular_18); lv_style_set_text_opa(&style_screen_w_io_extra_btnm_items_checked, 255); lv_style_set_border_width(&style_screen_w_io_extra_btnm_items_checked, 4); lv_style_set_border_opa(&style_screen_w_io_extra_btnm_items_checked, 255); lv_style_set_border_color(&style_screen_w_io_extra_btnm_items_checked, lv_color_hex(0x007185)); lv_style_set_border_side(&style_screen_w_io_extra_btnm_items_checked, LV_BORDER_SIDE_RIGHT); lv_style_set_radius(&style_screen_w_io_extra_btnm_items_checked, 4); lv_style_set_bg_opa(&style_screen_w_io_extra_btnm_items_checked, 0); lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_w_io), &style_screen_w_io_extra_btnm_items_checked, LV_PART_ITEMS|LV_STATE_CHECKED); //Write codes DI ui->screen_w_io_tab_1 = lv_tabview_add_tab(ui->screen_w_io,"DI"); lv_obj_t * screen_w_io_tab_1_label = lv_label_create(ui->screen_w_io_tab_1); lv_label_set_text(screen_w_io_tab_1_label, ""); //Write codes screen_DI_t1 ui->screen_DI_t1 = lv_obj_create(ui->screen_w_io_tab_1); lv_obj_set_pos(ui->screen_DI_t1, 0, 0); lv_obj_set_size(ui->screen_DI_t1, 830, 500); lv_obj_set_scrollbar_mode(ui->screen_DI_t1, LV_SCROLLBAR_MODE_OFF); //Write style for screen_DI_t1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_DI_t1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_DI_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_DI_t1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_DI_t1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_DI_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_DI_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_DI_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_DI_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_DI_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_DI_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_DI_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di0 ui->screen_name_di0 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di0, "急停"); lv_label_set_long_mode(ui->screen_name_di0, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di0, 80, 13); lv_obj_set_size(ui->screen_name_di0, 155, 14); //Write style for screen_name_di0, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di0, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di0, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di0, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di0, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di1 ui->screen_name_di1 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di1, "温度锁定"); lv_label_set_long_mode(ui->screen_name_di1, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di1, 280, 13); lv_obj_set_size(ui->screen_name_di1, 155, 14); //Write style for screen_name_di1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di1, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di2 ui->screen_name_di2 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di2, "压力锁定"); lv_label_set_long_mode(ui->screen_name_di2, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di2, 480, 13); lv_obj_set_size(ui->screen_name_di2, 155, 14); //Write style for screen_name_di2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di2, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di3 ui->screen_name_di3 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di3, "呼叫确认"); lv_label_set_long_mode(ui->screen_name_di3, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di3, 680, 13); lv_obj_set_size(ui->screen_name_di3, 155, 14); //Write style for screen_name_di3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di3, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di3, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di4 ui->screen_name_di4 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di4, "警报"); lv_label_set_long_mode(ui->screen_name_di4, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di4, 80, 53); lv_obj_set_size(ui->screen_name_di4, 155, 14); //Write style for screen_name_di4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di4, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di4, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di4, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di4, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di5 ui->screen_name_di5 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di5, "手自动(主)"); lv_label_set_long_mode(ui->screen_name_di5, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di5, 281, 53); lv_obj_set_size(ui->screen_name_di5, 155, 14); //Write style for screen_name_di5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di5, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di5, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di5, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di5, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di6 ui->screen_name_di6 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di6, "变频故障"); lv_label_set_long_mode(ui->screen_name_di6, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di6, 480, 53); lv_obj_set_size(ui->screen_name_di6, 155, 14); //Write style for screen_name_di6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di6, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di6, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di6, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di6, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di7 ui->screen_name_di7 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di7, "主泵故障"); lv_label_set_long_mode(ui->screen_name_di7, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di7, 680, 53); lv_obj_set_size(ui->screen_name_di7, 155, 14); //Write style for screen_name_di7, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di7, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di7, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di7, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di7, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di8 ui->screen_name_di8 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di8, "其它电器故障"); lv_label_set_long_mode(ui->screen_name_di8, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di8, 80, 93); lv_obj_set_size(ui->screen_name_di8, 155, 14); //Write style for screen_name_di8, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di8, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di8, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di8, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di8, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di9 ui->screen_name_di9 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di9, "加药马达1异常"); lv_label_set_long_mode(ui->screen_name_di9, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di9, 280, 93); lv_obj_set_size(ui->screen_name_di9, 155, 14); //Write style for screen_name_di9, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di9, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di9, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di9, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di9, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di10 ui->screen_name_di10 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di10, "加药马达2异常"); lv_label_set_long_mode(ui->screen_name_di10, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di10, 480, 93); lv_obj_set_size(ui->screen_name_di10, 155, 14); //Write style for screen_name_di10, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di10, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di10, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di10, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di10, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di11 ui->screen_name_di11 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di11, "控制箱1手动"); lv_label_set_long_mode(ui->screen_name_di11, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di11, 680, 93); lv_obj_set_size(ui->screen_name_di11, 155, 14); //Write style for screen_name_di11, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di11, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di11, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di11, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di11, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di12 ui->screen_name_di12 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di12, "缠车1"); lv_label_set_long_mode(ui->screen_name_di12, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di12, 80, 133); lv_obj_set_size(ui->screen_name_di12, 155, 14); //Write style for screen_name_di12, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di12, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di12, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di12, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di12, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di13 ui->screen_name_di13 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di13, "布头信号1"); lv_label_set_long_mode(ui->screen_name_di13, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di13, 280, 133); lv_obj_set_size(ui->screen_name_di13, 155, 14); //Write style for screen_name_di13, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di13, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di13, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di13, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di13, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di14 ui->screen_name_di14 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di14, "布轮正转1"); lv_label_set_long_mode(ui->screen_name_di14, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di14, 480, 133); lv_obj_set_size(ui->screen_name_di14, 155, 14); //Write style for screen_name_di14, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di14, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di14, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di14, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di14, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di15 ui->screen_name_di15 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di15, "布轮反转1"); lv_label_set_long_mode(ui->screen_name_di15, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di15, 680, 133); lv_obj_set_size(ui->screen_name_di15, 155, 14); //Write style for screen_name_di15, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di15, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di15, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di15, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di15, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di16 ui->screen_name_di16 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di16, "布轮过载1"); lv_label_set_long_mode(ui->screen_name_di16, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di16, 80, 173); lv_obj_set_size(ui->screen_name_di16, 155, 14); //Write style for screen_name_di16, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di16, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di16, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di16, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di16, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di17 ui->screen_name_di17 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di17, "堵布1"); lv_label_set_long_mode(ui->screen_name_di17, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di17, 280, 173); lv_obj_set_size(ui->screen_name_di17, 155, 14); //Write style for screen_name_di17, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di17, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di17, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di17, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di17, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di18 ui->screen_name_di18 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di18, "料桶1高水位"); lv_label_set_long_mode(ui->screen_name_di18, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di18, 480, 173); lv_obj_set_size(ui->screen_name_di18, 155, 14); //Write style for screen_name_di18, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di18, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di18, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di18, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di18, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di19 ui->screen_name_di19 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di19, "料桶1低水位"); lv_label_set_long_mode(ui->screen_name_di19, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di19, 680, 173); lv_obj_set_size(ui->screen_name_di19, 155, 14); //Write style for screen_name_di19, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di19, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di19, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di19, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di19, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di20 ui->screen_name_di20 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di20, "料桶1入水"); lv_label_set_long_mode(ui->screen_name_di20, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di20, 80, 213); lv_obj_set_size(ui->screen_name_di20, 155, 14); //Write style for screen_name_di20, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di20, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di20, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di20, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di20, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di21 ui->screen_name_di21 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di21, "料桶1排水"); lv_label_set_long_mode(ui->screen_name_di21, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di21, 280, 213); lv_obj_set_size(ui->screen_name_di21, 155, 14); //Write style for screen_name_di21, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di21, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di21, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di21, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di21, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di22 ui->screen_name_di22 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di22, "料桶1回流"); lv_label_set_long_mode(ui->screen_name_di22, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di22, 480, 213); lv_obj_set_size(ui->screen_name_di22, 155, 14); //Write style for screen_name_di22, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di22, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di22, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di22, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di22, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di23 ui->screen_name_di23 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di23, "料桶1底水位"); lv_label_set_long_mode(ui->screen_name_di23, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di23, 680, 213); lv_obj_set_size(ui->screen_name_di23, 155, 14); //Write style for screen_name_di23, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di23, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di23, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di23, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di23, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di24 ui->screen_name_di24 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di24, "料桶1注料"); lv_label_set_long_mode(ui->screen_name_di24, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di24, 80, 253); lv_obj_set_size(ui->screen_name_di24, 155, 14); //Write style for screen_name_di24, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di24, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di24, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di24, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di24, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di25 ui->screen_name_di25 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di25, "料桶1加热"); lv_label_set_long_mode(ui->screen_name_di25, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di25, 280, 253); lv_obj_set_size(ui->screen_name_di25, 155, 14); //Write style for screen_name_di25, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di25, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di25, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di25, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di25, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di26 ui->screen_name_di26 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di26, "料桶1搅拌"); lv_label_set_long_mode(ui->screen_name_di26, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di26, 480, 253); lv_obj_set_size(ui->screen_name_di26, 155, 14); //Write style for screen_name_di26, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di26, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di26, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di26, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di26, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di27 ui->screen_name_di27 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di27, "料桶2高水位"); lv_label_set_long_mode(ui->screen_name_di27, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di27, 680, 253); lv_obj_set_size(ui->screen_name_di27, 155, 14); //Write style for screen_name_di27, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di27, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di27, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di27, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di27, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di28 ui->screen_name_di28 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di28, "料桶2低水位"); lv_label_set_long_mode(ui->screen_name_di28, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di28, 80, 293); lv_obj_set_size(ui->screen_name_di28, 155, 14); //Write style for screen_name_di28, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di28, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di28, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di28, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di28, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di29 ui->screen_name_di29 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di29, "料桶2入水"); lv_label_set_long_mode(ui->screen_name_di29, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di29, 280, 293); lv_obj_set_size(ui->screen_name_di29, 155, 14); //Write style for screen_name_di29, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di29, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di29, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di29, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di29, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di30 ui->screen_name_di30 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di30, "料桶2排水"); lv_label_set_long_mode(ui->screen_name_di30, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di30, 480, 293); lv_obj_set_size(ui->screen_name_di30, 155, 14); //Write style for screen_name_di30, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di30, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di30, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di30, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di30, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di31 ui->screen_name_di31 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di31, "料2回流"); lv_label_set_long_mode(ui->screen_name_di31, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di31, 680, 293); lv_obj_set_size(ui->screen_name_di31, 155, 14); //Write style for screen_name_di31, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di31, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di31, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di31, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di31, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di32 ui->screen_name_di32 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di32, "料2底水位"); lv_label_set_long_mode(ui->screen_name_di32, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di32, 80, 333); lv_obj_set_size(ui->screen_name_di32, 155, 14); //Write style for screen_name_di32, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di32, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di32, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di32, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di32, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di33 ui->screen_name_di33 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di33, "料2注料"); lv_label_set_long_mode(ui->screen_name_di33, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di33, 280, 333); lv_obj_set_size(ui->screen_name_di33, 155, 14); //Write style for screen_name_di33, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di33, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di33, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di33, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di33, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di34 ui->screen_name_di34 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di34, "料2加热"); lv_label_set_long_mode(ui->screen_name_di34, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di34, 480, 333); lv_obj_set_size(ui->screen_name_di34, 155, 14); //Write style for screen_name_di34, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di34, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di34, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di34, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di34, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di35 ui->screen_name_di35 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di35, "料2搅拌"); lv_label_set_long_mode(ui->screen_name_di35, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di35, 680, 333); lv_obj_set_size(ui->screen_name_di35, 155, 14); //Write style for screen_name_di35, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di35, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di35, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di35, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di35, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di36 ui->screen_name_di36 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di36, "缠车2"); lv_label_set_long_mode(ui->screen_name_di36, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di36, 80, 373); lv_obj_set_size(ui->screen_name_di36, 155, 14); //Write style for screen_name_di36, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di36, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di36, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di36, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di36, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di37 ui->screen_name_di37 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di37, "布头2"); lv_label_set_long_mode(ui->screen_name_di37, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di37, 280, 373); lv_obj_set_size(ui->screen_name_di37, 155, 14); //Write style for screen_name_di37, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di37, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di37, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di37, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di37, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di38 ui->screen_name_di38 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di38, "布轮正转2"); lv_label_set_long_mode(ui->screen_name_di38, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di38, 480, 373); lv_obj_set_size(ui->screen_name_di38, 155, 14); //Write style for screen_name_di38, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di38, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di38, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di38, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di38, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di39 ui->screen_name_di39 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di39, "布轮反转2"); lv_label_set_long_mode(ui->screen_name_di39, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di39, 680, 373); lv_obj_set_size(ui->screen_name_di39, 155, 14); //Write style for screen_name_di39, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di39, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di39, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di39, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di39, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di40 ui->screen_name_di40 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di40, "布轮过载2"); lv_label_set_long_mode(ui->screen_name_di40, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di40, 80, 413); lv_obj_set_size(ui->screen_name_di40, 155, 14); //Write style for screen_name_di40, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di40, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di40, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di40, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di40, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di41 ui->screen_name_di41 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di41, "堵布2"); lv_label_set_long_mode(ui->screen_name_di41, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di41, 280, 413); lv_obj_set_size(ui->screen_name_di41, 155, 14); //Write style for screen_name_di41, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di41, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di41, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di41, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di41, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di42 ui->screen_name_di42 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di42, "控制箱手动3"); lv_label_set_long_mode(ui->screen_name_di42, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di42, 480, 413); lv_obj_set_size(ui->screen_name_di42, 155, 14); //Write style for screen_name_di42, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di42, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di42, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di42, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di42, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di43 ui->screen_name_di43 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di43, "缠车3"); lv_label_set_long_mode(ui->screen_name_di43, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di43, 680, 413); lv_obj_set_size(ui->screen_name_di43, 155, 14); //Write style for screen_name_di43, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di43, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di43, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di43, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di43, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di44 ui->screen_name_di44 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di44, "布头3"); lv_label_set_long_mode(ui->screen_name_di44, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di44, 80, 453); lv_obj_set_size(ui->screen_name_di44, 55, 14); //Write style for screen_name_di44, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di44, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di44, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di44, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di44, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di45 ui->screen_name_di45 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di45, "布轮正转3"); lv_label_set_long_mode(ui->screen_name_di45, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di45, 280, 453); lv_obj_set_size(ui->screen_name_di45, 155, 14); //Write style for screen_name_di45, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di45, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di45, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di45, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di45, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di46 ui->screen_name_di46 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di46, "布轮反转3"); lv_label_set_long_mode(ui->screen_name_di46, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di46, 480, 453); lv_obj_set_size(ui->screen_name_di46, 155, 14); //Write style for screen_name_di46, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di46, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di46, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di46, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di46, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di47 ui->screen_name_di47 = lv_label_create(ui->screen_DI_t1); lv_label_set_text(ui->screen_name_di47, "布轮过载3"); lv_label_set_long_mode(ui->screen_name_di47, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di47, 680, 453); lv_obj_set_size(ui->screen_name_di47, 155, 14); //Write style for screen_name_di47, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di47, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di47, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di47, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di47, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_di1 ui->screen_di1 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di1, 255); lv_led_set_color(ui->screen_di1, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di1, 50, 10); lv_obj_set_size(ui->screen_di1, 20, 20); //Write codes screen_di2 ui->screen_di2 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di2, 255); lv_led_set_color(ui->screen_di2, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di2, 250, 10); lv_obj_set_size(ui->screen_di2, 20, 20); //Write codes screen_di3 ui->screen_di3 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di3, 255); lv_led_set_color(ui->screen_di3, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di3, 450, 10); lv_obj_set_size(ui->screen_di3, 20, 20); //Write codes screen_di4 ui->screen_di4 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di4, 255); lv_led_set_color(ui->screen_di4, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di4, 650, 10); lv_obj_set_size(ui->screen_di4, 20, 20); //Write codes screen_di5 ui->screen_di5 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di5, 255); lv_led_set_color(ui->screen_di5, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di5, 50, 50); lv_obj_set_size(ui->screen_di5, 20, 20); //Write codes screen_di6 ui->screen_di6 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di6, 255); lv_led_set_color(ui->screen_di6, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di6, 250, 50); lv_obj_set_size(ui->screen_di6, 20, 20); //Write codes screen_di7 ui->screen_di7 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di7, 255); lv_led_set_color(ui->screen_di7, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di7, 450, 50); lv_obj_set_size(ui->screen_di7, 20, 20); //Write codes screen_di8 ui->screen_di8 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di8, 255); lv_led_set_color(ui->screen_di8, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di8, 650, 50); lv_obj_set_size(ui->screen_di8, 20, 20); //Write codes screen_di9 ui->screen_di9 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di9, 255); lv_led_set_color(ui->screen_di9, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di9, 50, 90); lv_obj_set_size(ui->screen_di9, 20, 20); //Write codes screen_di10 ui->screen_di10 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di10, 255); lv_led_set_color(ui->screen_di10, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di10, 250, 90); lv_obj_set_size(ui->screen_di10, 20, 20); //Write codes screen_di11 ui->screen_di11 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di11, 255); lv_led_set_color(ui->screen_di11, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di11, 450, 90); lv_obj_set_size(ui->screen_di11, 20, 20); //Write codes screen_di12 ui->screen_di12 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di12, 255); lv_led_set_color(ui->screen_di12, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di12, 650, 90); lv_obj_set_size(ui->screen_di12, 20, 20); //Write codes screen_di13 ui->screen_di13 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di13, 255); lv_led_set_color(ui->screen_di13, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di13, 50, 130); lv_obj_set_size(ui->screen_di13, 20, 20); //Write codes screen_di14 ui->screen_di14 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di14, 255); lv_led_set_color(ui->screen_di14, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di14, 250, 130); lv_obj_set_size(ui->screen_di14, 20, 20); //Write codes screen_di15 ui->screen_di15 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di15, 255); lv_led_set_color(ui->screen_di15, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di15, 450, 130); lv_obj_set_size(ui->screen_di15, 20, 20); //Write codes screen_di16 ui->screen_di16 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di16, 255); lv_led_set_color(ui->screen_di16, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di16, 650, 130); lv_obj_set_size(ui->screen_di16, 20, 20); //Write codes screen_di17 ui->screen_di17 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di17, 255); lv_led_set_color(ui->screen_di17, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di17, 50, 170); lv_obj_set_size(ui->screen_di17, 20, 20); //Write codes screen_di18 ui->screen_di18 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di18, 255); lv_led_set_color(ui->screen_di18, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di18, 250, 170); lv_obj_set_size(ui->screen_di18, 20, 20); //Write codes screen_di19 ui->screen_di19 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di19, 255); lv_led_set_color(ui->screen_di19, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di19, 450, 170); lv_obj_set_size(ui->screen_di19, 20, 20); //Write codes screen_di20 ui->screen_di20 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di20, 255); lv_led_set_color(ui->screen_di20, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di20, 650, 170); lv_obj_set_size(ui->screen_di20, 20, 20); //Write codes screen_di21 ui->screen_di21 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di21, 255); lv_led_set_color(ui->screen_di21, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di21, 50, 210); lv_obj_set_size(ui->screen_di21, 20, 20); //Write codes screen_di22 ui->screen_di22 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di22, 255); lv_led_set_color(ui->screen_di22, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di22, 250, 210); lv_obj_set_size(ui->screen_di22, 20, 20); //Write codes screen_di23 ui->screen_di23 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di23, 255); lv_led_set_color(ui->screen_di23, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di23, 450, 210); lv_obj_set_size(ui->screen_di23, 20, 20); //Write codes screen_di24 ui->screen_di24 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di24, 255); lv_led_set_color(ui->screen_di24, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di24, 650, 210); lv_obj_set_size(ui->screen_di24, 20, 20); //Write codes screen_di25 ui->screen_di25 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di25, 255); lv_led_set_color(ui->screen_di25, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di25, 50, 250); lv_obj_set_size(ui->screen_di25, 20, 20); //Write codes screen_di26 ui->screen_di26 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di26, 255); lv_led_set_color(ui->screen_di26, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di26, 250, 250); lv_obj_set_size(ui->screen_di26, 20, 20); //Write codes screen_di27 ui->screen_di27 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di27, 255); lv_led_set_color(ui->screen_di27, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di27, 450, 250); lv_obj_set_size(ui->screen_di27, 20, 20); //Write codes screen_di28 ui->screen_di28 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di28, 255); lv_led_set_color(ui->screen_di28, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di28, 650, 250); lv_obj_set_size(ui->screen_di28, 20, 20); //Write codes screen_di29 ui->screen_di29 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di29, 255); lv_led_set_color(ui->screen_di29, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di29, 50, 290); lv_obj_set_size(ui->screen_di29, 20, 20); //Write codes screen_di30 ui->screen_di30 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di30, 255); lv_led_set_color(ui->screen_di30, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di30, 250, 290); lv_obj_set_size(ui->screen_di30, 20, 20); //Write codes screen_di31 ui->screen_di31 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di31, 255); lv_led_set_color(ui->screen_di31, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di31, 450, 290); lv_obj_set_size(ui->screen_di31, 20, 20); //Write codes screen_di32 ui->screen_di32 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di32, 255); lv_led_set_color(ui->screen_di32, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di32, 650, 290); lv_obj_set_size(ui->screen_di32, 20, 20); //Write codes screen_di33 ui->screen_di33 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di33, 255); lv_led_set_color(ui->screen_di33, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di33, 50, 330); lv_obj_set_size(ui->screen_di33, 20, 20); //Write codes screen_di34 ui->screen_di34 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di34, 255); lv_led_set_color(ui->screen_di34, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di34, 250, 330); lv_obj_set_size(ui->screen_di34, 20, 20); //Write codes screen_di35 ui->screen_di35 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di35, 255); lv_led_set_color(ui->screen_di35, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di35, 450, 330); lv_obj_set_size(ui->screen_di35, 20, 20); //Write codes screen_di36 ui->screen_di36 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di36, 255); lv_led_set_color(ui->screen_di36, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di36, 650, 330); lv_obj_set_size(ui->screen_di36, 20, 20); //Write codes screen_di37 ui->screen_di37 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di37, 255); lv_led_set_color(ui->screen_di37, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di37, 50, 370); lv_obj_set_size(ui->screen_di37, 20, 20); //Write codes screen_di38 ui->screen_di38 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di38, 255); lv_led_set_color(ui->screen_di38, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di38, 250, 370); lv_obj_set_size(ui->screen_di38, 20, 20); //Write codes screen_di39 ui->screen_di39 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di39, 255); lv_led_set_color(ui->screen_di39, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di39, 450, 370); lv_obj_set_size(ui->screen_di39, 20, 20); //Write codes screen_di40 ui->screen_di40 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di40, 255); lv_led_set_color(ui->screen_di40, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di40, 650, 370); lv_obj_set_size(ui->screen_di40, 20, 20); //Write codes screen_di41 ui->screen_di41 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di41, 255); lv_led_set_color(ui->screen_di41, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di41, 50, 410); lv_obj_set_size(ui->screen_di41, 20, 20); //Write codes screen_di42 ui->screen_di42 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di42, 255); lv_led_set_color(ui->screen_di42, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di42, 250, 410); lv_obj_set_size(ui->screen_di42, 20, 20); //Write codes screen_di43 ui->screen_di43 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di43, 255); lv_led_set_color(ui->screen_di43, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di43, 450, 410); lv_obj_set_size(ui->screen_di43, 20, 20); //Write codes screen_di44 ui->screen_di44 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di44, 255); lv_led_set_color(ui->screen_di44, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di44, 650, 410); lv_obj_set_size(ui->screen_di44, 20, 20); //Write codes screen_di45 ui->screen_di45 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di45, 255); lv_led_set_color(ui->screen_di45, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di45, 50, 450); lv_obj_set_size(ui->screen_di45, 20, 20); //Write codes screen_di46 ui->screen_di46 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di46, 255); lv_led_set_color(ui->screen_di46, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di46, 250, 450); lv_obj_set_size(ui->screen_di46, 20, 20); //Write codes screen_di47 ui->screen_di47 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di47, 255); lv_led_set_color(ui->screen_di47, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di47, 450, 450); lv_obj_set_size(ui->screen_di47, 20, 20); //Write codes screen_di48 ui->screen_di48 = lv_led_create(ui->screen_DI_t1); lv_led_set_brightness(ui->screen_di48, 255); lv_led_set_color(ui->screen_di48, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di48, 650, 450); lv_obj_set_size(ui->screen_di48, 20, 20); //Write codes screen_DI_t2 ui->screen_DI_t2 = lv_obj_create(ui->screen_w_io_tab_1); lv_obj_set_pos(ui->screen_DI_t2, 0, 0); lv_obj_set_size(ui->screen_DI_t2, 830, 500); lv_obj_set_scrollbar_mode(ui->screen_DI_t2, LV_SCROLLBAR_MODE_OFF); lv_obj_add_flag(ui->screen_DI_t2, LV_OBJ_FLAG_HIDDEN); //Write style for screen_DI_t2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_DI_t2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_DI_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_DI_t2, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_DI_t2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_DI_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_DI_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_DI_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_DI_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_DI_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_DI_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_DI_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di63 ui->screen_name_di63 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di63, "DI63"); lv_label_set_long_mode(ui->screen_name_di63, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di63, 680, 133); lv_obj_set_size(ui->screen_name_di63, 155, 14); //Write style for screen_name_di63, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di63, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di63, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di63, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di63, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di62 ui->screen_name_di62 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di62, "DI62"); lv_label_set_long_mode(ui->screen_name_di62, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di62, 480, 133); lv_obj_set_size(ui->screen_name_di62, 155, 14); //Write style for screen_name_di62, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di62, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di62, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di62, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di62, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di61 ui->screen_name_di61 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di61, "DI61"); lv_label_set_long_mode(ui->screen_name_di61, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di61, 280, 133); lv_obj_set_size(ui->screen_name_di61, 155, 14); //Write style for screen_name_di61, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di61, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di61, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di61, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di61, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di60 ui->screen_name_di60 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di60, "DI60"); lv_label_set_long_mode(ui->screen_name_di60, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di60, 80, 133); lv_obj_set_size(ui->screen_name_di60, 155, 14); //Write style for screen_name_di60, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di60, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di60, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di60, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di60, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di59 ui->screen_name_di59 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di59, "DI59"); lv_label_set_long_mode(ui->screen_name_di59, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di59, 680, 93); lv_obj_set_size(ui->screen_name_di59, 155, 14); //Write style for screen_name_di59, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di59, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di59, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di59, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di59, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di58 ui->screen_name_di58 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di58, "DI58"); lv_label_set_long_mode(ui->screen_name_di58, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di58, 480, 93); lv_obj_set_size(ui->screen_name_di58, 155, 14); //Write style for screen_name_di58, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di58, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di58, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di58, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di58, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di57 ui->screen_name_di57 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di57, "DI57"); lv_label_set_long_mode(ui->screen_name_di57, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di57, 280, 93); lv_obj_set_size(ui->screen_name_di57, 155, 14); //Write style for screen_name_di57, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di57, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di57, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di57, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di57, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di56 ui->screen_name_di56 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di56, "DI56"); lv_label_set_long_mode(ui->screen_name_di56, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di56, 80, 93); lv_obj_set_size(ui->screen_name_di56, 155, 14); //Write style for screen_name_di56, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di56, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di56, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di56, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di56, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di55 ui->screen_name_di55 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di55, "堵布4"); lv_label_set_long_mode(ui->screen_name_di55, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di55, 680, 53); lv_obj_set_size(ui->screen_name_di55, 155, 14); //Write style for screen_name_di55, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di55, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di55, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di55, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di55, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di54 ui->screen_name_di54 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di54, "布轮过载4"); lv_label_set_long_mode(ui->screen_name_di54, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di54, 480, 53); lv_obj_set_size(ui->screen_name_di54, 155, 14); //Write style for screen_name_di54, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di54, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di54, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di54, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di54, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di53 ui->screen_name_di53 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di53, "布轮反转4"); lv_label_set_long_mode(ui->screen_name_di53, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di53, 280, 53); lv_obj_set_size(ui->screen_name_di53, 155, 14); //Write style for screen_name_di53, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di53, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di53, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di53, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di53, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di52 ui->screen_name_di52 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di52, "布轮正转4"); lv_label_set_long_mode(ui->screen_name_di52, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di52, 80, 53); lv_obj_set_size(ui->screen_name_di52, 155, 14); //Write style for screen_name_di52, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di52, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di52, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di52, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di52, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di51 ui->screen_name_di51 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di51, "布头4"); lv_label_set_long_mode(ui->screen_name_di51, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di51, 680, 13); lv_obj_set_size(ui->screen_name_di51, 155, 14); //Write style for screen_name_di51, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di51, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di51, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di51, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di51, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di50 ui->screen_name_di50 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di50, "缠车4"); lv_label_set_long_mode(ui->screen_name_di50, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di50, 480, 13); lv_obj_set_size(ui->screen_name_di50, 155, 14); //Write style for screen_name_di50, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di50, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di50, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di50, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di50, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di49 ui->screen_name_di49 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di49, "控制箱手动4"); lv_label_set_long_mode(ui->screen_name_di49, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di49, 280, 13); lv_obj_set_size(ui->screen_name_di49, 155, 14); //Write style for screen_name_di49, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di49, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di49, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di49, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di49, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_di48 ui->screen_name_di48 = lv_label_create(ui->screen_DI_t2); lv_label_set_text(ui->screen_name_di48, "堵布3"); lv_label_set_long_mode(ui->screen_name_di48, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_di48, 80, 13); lv_obj_set_size(ui->screen_name_di48, 155, 14); //Write style for screen_name_di48, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_di48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_di48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_di48, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_di48, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_di48, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_di48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_di48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_di48, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_di48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_di48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_di48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_di48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_di48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_di48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_di64 ui->screen_di64 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di64, 255); lv_led_set_color(ui->screen_di64, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di64, 650, 130); lv_obj_set_size(ui->screen_di64, 20, 20); //Write codes screen_di63 ui->screen_di63 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di63, 255); lv_led_set_color(ui->screen_di63, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di63, 450, 130); lv_obj_set_size(ui->screen_di63, 20, 20); //Write codes screen_di62 ui->screen_di62 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di62, 255); lv_led_set_color(ui->screen_di62, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di62, 250, 130); lv_obj_set_size(ui->screen_di62, 20, 20); //Write codes screen_di61 ui->screen_di61 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di61, 255); lv_led_set_color(ui->screen_di61, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di61, 50, 130); lv_obj_set_size(ui->screen_di61, 20, 20); //Write codes screen_di60 ui->screen_di60 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di60, 255); lv_led_set_color(ui->screen_di60, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di60, 650, 90); lv_obj_set_size(ui->screen_di60, 20, 20); //Write codes screen_di59 ui->screen_di59 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di59, 255); lv_led_set_color(ui->screen_di59, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di59, 450, 90); lv_obj_set_size(ui->screen_di59, 20, 20); //Write codes screen_di58 ui->screen_di58 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di58, 255); lv_led_set_color(ui->screen_di58, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di58, 250, 90); lv_obj_set_size(ui->screen_di58, 20, 20); //Write codes screen_di57 ui->screen_di57 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di57, 255); lv_led_set_color(ui->screen_di57, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di57, 50, 90); lv_obj_set_size(ui->screen_di57, 20, 20); //Write codes screen_di56 ui->screen_di56 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di56, 255); lv_led_set_color(ui->screen_di56, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di56, 650, 50); lv_obj_set_size(ui->screen_di56, 20, 20); //Write codes screen_di55 ui->screen_di55 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di55, 255); lv_led_set_color(ui->screen_di55, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di55, 450, 50); lv_obj_set_size(ui->screen_di55, 20, 20); //Write codes screen_di54 ui->screen_di54 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di54, 255); lv_led_set_color(ui->screen_di54, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di54, 250, 50); lv_obj_set_size(ui->screen_di54, 20, 20); //Write codes screen_di53 ui->screen_di53 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di53, 255); lv_led_set_color(ui->screen_di53, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di53, 50, 50); lv_obj_set_size(ui->screen_di53, 20, 20); //Write codes screen_di52 ui->screen_di52 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di52, 255); lv_led_set_color(ui->screen_di52, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di52, 650, 10); lv_obj_set_size(ui->screen_di52, 20, 20); //Write codes screen_di51 ui->screen_di51 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di51, 255); lv_led_set_color(ui->screen_di51, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di51, 450, 10); lv_obj_set_size(ui->screen_di51, 20, 20); //Write codes screen_di50 ui->screen_di50 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di50, 255); lv_led_set_color(ui->screen_di50, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di50, 250, 10); lv_obj_set_size(ui->screen_di50, 20, 20); //Write codes screen_di49 ui->screen_di49 = lv_led_create(ui->screen_DI_t2); lv_led_set_brightness(ui->screen_di49, 255); lv_led_set_color(ui->screen_di49, lv_color_hex(0x00ff2b)); lv_obj_set_pos(ui->screen_di49, 50, 10); lv_obj_set_size(ui->screen_di49, 20, 20); //Write codes screen_btn_DIU ui->screen_btn_DIU = lv_btn_create(ui->screen_w_io_tab_1); ui->screen_btn_DIU_label = lv_label_create(ui->screen_btn_DIU); lv_label_set_text(ui->screen_btn_DIU_label, "" LV_SYMBOL_UP " "); lv_label_set_long_mode(ui->screen_btn_DIU_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_btn_DIU_label, LV_ALIGN_RIGHT_MID, 0, 0); lv_obj_set_style_pad_all(ui->screen_btn_DIU, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_btn_DIU_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_btn_DIU, 850, 10); lv_obj_set_size(ui->screen_btn_DIU, 50, 100); lv_obj_add_flag(ui->screen_btn_DIU, LV_OBJ_FLAG_HIDDEN); //Write style for screen_btn_DIU, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_btn_DIU, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_btn_DIU, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_btn_DIU, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_btn_DIU, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_btn_DIU, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_btn_DIU, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_btn_DIU, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_btn_DIU, &lv_font_simsun_26, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_btn_DIU, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_btn_DIU, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_btn_DID ui->screen_btn_DID = lv_btn_create(ui->screen_w_io_tab_1); ui->screen_btn_DID_label = lv_label_create(ui->screen_btn_DID); lv_label_set_text(ui->screen_btn_DID_label, "" LV_SYMBOL_DOWN " "); lv_label_set_long_mode(ui->screen_btn_DID_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_btn_DID_label, LV_ALIGN_RIGHT_MID, 0, 0); lv_obj_set_style_pad_all(ui->screen_btn_DID, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_btn_DID_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_btn_DID, 850, 360); lv_obj_set_size(ui->screen_btn_DID, 50, 100); //Write style for screen_btn_DID, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_btn_DID, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_btn_DID, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_btn_DID, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_btn_DID, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_btn_DID, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_btn_DID, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_btn_DID, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_btn_DID, &lv_font_simsun_26, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_btn_DID, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_btn_DID, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes DO ui->screen_w_io_tab_2 = lv_tabview_add_tab(ui->screen_w_io,"DO"); lv_obj_t * screen_w_io_tab_2_label = lv_label_create(ui->screen_w_io_tab_2); lv_label_set_text(screen_w_io_tab_2_label, ""); //Write codes screen_DO_t2 ui->screen_DO_t2 = lv_obj_create(ui->screen_w_io_tab_2); lv_obj_set_pos(ui->screen_DO_t2, 0, 0); lv_obj_set_size(ui->screen_DO_t2, 830, 500); lv_obj_set_scrollbar_mode(ui->screen_DO_t2, LV_SCROLLBAR_MODE_OFF); lv_obj_add_flag(ui->screen_DO_t2, LV_OBJ_FLAG_HIDDEN); //Write style for screen_DO_t2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_DO_t2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_DO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_DO_t2, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_DO_t2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_DO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_DO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_DO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_DO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_DO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_DO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_DO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do48 ui->screen_name_do48 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do48, "料2比例旁通阀"); lv_label_set_long_mode(ui->screen_name_do48, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do48, 80, 13); lv_obj_set_size(ui->screen_name_do48, 155, 14); //Write style for screen_name_do48, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do48, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do48, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do48, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do48, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do49 ui->screen_name_do49 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do49, "料2排水阀"); lv_label_set_long_mode(ui->screen_name_do49, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do49, 280, 13); lv_obj_set_size(ui->screen_name_do49, 155, 14); //Write style for screen_name_do49, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do49, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do49, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do49, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do49, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do50 ui->screen_name_do50 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do50, "排水泵"); lv_label_set_long_mode(ui->screen_name_do50, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do50, 480, 13); lv_obj_set_size(ui->screen_name_do50, 155, 14); //Write style for screen_name_do50, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do50, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do50, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do50, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do50, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do51 ui->screen_name_do51 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do51, "热交换器冷凝水"); lv_label_set_long_mode(ui->screen_name_do51, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do51, 680, 13); lv_obj_set_size(ui->screen_name_do51, 155, 14); //Write style for screen_name_do51, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do51, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do51, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do51, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do51, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do51, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do52 ui->screen_name_do52 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do52, "交换器排冷却水"); lv_label_set_long_mode(ui->screen_name_do52, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do52, 80, 53); lv_obj_set_size(ui->screen_name_do52, 155, 14); //Write style for screen_name_do52, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do52, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do52, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do52, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do52, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do53 ui->screen_name_do53 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do53, "DO54"); lv_label_set_long_mode(ui->screen_name_do53, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do53, 280, 53); lv_obj_set_size(ui->screen_name_do53, 155, 14); //Write style for screen_name_do53, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do53, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do53, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do53, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do53, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do54 ui->screen_name_do54 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do54, "DO55"); lv_label_set_long_mode(ui->screen_name_do54, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do54, 480, 53); lv_obj_set_size(ui->screen_name_do54, 155, 14); //Write style for screen_name_do54, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do54, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do54, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do54, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do54, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do54, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do55 ui->screen_name_do55 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do55, "DO56"); lv_label_set_long_mode(ui->screen_name_do55, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do55, 680, 53); lv_obj_set_size(ui->screen_name_do55, 155, 14); //Write style for screen_name_do55, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do55, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do55, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do55, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do55, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do56 ui->screen_name_do56 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do56, "DO57"); lv_label_set_long_mode(ui->screen_name_do56, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do56, 80, 903); lv_obj_set_size(ui->screen_name_do56, 155, 14); //Write style for screen_name_do56, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do56, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do56, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do56, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do56, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do56, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do57 ui->screen_name_do57 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do57, "DO58"); lv_label_set_long_mode(ui->screen_name_do57, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do57, 280, 93); lv_obj_set_size(ui->screen_name_do57, 155, 14); //Write style for screen_name_do57, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do57, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do57, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do57, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do57, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do57, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do58 ui->screen_name_do58 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do58, "DO59"); lv_label_set_long_mode(ui->screen_name_do58, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do58, 480, 93); lv_obj_set_size(ui->screen_name_do58, 155, 14); //Write style for screen_name_do58, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do58, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do58, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do58, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do58, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do58, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do59 ui->screen_name_do59 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do59, "DO60"); lv_label_set_long_mode(ui->screen_name_do59, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do59, 680, 93); lv_obj_set_size(ui->screen_name_do59, 155, 14); //Write style for screen_name_do59, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do59, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do59, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do59, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do59, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do59, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do60 ui->screen_name_do60 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do60, "DO61"); lv_label_set_long_mode(ui->screen_name_do60, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do60, 80, 133); lv_obj_set_size(ui->screen_name_do60, 155, 14); //Write style for screen_name_do60, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do60, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do60, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do60, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do60, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do60, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do61 ui->screen_name_do61 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do61, "DO62"); lv_label_set_long_mode(ui->screen_name_do61, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do61, 280, 133); lv_obj_set_size(ui->screen_name_do61, 155, 14); //Write style for screen_name_do61, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do61, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do61, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do61, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do61, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do61, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do62 ui->screen_name_do62 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do62, "DO63"); lv_label_set_long_mode(ui->screen_name_do62, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do62, 480, 133); lv_obj_set_size(ui->screen_name_do62, 155, 14); //Write style for screen_name_do62, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do62, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do62, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do62, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do62, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do62, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do63 ui->screen_name_do63 = lv_label_create(ui->screen_DO_t2); lv_label_set_text(ui->screen_name_do63, "DO64"); lv_label_set_long_mode(ui->screen_name_do63, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do63, 680, 133); lv_obj_set_size(ui->screen_name_do63, 155, 14); //Write style for screen_name_do63, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do63, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do63, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do63, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do63, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do63, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_do48 ui->screen_do48 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do48, 255); lv_led_set_color(ui->screen_do48, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do48, 50, 10); lv_obj_set_size(ui->screen_do48, 20, 20); //Write codes screen_do49 ui->screen_do49 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do49, 255); lv_led_set_color(ui->screen_do49, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do49, 250, 10); lv_obj_set_size(ui->screen_do49, 20, 20); //Write codes screen_do50 ui->screen_do50 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do50, 255); lv_led_set_color(ui->screen_do50, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do50, 450, 10); lv_obj_set_size(ui->screen_do50, 20, 20); //Write codes screen_do51 ui->screen_do51 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do51, 255); lv_led_set_color(ui->screen_do51, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do51, 650, 10); lv_obj_set_size(ui->screen_do51, 20, 20); //Write codes screen_do52 ui->screen_do52 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do52, 255); lv_led_set_color(ui->screen_do52, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do52, 50, 50); lv_obj_set_size(ui->screen_do52, 20, 20); //Write codes screen_do53 ui->screen_do53 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do53, 255); lv_led_set_color(ui->screen_do53, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do53, 250, 50); lv_obj_set_size(ui->screen_do53, 20, 20); //Write codes screen_do54 ui->screen_do54 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do54, 255); lv_led_set_color(ui->screen_do54, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do54, 450, 50); lv_obj_set_size(ui->screen_do54, 20, 20); //Write codes screen_do55 ui->screen_do55 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do55, 255); lv_led_set_color(ui->screen_do55, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do55, 650, 50); lv_obj_set_size(ui->screen_do55, 20, 20); //Write codes screen_do56 ui->screen_do56 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do56, 255); lv_led_set_color(ui->screen_do56, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do56, 50, 90); lv_obj_set_size(ui->screen_do56, 20, 20); //Write codes screen_do57 ui->screen_do57 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do57, 255); lv_led_set_color(ui->screen_do57, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do57, 250, 90); lv_obj_set_size(ui->screen_do57, 20, 20); //Write codes screen_do58 ui->screen_do58 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do58, 255); lv_led_set_color(ui->screen_do58, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do58, 450, 90); lv_obj_set_size(ui->screen_do58, 20, 20); //Write codes screen_do59 ui->screen_do59 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do59, 255); lv_led_set_color(ui->screen_do59, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do59, 650, 90); lv_obj_set_size(ui->screen_do59, 20, 20); //Write codes screen_do60 ui->screen_do60 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do60, 255); lv_led_set_color(ui->screen_do60, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do60, 50, 130); lv_obj_set_size(ui->screen_do60, 20, 20); //Write codes screen_do61 ui->screen_do61 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do61, 255); lv_led_set_color(ui->screen_do61, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do61, 250, 130); lv_obj_set_size(ui->screen_do61, 20, 20); //Write codes screen_do62 ui->screen_do62 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do62, 255); lv_led_set_color(ui->screen_do62, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do62, 450, 130); lv_obj_set_size(ui->screen_do62, 20, 20); //Write codes screen_do63 ui->screen_do63 = lv_led_create(ui->screen_DO_t2); lv_led_set_brightness(ui->screen_do63, 255); lv_led_set_color(ui->screen_do63, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do63, 650, 130); lv_obj_set_size(ui->screen_do63, 20, 20); //Write codes screen_DO_t1 ui->screen_DO_t1 = lv_obj_create(ui->screen_w_io_tab_2); lv_obj_set_pos(ui->screen_DO_t1, 0, 0); lv_obj_set_size(ui->screen_DO_t1, 830, 500); lv_obj_set_scrollbar_mode(ui->screen_DO_t1, LV_SCROLLBAR_MODE_OFF); //Write style for screen_DO_t1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_DO_t1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_DO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_DO_t1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_DO_t1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_DO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_DO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_DO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_DO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_DO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_DO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_DO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_do0 ui->screen_do0 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do0, 255); lv_led_set_color(ui->screen_do0, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do0, 50, 10); lv_obj_set_size(ui->screen_do0, 20, 20); //Write codes screen_do1 ui->screen_do1 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do1, 255); lv_led_set_color(ui->screen_do1, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do1, 250, 10); lv_obj_set_size(ui->screen_do1, 20, 20); //Write codes screen_do2 ui->screen_do2 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do2, 255); lv_led_set_color(ui->screen_do2, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do2, 450, 10); lv_obj_set_size(ui->screen_do2, 20, 20); //Write codes screen_do3 ui->screen_do3 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do3, 255); lv_led_set_color(ui->screen_do3, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do3, 650, 10); lv_obj_set_size(ui->screen_do3, 20, 20); //Write codes screen_do4 ui->screen_do4 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do4, 255); lv_led_set_color(ui->screen_do4, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do4, 50, 50); lv_obj_set_size(ui->screen_do4, 20, 20); //Write codes screen_do5 ui->screen_do5 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do5, 255); lv_led_set_color(ui->screen_do5, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do5, 250, 50); lv_obj_set_size(ui->screen_do5, 20, 20); //Write codes screen_do6 ui->screen_do6 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do6, 255); lv_led_set_color(ui->screen_do6, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do6, 450, 50); lv_obj_set_size(ui->screen_do6, 20, 20); //Write codes screen_do7 ui->screen_do7 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do7, 255); lv_led_set_color(ui->screen_do7, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do7, 650, 50); lv_obj_set_size(ui->screen_do7, 20, 20); //Write codes screen_do8 ui->screen_do8 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do8, 255); lv_led_set_color(ui->screen_do8, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do8, 50, 90); lv_obj_set_size(ui->screen_do8, 20, 20); //Write codes screen_do9 ui->screen_do9 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do9, 255); lv_led_set_color(ui->screen_do9, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do9, 250, 90); lv_obj_set_size(ui->screen_do9, 20, 20); //Write codes screen_do10 ui->screen_do10 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do10, 255); lv_led_set_color(ui->screen_do10, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do10, 450, 90); lv_obj_set_size(ui->screen_do10, 20, 20); //Write codes screen_do11 ui->screen_do11 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do11, 255); lv_led_set_color(ui->screen_do11, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do11, 650, 90); lv_obj_set_size(ui->screen_do11, 20, 20); //Write codes screen_do12 ui->screen_do12 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do12, 255); lv_led_set_color(ui->screen_do12, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do12, 50, 130); lv_obj_set_size(ui->screen_do12, 20, 20); //Write codes screen_do13 ui->screen_do13 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do13, 255); lv_led_set_color(ui->screen_do13, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do13, 250, 130); lv_obj_set_size(ui->screen_do13, 20, 20); //Write codes screen_do14 ui->screen_do14 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do14, 255); lv_led_set_color(ui->screen_do14, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do14, 450, 130); lv_obj_set_size(ui->screen_do14, 20, 20); //Write codes screen_do15 ui->screen_do15 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do15, 255); lv_led_set_color(ui->screen_do15, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do15, 650, 130); lv_obj_set_size(ui->screen_do15, 20, 20); //Write codes screen_do16 ui->screen_do16 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do16, 255); lv_led_set_color(ui->screen_do16, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do16, 50, 170); lv_obj_set_size(ui->screen_do16, 20, 20); //Write codes screen_do17 ui->screen_do17 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do17, 255); lv_led_set_color(ui->screen_do17, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do17, 250, 170); lv_obj_set_size(ui->screen_do17, 20, 20); //Write codes screen_do18 ui->screen_do18 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do18, 255); lv_led_set_color(ui->screen_do18, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do18, 450, 170); lv_obj_set_size(ui->screen_do18, 20, 20); //Write codes screen_do19 ui->screen_do19 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do19, 255); lv_led_set_color(ui->screen_do19, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do19, 650, 170); lv_obj_set_size(ui->screen_do19, 20, 20); //Write codes screen_do20 ui->screen_do20 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do20, 255); lv_led_set_color(ui->screen_do20, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do20, 50, 210); lv_obj_set_size(ui->screen_do20, 20, 20); //Write codes screen_do21 ui->screen_do21 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do21, 255); lv_led_set_color(ui->screen_do21, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do21, 250, 210); lv_obj_set_size(ui->screen_do21, 20, 20); //Write codes screen_do22 ui->screen_do22 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do22, 255); lv_led_set_color(ui->screen_do22, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do22, 450, 210); lv_obj_set_size(ui->screen_do22, 20, 20); //Write codes screen_do23 ui->screen_do23 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do23, 255); lv_led_set_color(ui->screen_do23, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do23, 650, 210); lv_obj_set_size(ui->screen_do23, 20, 20); //Write codes screen_do24 ui->screen_do24 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do24, 255); lv_led_set_color(ui->screen_do24, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do24, 50, 250); lv_obj_set_size(ui->screen_do24, 20, 20); //Write codes screen_do25 ui->screen_do25 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do25, 255); lv_led_set_color(ui->screen_do25, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do25, 250, 250); lv_obj_set_size(ui->screen_do25, 20, 20); //Write codes screen_do26 ui->screen_do26 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do26, 255); lv_led_set_color(ui->screen_do26, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do26, 450, 250); lv_obj_set_size(ui->screen_do26, 20, 20); //Write codes screen_do27 ui->screen_do27 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do27, 255); lv_led_set_color(ui->screen_do27, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do27, 650, 250); lv_obj_set_size(ui->screen_do27, 20, 20); //Write codes screen_do28 ui->screen_do28 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do28, 255); lv_led_set_color(ui->screen_do28, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do28, 50, 290); lv_obj_set_size(ui->screen_do28, 20, 20); //Write codes screen_do29 ui->screen_do29 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do29, 255); lv_led_set_color(ui->screen_do29, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do29, 250, 290); lv_obj_set_size(ui->screen_do29, 20, 20); //Write codes screen_do30 ui->screen_do30 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do30, 255); lv_led_set_color(ui->screen_do30, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do30, 450, 290); lv_obj_set_size(ui->screen_do30, 20, 20); //Write codes screen_do31 ui->screen_do31 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do31, 255); lv_led_set_color(ui->screen_do31, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do31, 650, 290); lv_obj_set_size(ui->screen_do31, 20, 20); //Write codes screen_do32 ui->screen_do32 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do32, 255); lv_led_set_color(ui->screen_do32, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do32, 50, 330); lv_obj_set_size(ui->screen_do32, 20, 20); //Write codes screen_do33 ui->screen_do33 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do33, 255); lv_led_set_color(ui->screen_do33, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do33, 250, 330); lv_obj_set_size(ui->screen_do33, 20, 20); //Write codes screen_do34 ui->screen_do34 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do34, 255); lv_led_set_color(ui->screen_do34, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do34, 450, 330); lv_obj_set_size(ui->screen_do34, 20, 20); //Write codes screen_do35 ui->screen_do35 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do35, 255); lv_led_set_color(ui->screen_do35, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do35, 650, 330); lv_obj_set_size(ui->screen_do35, 20, 20); //Write codes screen_do36 ui->screen_do36 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do36, 255); lv_led_set_color(ui->screen_do36, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do36, 50, 370); lv_obj_set_size(ui->screen_do36, 20, 20); //Write codes screen_do37 ui->screen_do37 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do37, 255); lv_led_set_color(ui->screen_do37, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do37, 250, 370); lv_obj_set_size(ui->screen_do37, 20, 20); //Write codes screen_do38 ui->screen_do38 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do38, 255); lv_led_set_color(ui->screen_do38, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do38, 450, 370); lv_obj_set_size(ui->screen_do38, 20, 20); //Write codes screen_do39 ui->screen_do39 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do39, 255); lv_led_set_color(ui->screen_do39, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do39, 650, 370); lv_obj_set_size(ui->screen_do39, 20, 20); //Write codes screen_do40 ui->screen_do40 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do40, 255); lv_led_set_color(ui->screen_do40, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do40, 50, 410); lv_obj_set_size(ui->screen_do40, 20, 20); //Write codes screen_do41 ui->screen_do41 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do41, 255); lv_led_set_color(ui->screen_do41, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do41, 250, 410); lv_obj_set_size(ui->screen_do41, 20, 20); //Write codes screen_do42 ui->screen_do42 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do42, 255); lv_led_set_color(ui->screen_do42, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do42, 450, 410); lv_obj_set_size(ui->screen_do42, 20, 20); //Write codes screen_do43 ui->screen_do43 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do43, 255); lv_led_set_color(ui->screen_do43, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do43, 650, 410); lv_obj_set_size(ui->screen_do43, 20, 20); //Write codes screen_do44 ui->screen_do44 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do44, 255); lv_led_set_color(ui->screen_do44, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do44, 50, 450); lv_obj_set_size(ui->screen_do44, 20, 20); //Write codes screen_do45 ui->screen_do45 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do45, 255); lv_led_set_color(ui->screen_do45, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do45, 250, 450); lv_obj_set_size(ui->screen_do45, 20, 20); //Write codes screen_do46 ui->screen_do46 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do46, 255); lv_led_set_color(ui->screen_do46, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do46, 450, 450); lv_obj_set_size(ui->screen_do46, 20, 20); //Write codes screen_do47 ui->screen_do47 = lv_led_create(ui->screen_DO_t1); lv_led_set_brightness(ui->screen_do47, 255); lv_led_set_color(ui->screen_do47, lv_color_hex(0xff0027)); lv_obj_set_pos(ui->screen_do47, 650, 450); lv_obj_set_size(ui->screen_do47, 20, 20); //Write codes screen_name_do47 ui->screen_name_do47 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do47, "料2加料阀"); lv_label_set_long_mode(ui->screen_name_do47, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do47, 680, 453); lv_obj_set_size(ui->screen_name_do47, 155, 14); //Write style for screen_name_do47, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do47, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do47, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do47, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do47, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do47, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do46 ui->screen_name_do46 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do46, "料2搅拌阀"); lv_label_set_long_mode(ui->screen_name_do46, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do46, 480, 453); lv_obj_set_size(ui->screen_name_do46, 155, 14); //Write style for screen_name_do46, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do46, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do46, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do46, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do46, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do46, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do45 ui->screen_name_do45 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do45, "料2搅拌器"); lv_label_set_long_mode(ui->screen_name_do45, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do45, 280, 453); lv_obj_set_size(ui->screen_name_do45, 155, 14); //Write style for screen_name_do45, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do45, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do45, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do45, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do45, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do45, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do44 ui->screen_name_do44 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do44, "料2加热"); lv_label_set_long_mode(ui->screen_name_do44, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do44, 80, 453); lv_obj_set_size(ui->screen_name_do44, 155, 14); //Write style for screen_name_do44, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do44, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do44, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do44, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do44, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do44, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do43 ui->screen_name_do43 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do43, "料2回水"); lv_label_set_long_mode(ui->screen_name_do43, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do43, 680, 413); lv_obj_set_size(ui->screen_name_do43, 155, 14); //Write style for screen_name_do43, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do43, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do43, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do43, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do43, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do43, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do42 ui->screen_name_do42 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do42, "料2入水2"); lv_label_set_long_mode(ui->screen_name_do42, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do42, 480, 413); lv_obj_set_size(ui->screen_name_do42, 155, 14); //Write style for screen_name_do42, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do42, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do42, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do42, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do42, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do41 ui->screen_name_do41 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do41, "料2入水1"); lv_label_set_long_mode(ui->screen_name_do41, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do41, 280, 413); lv_obj_set_size(ui->screen_name_do41, 155, 14); //Write style for screen_name_do41, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do41, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do41, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do41, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do41, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do40 ui->screen_name_do40 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do40, "料2泵"); lv_label_set_long_mode(ui->screen_name_do40, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do40, 80, 413); lv_obj_set_size(ui->screen_name_do40, 155, 14); //Write style for screen_name_do40, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do40, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do40, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do40, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do40, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do39 ui->screen_name_do39 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do39, "料1排水阀"); lv_label_set_long_mode(ui->screen_name_do39, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do39, 680, 373); lv_obj_set_size(ui->screen_name_do39, 155, 14); //Write style for screen_name_do39, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do39, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do39, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do39, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do39, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do38 ui->screen_name_do38 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do38, "料1比例旁通阀"); lv_label_set_long_mode(ui->screen_name_do38, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do38, 480, 373); lv_obj_set_size(ui->screen_name_do38, 155, 14); //Write style for screen_name_do38, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do38, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do38, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do38, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do38, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do37 ui->screen_name_do37 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do37, "料1加料阀"); lv_label_set_long_mode(ui->screen_name_do37, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do37, 280, 373); lv_obj_set_size(ui->screen_name_do37, 155, 14); //Write style for screen_name_do37, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do37, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do37, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do37, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do37, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do36 ui->screen_name_do36 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do36, "料1搅拌阀"); lv_label_set_long_mode(ui->screen_name_do36, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do36, 80, 373); lv_obj_set_size(ui->screen_name_do36, 155, 14); //Write style for screen_name_do36, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do36, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do36, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do36, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do36, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do35 ui->screen_name_do35 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do35, "料1搅拌器"); lv_label_set_long_mode(ui->screen_name_do35, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do35, 680, 333); lv_obj_set_size(ui->screen_name_do35, 155, 14); //Write style for screen_name_do35, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do35, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do35, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do35, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do35, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do34 ui->screen_name_do34 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do34, "料1加热"); lv_label_set_long_mode(ui->screen_name_do34, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do34, 480, 333); lv_obj_set_size(ui->screen_name_do34, 155, 14); //Write style for screen_name_do34, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do34, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do34, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do34, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do34, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do33 ui->screen_name_do33 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do33, "料1回水"); lv_label_set_long_mode(ui->screen_name_do33, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do33, 280, 333); lv_obj_set_size(ui->screen_name_do33, 155, 14); //Write style for screen_name_do33, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do33, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do33, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do33, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do33, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do32 ui->screen_name_do32 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do32, "料1入水2"); lv_label_set_long_mode(ui->screen_name_do32, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do32, 80, 333); lv_obj_set_size(ui->screen_name_do32, 155, 14); //Write style for screen_name_do32, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do32, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do32, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do32, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do32, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do31 ui->screen_name_do31 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do31, "料1入水1"); lv_label_set_long_mode(ui->screen_name_do31, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do31, 680, 293); lv_obj_set_size(ui->screen_name_do31, 155, 14); //Write style for screen_name_do31, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do31, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do31, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do31, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do31, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do30 ui->screen_name_do30 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do30, "料药缸1泵"); lv_label_set_long_mode(ui->screen_name_do30, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do30, 480, 293); lv_obj_set_size(ui->screen_name_do30, 155, 14); //Write style for screen_name_do30, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do30, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do30, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do30, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do30, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do29 ui->screen_name_do29 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do29, "DO30"); lv_label_set_long_mode(ui->screen_name_do29, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do29, 280, 293); lv_obj_set_size(ui->screen_name_do29, 155, 14); //Write style for screen_name_do29, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do29, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do29, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do29, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do29, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do28 ui->screen_name_do28 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do28, "DO29"); lv_label_set_long_mode(ui->screen_name_do28, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do28, 80, 293); lv_obj_set_size(ui->screen_name_do28, 155, 14); //Write style for screen_name_do28, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do28, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do28, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do28, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do28, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do27 ui->screen_name_do27 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do27, "布轮反转4"); lv_label_set_long_mode(ui->screen_name_do27, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do27, 680, 253); lv_obj_set_size(ui->screen_name_do27, 155, 14); //Write style for screen_name_do27, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do27, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do27, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do27, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do27, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do26 ui->screen_name_do26 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do26, "布轮正转4"); lv_label_set_long_mode(ui->screen_name_do26, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do26, 480, 253); lv_obj_set_size(ui->screen_name_do26, 155, 14); //Write style for screen_name_do26, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do26, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do26, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do26, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do26, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do25 ui->screen_name_do25 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do25, "布轮反转3"); lv_label_set_long_mode(ui->screen_name_do25, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do25, 280, 253); lv_obj_set_size(ui->screen_name_do25, 155, 14); //Write style for screen_name_do25, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do25, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do25, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do25, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do25, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do24 ui->screen_name_do24 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do24, "布轮正转3"); lv_label_set_long_mode(ui->screen_name_do24, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do24, 80, 253); lv_obj_set_size(ui->screen_name_do24, 155, 14); //Write style for screen_name_do24, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do24, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do24, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do24, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do24, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do23 ui->screen_name_do23 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do23, "布轮反转2"); lv_label_set_long_mode(ui->screen_name_do23, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do23, 680, 213); lv_obj_set_size(ui->screen_name_do23, 155, 14); //Write style for screen_name_do23, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do23, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do23, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do23, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do23, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do22 ui->screen_name_do22 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do22, "布轮正转2"); lv_label_set_long_mode(ui->screen_name_do22, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do22, 480, 213); lv_obj_set_size(ui->screen_name_do22, 155, 14); //Write style for screen_name_do22, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do22, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do22, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do22, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do22, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do21 ui->screen_name_do21 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do21, "布轮反转1"); lv_label_set_long_mode(ui->screen_name_do21, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do21, 280, 213); lv_obj_set_size(ui->screen_name_do21, 155, 14); //Write style for screen_name_do21, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do21, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do21, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do21, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do21, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do20 ui->screen_name_do20 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do20, "布轮正转1"); lv_label_set_long_mode(ui->screen_name_do20, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do20, 80, 213); lv_obj_set_size(ui->screen_name_do20, 155, 14); //Write style for screen_name_do20, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do20, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do20, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do20, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do20, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do19 ui->screen_name_do19 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do19, "溢流阀"); lv_label_set_long_mode(ui->screen_name_do19, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do19, 680, 173); lv_obj_set_size(ui->screen_name_do19, 155, 14); //Write style for screen_name_do19, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do19, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do19, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do19, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do19, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do18 ui->screen_name_do18 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do18, "排水3"); lv_label_set_long_mode(ui->screen_name_do18, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do18, 480, 173); lv_obj_set_size(ui->screen_name_do18, 155, 14); //Write style for screen_name_do18, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do18, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do18, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do18, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do18, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do17 ui->screen_name_do17 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do17, "排水2"); lv_label_set_long_mode(ui->screen_name_do17, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do17, 280, 173); lv_obj_set_size(ui->screen_name_do17, 155, 14); //Write style for screen_name_do17, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do17, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do17, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do17, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do17, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do16 ui->screen_name_do16 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do16, "排水1"); lv_label_set_long_mode(ui->screen_name_do16, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do16, 80, 173); lv_obj_set_size(ui->screen_name_do16, 155, 14); //Write style for screen_name_do16, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do16, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do16, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do16, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do16, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do15 ui->screen_name_do15 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do15, "入水4"); lv_label_set_long_mode(ui->screen_name_do15, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do15, 680, 133); lv_obj_set_size(ui->screen_name_do15, 155, 14); //Write style for screen_name_do15, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do15, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do15, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do15, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do15, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do14 ui->screen_name_do14 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do14, "入水3"); lv_label_set_long_mode(ui->screen_name_do14, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do14, 480, 133); lv_obj_set_size(ui->screen_name_do14, 155, 14); //Write style for screen_name_do14, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do14, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do14, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do14, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do14, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do13 ui->screen_name_do13 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do13, "入水2"); lv_label_set_long_mode(ui->screen_name_do13, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do13, 280, 133); lv_obj_set_size(ui->screen_name_do13, 155, 14); //Write style for screen_name_do13, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do13, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do13, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do13, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do13, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do12 ui->screen_name_do12 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do12, "入水1"); lv_label_set_long_mode(ui->screen_name_do12, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do12, 80, 133); lv_obj_set_size(ui->screen_name_do12, 155, 14); //Write style for screen_name_do12, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do12, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do12, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do12, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do12, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do11 ui->screen_name_do11 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do11, "风机启动"); lv_label_set_long_mode(ui->screen_name_do11, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do11, 680, 93); lv_obj_set_size(ui->screen_name_do11, 155, 14); //Write style for screen_name_do11, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do11, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do11, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do11, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do11, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do10 ui->screen_name_do10 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do10, "主泵启动"); lv_label_set_long_mode(ui->screen_name_do10, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do10, 480, 93); lv_obj_set_size(ui->screen_name_do10, 155, 14); //Write style for screen_name_do10, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do10, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do10, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do10, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do10, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do9 ui->screen_name_do9 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do9, "降温阀"); lv_label_set_long_mode(ui->screen_name_do9, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do9, 280, 93); lv_obj_set_size(ui->screen_name_do9, 155, 14); //Write style for screen_name_do9, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do9, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do9, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do9, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do9, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do8 ui->screen_name_do8 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do8, "升温阀"); lv_label_set_long_mode(ui->screen_name_do8, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do8, 80, 93); lv_obj_set_size(ui->screen_name_do8, 155, 14); //Write style for screen_name_do8, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do8, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do8, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do8, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do8, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do7 ui->screen_name_do7 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do7, "排压阀"); lv_label_set_long_mode(ui->screen_name_do7, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do7, 680, 53); lv_obj_set_size(ui->screen_name_do7, 155, 14); //Write style for screen_name_do7, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do7, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do7, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do7, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do7, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do6 ui->screen_name_do6 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do6, "加压阀"); lv_label_set_long_mode(ui->screen_name_do6, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do6, 480, 53); lv_obj_set_size(ui->screen_name_do6, 155, 14); //Write style for screen_name_do6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do6, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do6, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do6, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do6, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do5 ui->screen_name_do5 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do5, "确认"); lv_label_set_long_mode(ui->screen_name_do5, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do5, 280, 53); lv_obj_set_size(ui->screen_name_do5, 155, 14); //Write style for screen_name_do5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do5, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do5, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do5, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do5, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do4 ui->screen_name_do4 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do4, "手自动"); lv_label_set_long_mode(ui->screen_name_do4, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do4, 80, 53); lv_obj_set_size(ui->screen_name_do4, 155, 14); //Write style for screen_name_do4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do4, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do4, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do4, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do4, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do3 ui->screen_name_do3 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do3, "警报"); lv_label_set_long_mode(ui->screen_name_do3, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do3, 680, 13); lv_obj_set_size(ui->screen_name_do3, 155, 14); //Write style for screen_name_do3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do3, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do3, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do2 ui->screen_name_do2 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do2, "黄"); lv_label_set_long_mode(ui->screen_name_do2, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do2, 480, 13); lv_obj_set_size(ui->screen_name_do2, 155, 14); //Write style for screen_name_do2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do2, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do1 ui->screen_name_do1 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do1, "绿"); lv_label_set_long_mode(ui->screen_name_do1, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do1, 280, 13); lv_obj_set_size(ui->screen_name_do1, 155, 14); //Write style for screen_name_do1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do1, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_name_do0 ui->screen_name_do0 = lv_label_create(ui->screen_DO_t1); lv_label_set_text(ui->screen_name_do0, "红"); lv_label_set_long_mode(ui->screen_name_do0, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_name_do0, 80, 13); lv_obj_set_size(ui->screen_name_do0, 155, 14); //Write style for screen_name_do0, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_name_do0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_name_do0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_name_do0, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_name_do0, &lv_font_simsun_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_name_do0, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_name_do0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_name_do0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_name_do0, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_name_do0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_name_do0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_name_do0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_name_do0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_name_do0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_name_do0, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_btn_DOU ui->screen_btn_DOU = lv_btn_create(ui->screen_w_io_tab_2); ui->screen_btn_DOU_label = lv_label_create(ui->screen_btn_DOU); lv_label_set_text(ui->screen_btn_DOU_label, "" LV_SYMBOL_UP " "); lv_label_set_long_mode(ui->screen_btn_DOU_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_btn_DOU_label, LV_ALIGN_RIGHT_MID, 0, 0); lv_obj_set_style_pad_all(ui->screen_btn_DOU, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_btn_DOU_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_btn_DOU, 850, 10); lv_obj_set_size(ui->screen_btn_DOU, 50, 100); lv_obj_add_flag(ui->screen_btn_DOU, LV_OBJ_FLAG_HIDDEN); //Write style for screen_btn_DOU, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_btn_DOU, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_btn_DOU, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_btn_DOU, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_btn_DOU, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_btn_DOU, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_btn_DOU, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_btn_DOU, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_btn_DOU, &lv_font_simsun_26, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_btn_DOU, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_btn_DOU, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_btn_DOD ui->screen_btn_DOD = lv_btn_create(ui->screen_w_io_tab_2); ui->screen_btn_DOD_label = lv_label_create(ui->screen_btn_DOD); lv_label_set_text(ui->screen_btn_DOD_label, "" LV_SYMBOL_DOWN " "); lv_label_set_long_mode(ui->screen_btn_DOD_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_btn_DOD_label, LV_ALIGN_RIGHT_MID, 0, 0); lv_obj_set_style_pad_all(ui->screen_btn_DOD, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_btn_DOD_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_btn_DOD, 850, 360); lv_obj_set_size(ui->screen_btn_DOD, 50, 100); //Write style for screen_btn_DOD, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_btn_DOD, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_btn_DOD, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_btn_DOD, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_btn_DOD, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_btn_DOD, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_btn_DOD, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_btn_DOD, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_btn_DOD, &lv_font_simsun_26, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_btn_DOD, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_btn_DOD, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes AIO ui->screen_w_io_tab_3 = lv_tabview_add_tab(ui->screen_w_io,"AIO"); lv_obj_t * screen_w_io_tab_3_label = lv_label_create(ui->screen_w_io_tab_3); lv_label_set_text(screen_w_io_tab_3_label, ""); //Write codes screen_AIO_t2 ui->screen_AIO_t2 = lv_obj_create(ui->screen_w_io_tab_3); lv_obj_set_pos(ui->screen_AIO_t2, 0, 0); lv_obj_set_size(ui->screen_AIO_t2, 830, 500); lv_obj_set_scrollbar_mode(ui->screen_AIO_t2, LV_SCROLLBAR_MODE_OFF); lv_obj_add_flag(ui->screen_AIO_t2, LV_OBJ_FLAG_HIDDEN); //Write style for screen_AIO_t2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO_t2, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_AIO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_AIO_t2, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_AIO_t2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO_t2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_41 ui->screen_label_41 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_41, "AO5016"); lv_label_set_long_mode(ui->screen_label_41, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_41, 450, 290); lv_obj_set_size(ui->screen_label_41, 155, 30); //Write style for screen_label_41, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_41, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_41, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_41, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_41, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_41, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_41, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_41, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_41, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_40 ui->screen_label_40 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_40, "AO5015"); lv_label_set_long_mode(ui->screen_label_40, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_40, 50, 290); lv_obj_set_size(ui->screen_label_40, 155, 30); //Write style for screen_label_40, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_40, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_40, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_40, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_40, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_40, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_40, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_40, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_40, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_39 ui->screen_label_39 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_39, "提布6"); lv_label_set_long_mode(ui->screen_label_39, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_39, 450, 250); lv_obj_set_size(ui->screen_label_39, 155, 30); //Write style for screen_label_39, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_39, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_39, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_39, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_39, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_39, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_39, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_39, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_39, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_38 ui->screen_label_38 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_38, "提布5"); lv_label_set_long_mode(ui->screen_label_38, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_38, 50, 250); lv_obj_set_size(ui->screen_label_38, 155, 30); //Write style for screen_label_38, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_38, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_38, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_38, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_38, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_38, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_38, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_38, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_38, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_37 ui->screen_label_37 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_37, "提布4"); lv_label_set_long_mode(ui->screen_label_37, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_37, 450, 210); lv_obj_set_size(ui->screen_label_37, 155, 30); //Write style for screen_label_37, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_37, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_37, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_37, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_37, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_37, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_37, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_37, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_36 ui->screen_label_36 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_36, "提布3"); lv_label_set_long_mode(ui->screen_label_36, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_36, 50, 210); lv_obj_set_size(ui->screen_label_36, 155, 30); //Write style for screen_label_36, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_36, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_36, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_36, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_36, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_36, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_36, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_36, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_35 ui->screen_label_35 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_35, "提布2"); lv_label_set_long_mode(ui->screen_label_35, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_35, 450, 170); lv_obj_set_size(ui->screen_label_35, 155, 30); //Write style for screen_label_35, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_35, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_35, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_35, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_35, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_35, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_35, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_35, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_34 ui->screen_label_34 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_34, "提布1"); lv_label_set_long_mode(ui->screen_label_34, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_34, 50, 170); lv_obj_set_size(ui->screen_label_34, 155, 30); //Write style for screen_label_34, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_34, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_34, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_34, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_34, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_34, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_34, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_34, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_33 ui->screen_label_33 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_33, "摆布"); lv_label_set_long_mode(ui->screen_label_33, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_33, 450, 130); lv_obj_set_size(ui->screen_label_33, 155, 30); //Write style for screen_label_33, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_33, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_33, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_33, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_33, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_33, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_33, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_33, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_32 ui->screen_label_32 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_32, "加料比例3"); lv_label_set_long_mode(ui->screen_label_32, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_32, 50, 130); lv_obj_set_size(ui->screen_label_32, 155, 30); //Write style for screen_label_32, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_32, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_32, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_32, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_32, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_32, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_32, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_32, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_31 ui->screen_label_31 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_31, "加料比例2"); lv_label_set_long_mode(ui->screen_label_31, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_31, 450, 90); lv_obj_set_size(ui->screen_label_31, 155, 30); //Write style for screen_label_31, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_31, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_31, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_31, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_31, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_31, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_31, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_31, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_30 ui->screen_label_30 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_30, "加料比例1"); lv_label_set_long_mode(ui->screen_label_30, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_30, 50, 91); lv_obj_set_size(ui->screen_label_30, 155, 30); //Write style for screen_label_30, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_30, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_30, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_30, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_30, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_30, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_30, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_30, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_29 ui->screen_label_29 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_29, "风机速度"); lv_label_set_long_mode(ui->screen_label_29, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_29, 450, 50); lv_obj_set_size(ui->screen_label_29, 155, 30); //Write style for screen_label_29, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_29, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_29, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_29, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_29, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_29, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_29, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_29, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_29, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_28 ui->screen_label_28 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_28, "主泵速度"); lv_label_set_long_mode(ui->screen_label_28, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_28, 50, 50); lv_obj_set_size(ui->screen_label_28, 155, 30); //Write style for screen_label_28, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_28, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_28, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_28, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_28, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_28, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_28, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_28, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_28, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_27 ui->screen_label_27 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_27, "降温比例"); lv_label_set_long_mode(ui->screen_label_27, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_27, 450, 10); lv_obj_set_size(ui->screen_label_27, 155, 30); //Write style for screen_label_27, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_27, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_27, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_27, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_27, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_27, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_27, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_27, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_26 ui->screen_label_26 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_label_26, "升温比例"); lv_label_set_long_mode(ui->screen_label_26, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_26, 50, 10); lv_obj_set_size(ui->screen_label_26, 155, 30); //Write style for screen_label_26, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_26, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_26, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_26, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_26, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_26, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_26, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_26, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5016 ui->screen_AIO5016 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5016, "0.0"); lv_label_set_long_mode(ui->screen_AIO5016, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5016, 615, 290); lv_obj_set_size(ui->screen_AIO5016, 205, 30); //Write style for screen_AIO5016, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5016, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5016, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5016, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5016, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5016, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5016, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5016, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5015 ui->screen_AIO5015 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5015, "0.0"); lv_label_set_long_mode(ui->screen_AIO5015, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5015, 215, 290); lv_obj_set_size(ui->screen_AIO5015, 205, 30); //Write style for screen_AIO5015, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5015, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5015, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5015, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5015, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5015, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5015, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5015, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5014 ui->screen_AIO5014 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5014, "0.0"); lv_label_set_long_mode(ui->screen_AIO5014, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5014, 615, 250); lv_obj_set_size(ui->screen_AIO5014, 205, 30); //Write style for screen_AIO5014, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5014, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5014, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5014, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5014, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5014, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5014, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5014, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5013 ui->screen_AIO5013 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5013, "0.0"); lv_label_set_long_mode(ui->screen_AIO5013, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5013, 215, 250); lv_obj_set_size(ui->screen_AIO5013, 205, 30); //Write style for screen_AIO5013, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5013, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5013, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5013, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5013, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5013, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5013, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5013, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5012 ui->screen_AIO5012 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5012, "0.0"); lv_label_set_long_mode(ui->screen_AIO5012, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5012, 615, 210); lv_obj_set_size(ui->screen_AIO5012, 205, 30); //Write style for screen_AIO5012, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5012, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5012, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5012, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5012, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5012, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5012, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5012, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5011 ui->screen_AIO5011 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5011, "0.0"); lv_label_set_long_mode(ui->screen_AIO5011, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5011, 215, 210); lv_obj_set_size(ui->screen_AIO5011, 205, 30); //Write style for screen_AIO5011, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5011, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5011, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5011, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5011, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5011, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5011, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5011, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5010 ui->screen_AIO5010 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5010, "0.0"); lv_label_set_long_mode(ui->screen_AIO5010, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5010, 615, 170); lv_obj_set_size(ui->screen_AIO5010, 205, 30); //Write style for screen_AIO5010, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5010, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5010, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5010, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5010, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5010, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5010, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5010, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5009 ui->screen_AIO5009 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5009, "0.0"); lv_label_set_long_mode(ui->screen_AIO5009, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5009, 215, 170); lv_obj_set_size(ui->screen_AIO5009, 205, 30); //Write style for screen_AIO5009, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5009, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5009, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5009, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5009, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5009, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5009, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5009, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5008 ui->screen_AIO5008 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5008, "0.0"); lv_label_set_long_mode(ui->screen_AIO5008, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5008, 615, 130); lv_obj_set_size(ui->screen_AIO5008, 205, 30); //Write style for screen_AIO5008, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5008, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5008, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5008, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5008, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5008, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5008, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5008, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5007 ui->screen_AIO5007 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5007, "0.0"); lv_label_set_long_mode(ui->screen_AIO5007, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5007, 215, 130); lv_obj_set_size(ui->screen_AIO5007, 205, 30); //Write style for screen_AIO5007, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5007, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5007, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5007, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5007, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5007, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5007, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5007, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5006 ui->screen_AIO5006 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5006, "0.0"); lv_label_set_long_mode(ui->screen_AIO5006, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5006, 615, 90); lv_obj_set_size(ui->screen_AIO5006, 205, 30); //Write style for screen_AIO5006, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5006, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5006, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5006, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5006, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5006, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5006, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5006, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5005 ui->screen_AIO5005 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5005, "0.0"); lv_label_set_long_mode(ui->screen_AIO5005, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5005, 215, 90); lv_obj_set_size(ui->screen_AIO5005, 205, 30); //Write style for screen_AIO5005, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5005, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5005, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5005, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5005, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5005, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5005, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5005, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5004 ui->screen_AIO5004 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5004, "0.0"); lv_label_set_long_mode(ui->screen_AIO5004, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5004, 615, 50); lv_obj_set_size(ui->screen_AIO5004, 205, 30); //Write style for screen_AIO5004, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5004, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5004, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5004, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5004, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5004, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5004, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5004, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5003 ui->screen_AIO5003 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5003, "0.0"); lv_label_set_long_mode(ui->screen_AIO5003, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5003, 215, 50); lv_obj_set_size(ui->screen_AIO5003, 205, 30); //Write style for screen_AIO5003, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5003, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5003, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5003, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5003, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5003, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5003, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5003, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5002 ui->screen_AIO5002 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5002, "0.0"); lv_label_set_long_mode(ui->screen_AIO5002, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5002, 615, 10); lv_obj_set_size(ui->screen_AIO5002, 205, 30); //Write style for screen_AIO5002, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5002, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5002, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5002, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5002, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5002, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5002, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5002, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO5001 ui->screen_AIO5001 = lv_label_create(ui->screen_AIO_t2); lv_label_set_text(ui->screen_AIO5001, "0.0"); lv_label_set_long_mode(ui->screen_AIO5001, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO5001, 215, 10); lv_obj_set_size(ui->screen_AIO5001, 205, 30); //Write style for screen_AIO5001, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO5001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO5001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO5001, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO5001, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO5001, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO5001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO5001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO5001, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO5001, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO5001, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO5001, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO5001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO5001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO5001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO5001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO5001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO_t1 ui->screen_AIO_t1 = lv_obj_create(ui->screen_w_io_tab_3); lv_obj_set_pos(ui->screen_AIO_t1, 0, 0); lv_obj_set_size(ui->screen_AIO_t1, 830, 500); lv_obj_set_scrollbar_mode(ui->screen_AIO_t1, LV_SCROLLBAR_MODE_OFF); //Write style for screen_AIO_t1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO_t1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_AIO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_AIO_t1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_AIO_t1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO_t1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_25 ui->screen_label_25 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_25, "AI4024"); lv_label_set_long_mode(ui->screen_label_25, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_25, 450, 450); lv_obj_set_size(ui->screen_label_25, 155, 30); //Write style for screen_label_25, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_25, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_25, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_25, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_25, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_25, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_25, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_25, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_24 ui->screen_label_24 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_24, "AI4023"); lv_label_set_long_mode(ui->screen_label_24, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_24, 50, 450); lv_obj_set_size(ui->screen_label_24, 155, 30); //Write style for screen_label_24, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_24, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_24, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_24, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_24, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_24, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_24, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_24, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_23 ui->screen_label_23 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_23, "PH"); lv_label_set_long_mode(ui->screen_label_23, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_23, 450, 410); lv_obj_set_size(ui->screen_label_23, 155, 30); //Write style for screen_label_23, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_23, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_23, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_23, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_23, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_23, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_23, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_23, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_22 ui->screen_label_22 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_22, "循环周期6"); lv_label_set_long_mode(ui->screen_label_22, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_22, 50, 410); lv_obj_set_size(ui->screen_label_22, 155, 30); //Write style for screen_label_22, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_22, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_22, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_22, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_22, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_22, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_22, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_22, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_21 ui->screen_label_21 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_21, "循环周期5"); lv_label_set_long_mode(ui->screen_label_21, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_21, 450, 370); lv_obj_set_size(ui->screen_label_21, 155, 30); //Write style for screen_label_21, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_21, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_21, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_21, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_21, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_21, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_21, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_21, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_20 ui->screen_label_20 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_20, "循环周期4"); lv_label_set_long_mode(ui->screen_label_20, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_20, 50, 370); lv_obj_set_size(ui->screen_label_20, 155, 30); //Write style for screen_label_20, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_20, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_20, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_20, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_20, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_20, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_20, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_20, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_19 ui->screen_label_19 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_19, "循环周期3"); lv_label_set_long_mode(ui->screen_label_19, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_19, 450, 330); lv_obj_set_size(ui->screen_label_19, 155, 30); //Write style for screen_label_19, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_19, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_19, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_19, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_19, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_19, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_19, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_19, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_19, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_18 ui->screen_label_18 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_18, "循环周期2"); lv_label_set_long_mode(ui->screen_label_18, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_18, 50, 330); lv_obj_set_size(ui->screen_label_18, 155, 30); //Write style for screen_label_18, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_18, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_18, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_18, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_18, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_18, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_18, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_18, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_18, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_17 ui->screen_label_17 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_17, "循环周期1"); lv_label_set_long_mode(ui->screen_label_17, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_17, 450, 290); lv_obj_set_size(ui->screen_label_17, 155, 30); //Write style for screen_label_17, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_17, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_17, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_17, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_17, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_17, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_17, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_17, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_16 ui->screen_label_16 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_16, "电量"); lv_label_set_long_mode(ui->screen_label_16, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_16, 50, 290); lv_obj_set_size(ui->screen_label_16, 155, 30); //Write style for screen_label_16, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_16, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_16, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_16, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_16, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_16, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_16, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_16, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_15 ui->screen_label_15 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_15, "空气流量"); lv_label_set_long_mode(ui->screen_label_15, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_15, 450, 250); lv_obj_set_size(ui->screen_label_15, 155, 30); //Write style for screen_label_15, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_15, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_15, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_15, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_15, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_15, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_15, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_15, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_14 ui->screen_label_14 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_14, "喷嘴流量"); lv_label_set_long_mode(ui->screen_label_14, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_14, 50, 250); lv_obj_set_size(ui->screen_label_14, 155, 30); //Write style for screen_label_14, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_14, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_14, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_14, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_14, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_14, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_14, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_14, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_13 ui->screen_label_13 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_13, "喷嘴压力"); lv_label_set_long_mode(ui->screen_label_13, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_13, 450, 209); lv_obj_set_size(ui->screen_label_13, 155, 30); //Write style for screen_label_13, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_13, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_13, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_13, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_13, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_13, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_13, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_13, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_12 ui->screen_label_12 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_12, "主压力"); lv_label_set_long_mode(ui->screen_label_12, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_12, 50, 210); lv_obj_set_size(ui->screen_label_12, 155, 30); //Write style for screen_label_12, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_12, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_12, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_12, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_12, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_12, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_11 ui->screen_label_11 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_11, "液位4"); lv_label_set_long_mode(ui->screen_label_11, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_11, 450, 170); lv_obj_set_size(ui->screen_label_11, 155, 30); //Write style for screen_label_11, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_11, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_11, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_11, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_11, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_11, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_10 ui->screen_label_10 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_10, "液位3"); lv_label_set_long_mode(ui->screen_label_10, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_10, 50, 170); lv_obj_set_size(ui->screen_label_10, 155, 30); //Write style for screen_label_10, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_10, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_10, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_10, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_10, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_10, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_9 ui->screen_label_9 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_9, "液位2"); lv_label_set_long_mode(ui->screen_label_9, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_9, 450, 130); lv_obj_set_size(ui->screen_label_9, 155, 30); //Write style for screen_label_9, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_9, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_9, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_9, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_9, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_9, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_9, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_9, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_8 ui->screen_label_8 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_8, "液位1"); lv_label_set_long_mode(ui->screen_label_8, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_8, 50, 130); lv_obj_set_size(ui->screen_label_8, 155, 30); //Write style for screen_label_8, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_8, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_8, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_8, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_8, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_8, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_8, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_8, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_7 ui->screen_label_7 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_7, "流量1"); lv_label_set_long_mode(ui->screen_label_7, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_7, 450, 90); lv_obj_set_size(ui->screen_label_7, 155, 30); //Write style for screen_label_7, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_7, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_7, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_7, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_7, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_7, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_7, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_7, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_6 ui->screen_label_6 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_6, "温度4"); lv_label_set_long_mode(ui->screen_label_6, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_6, 450, 50); lv_obj_set_size(ui->screen_label_6, 155, 30); //Write style for screen_label_6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_6, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_6, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_6, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_6, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_6, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_5 ui->screen_label_5 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_5, "温度5"); lv_label_set_long_mode(ui->screen_label_5, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_5, 50, 90); lv_obj_set_size(ui->screen_label_5, 155, 30); //Write style for screen_label_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_5, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_5, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_5, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_5, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_5, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_4 ui->screen_label_4 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_4, "温度3"); lv_label_set_long_mode(ui->screen_label_4, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_4, 50, 50); lv_obj_set_size(ui->screen_label_4, 155, 30); //Write style for screen_label_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_4, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_4, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_4, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_4, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_4, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_3 ui->screen_label_3 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_3, "温度2"); lv_label_set_long_mode(ui->screen_label_3, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_3, 450, 10); lv_obj_set_size(ui->screen_label_3, 155, 30); //Write style for screen_label_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_3, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_3, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_2 ui->screen_label_2 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_label_2, "温度1"); lv_label_set_long_mode(ui->screen_label_2, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_label_2, 50, 10); lv_obj_set_size(ui->screen_label_2, 155, 30); //Write style for screen_label_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_2, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_2, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_label_2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_label_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4024 ui->screen_AIO4024 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4024, "0.0"); lv_label_set_long_mode(ui->screen_AIO4024, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4024, 615, 450); lv_obj_set_size(ui->screen_AIO4024, 205, 30); //Write style for screen_AIO4024, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4024, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4024, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4024, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4024, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4024, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4024, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4024, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4024, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4024, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4024, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4024, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4024, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4024, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4024, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4024, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4024, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4023 ui->screen_AIO4023 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4023, "0.0"); lv_label_set_long_mode(ui->screen_AIO4023, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4023, 215, 450); lv_obj_set_size(ui->screen_AIO4023, 205, 30); //Write style for screen_AIO4023, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4023, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4023, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4023, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4023, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4023, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4023, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4023, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4023, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4023, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4023, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4023, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4023, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4023, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4023, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4023, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4023, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4022 ui->screen_AIO4022 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4022, "0.0"); lv_label_set_long_mode(ui->screen_AIO4022, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4022, 615, 410); lv_obj_set_size(ui->screen_AIO4022, 205, 30); //Write style for screen_AIO4022, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4022, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4022, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4022, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4022, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4022, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4022, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4022, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4022, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4022, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4022, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4022, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4022, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4022, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4022, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4022, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4022, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4021 ui->screen_AIO4021 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4021, "0.0"); lv_label_set_long_mode(ui->screen_AIO4021, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4021, 215, 410); lv_obj_set_size(ui->screen_AIO4021, 205, 30); //Write style for screen_AIO4021, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4021, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4021, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4021, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4021, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4021, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4021, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4021, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4021, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4021, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4021, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4021, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4021, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4021, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4021, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4021, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4021, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4020 ui->screen_AIO4020 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4020, "0.0"); lv_label_set_long_mode(ui->screen_AIO4020, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4020, 615, 370); lv_obj_set_size(ui->screen_AIO4020, 205, 30); //Write style for screen_AIO4020, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4020, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4020, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4020, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4020, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4020, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4020, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4020, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4020, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4020, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4020, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4020, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4020, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4020, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4020, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4020, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4020, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4019 ui->screen_AIO4019 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4019, "0.0"); lv_label_set_long_mode(ui->screen_AIO4019, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4019, 215, 370); lv_obj_set_size(ui->screen_AIO4019, 205, 30); //Write style for screen_AIO4019, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4019, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4019, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4019, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4019, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4019, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4019, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4019, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4019, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4019, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4019, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4019, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4019, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4019, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4019, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4019, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4019, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4018 ui->screen_AIO4018 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4018, "0.0"); lv_label_set_long_mode(ui->screen_AIO4018, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4018, 615, 330); lv_obj_set_size(ui->screen_AIO4018, 205, 30); //Write style for screen_AIO4018, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4018, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4018, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4018, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4018, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4018, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4018, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4018, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4018, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4018, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4018, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4018, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4018, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4018, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4018, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4018, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4018, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4017 ui->screen_AIO4017 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4017, "0.0"); lv_label_set_long_mode(ui->screen_AIO4017, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4017, 215, 330); lv_obj_set_size(ui->screen_AIO4017, 205, 30); //Write style for screen_AIO4017, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4017, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4017, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4017, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4017, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4017, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4017, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4017, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4017, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4017, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4017, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4017, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4017, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4017, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4017, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4017, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4017, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4016 ui->screen_AIO4016 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4016, "0.0"); lv_label_set_long_mode(ui->screen_AIO4016, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4016, 615, 290); lv_obj_set_size(ui->screen_AIO4016, 205, 30); //Write style for screen_AIO4016, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4016, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4016, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4016, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4016, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4016, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4016, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4016, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4016, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4015 ui->screen_AIO4015 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4015, "0.0"); lv_label_set_long_mode(ui->screen_AIO4015, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4015, 215, 290); lv_obj_set_size(ui->screen_AIO4015, 205, 30); //Write style for screen_AIO4015, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4015, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4015, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4015, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4015, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4015, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4015, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4015, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4015, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4014 ui->screen_AIO4014 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4014, "0.0"); lv_label_set_long_mode(ui->screen_AIO4014, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4014, 615, 250); lv_obj_set_size(ui->screen_AIO4014, 205, 30); //Write style for screen_AIO4014, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4014, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4014, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4014, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4014, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4014, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4014, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4014, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4014, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4013 ui->screen_AIO4013 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4013, "0.0"); lv_label_set_long_mode(ui->screen_AIO4013, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4013, 215, 250); lv_obj_set_size(ui->screen_AIO4013, 205, 30); //Write style for screen_AIO4013, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4013, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4013, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4013, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4013, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4013, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4013, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4013, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4013, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4012 ui->screen_AIO4012 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4012, "0.0"); lv_label_set_long_mode(ui->screen_AIO4012, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4012, 615, 210); lv_obj_set_size(ui->screen_AIO4012, 205, 30); //Write style for screen_AIO4012, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4012, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4012, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4012, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4012, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4012, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4012, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4012, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4012, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4011 ui->screen_AIO4011 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4011, "0.0"); lv_label_set_long_mode(ui->screen_AIO4011, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4011, 215, 210); lv_obj_set_size(ui->screen_AIO4011, 205, 30); //Write style for screen_AIO4011, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4011, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4011, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4011, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4011, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4011, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4011, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4011, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4011, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4010 ui->screen_AIO4010 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4010, "0.0"); lv_label_set_long_mode(ui->screen_AIO4010, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4010, 615, 170); lv_obj_set_size(ui->screen_AIO4010, 205, 30); //Write style for screen_AIO4010, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4010, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4010, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4010, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4010, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4010, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4010, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4010, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4010, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4009 ui->screen_AIO4009 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4009, "0.0"); lv_label_set_long_mode(ui->screen_AIO4009, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4009, 215, 170); lv_obj_set_size(ui->screen_AIO4009, 205, 30); //Write style for screen_AIO4009, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4009, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4009, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4009, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4009, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4009, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4009, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4009, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4009, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4008 ui->screen_AIO4008 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4008, "0.0"); lv_label_set_long_mode(ui->screen_AIO4008, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4008, 615, 130); lv_obj_set_size(ui->screen_AIO4008, 205, 30); //Write style for screen_AIO4008, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4008, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4008, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4008, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4008, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4008, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4008, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4008, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4008, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4007 ui->screen_AIO4007 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4007, "0.0"); lv_label_set_long_mode(ui->screen_AIO4007, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4007, 215, 130); lv_obj_set_size(ui->screen_AIO4007, 205, 30); //Write style for screen_AIO4007, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4007, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4007, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4007, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4007, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4007, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4007, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4007, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4007, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4006 ui->screen_AIO4006 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4006, "0.0"); lv_label_set_long_mode(ui->screen_AIO4006, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4006, 615, 90); lv_obj_set_size(ui->screen_AIO4006, 205, 30); //Write style for screen_AIO4006, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4006, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4006, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4006, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4006, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4006, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4006, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4006, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4006, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4005 ui->screen_AIO4005 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4005, "0.0"); lv_label_set_long_mode(ui->screen_AIO4005, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4005, 215, 90); lv_obj_set_size(ui->screen_AIO4005, 205, 30); //Write style for screen_AIO4005, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4005, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4005, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4005, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4005, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4005, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4005, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4005, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4005, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4004 ui->screen_AIO4004 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4004, "0.0"); lv_label_set_long_mode(ui->screen_AIO4004, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4004, 615, 50); lv_obj_set_size(ui->screen_AIO4004, 205, 30); //Write style for screen_AIO4004, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4004, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4004, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4004, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4004, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4004, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4004, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4004, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4004, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4003 ui->screen_AIO4003 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4003, "0.0"); lv_label_set_long_mode(ui->screen_AIO4003, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4003, 215, 50); lv_obj_set_size(ui->screen_AIO4003, 205, 30); //Write style for screen_AIO4003, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4003, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4003, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4003, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4003, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4003, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4003, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4003, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4003, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4002 ui->screen_AIO4002 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4002, "0.0"); lv_label_set_long_mode(ui->screen_AIO4002, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4002, 615, 10); lv_obj_set_size(ui->screen_AIO4002, 205, 30); //Write style for screen_AIO4002, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4002, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4002, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4002, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4002, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4002, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4002, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4002, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4002, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_AIO4001 ui->screen_AIO4001 = lv_label_create(ui->screen_AIO_t1); lv_label_set_text(ui->screen_AIO4001, "0.0"); lv_label_set_long_mode(ui->screen_AIO4001, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_AIO4001, 215, 10); lv_obj_set_size(ui->screen_AIO4001, 205, 30); //Write style for screen_AIO4001, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_AIO4001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_AIO4001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_AIO4001, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_AIO4001, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_AIO4001, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_AIO4001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_AIO4001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_AIO4001, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_AIO4001, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_AIO4001, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_AIO4001, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_AIO4001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_AIO4001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_AIO4001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_AIO4001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_AIO4001, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_btn_AIOU ui->screen_btn_AIOU = lv_btn_create(ui->screen_w_io_tab_3); ui->screen_btn_AIOU_label = lv_label_create(ui->screen_btn_AIOU); lv_label_set_text(ui->screen_btn_AIOU_label, "" LV_SYMBOL_UP " "); lv_label_set_long_mode(ui->screen_btn_AIOU_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_btn_AIOU_label, LV_ALIGN_RIGHT_MID, 0, 0); lv_obj_set_style_pad_all(ui->screen_btn_AIOU, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_btn_AIOU_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_btn_AIOU, 850, 10); lv_obj_set_size(ui->screen_btn_AIOU, 50, 100); lv_obj_add_flag(ui->screen_btn_AIOU, LV_OBJ_FLAG_HIDDEN); //Write style for screen_btn_AIOU, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_btn_AIOU, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_btn_AIOU, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_btn_AIOU, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_btn_AIOU, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_btn_AIOU, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_btn_AIOU, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_btn_AIOU, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_btn_AIOU, &lv_font_simsun_26, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_btn_AIOU, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_btn_AIOU, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_btn_AIOD ui->screen_btn_AIOD = lv_btn_create(ui->screen_w_io_tab_3); ui->screen_btn_AIOD_label = lv_label_create(ui->screen_btn_AIOD); lv_label_set_text(ui->screen_btn_AIOD_label, "" LV_SYMBOL_DOWN " "); lv_label_set_long_mode(ui->screen_btn_AIOD_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_btn_AIOD_label, LV_ALIGN_RIGHT_MID, 0, 0); lv_obj_set_style_pad_all(ui->screen_btn_AIOD, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_btn_AIOD_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_btn_AIOD, 850, 360); lv_obj_set_size(ui->screen_btn_AIOD, 50, 100); //Write style for screen_btn_AIOD, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_btn_AIOD, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_btn_AIOD, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_btn_AIOD, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_btn_AIOD, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_btn_AIOD, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_btn_AIOD, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_btn_AIOD, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_btn_AIOD, &lv_font_simsun_26, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_btn_AIOD, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_btn_AIOD, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes SET ui->screen_w_io_tab_4 = lv_tabview_add_tab(ui->screen_w_io,"SET"); lv_obj_t * screen_w_io_tab_4_label = lv_label_create(ui->screen_w_io_tab_4); lv_label_set_text(screen_w_io_tab_4_label, ""); //Write codes 程序 ui->screen_tabview_tab_4 = lv_tabview_add_tab(ui->screen_tabview,"程序"); lv_obj_t * screen_tabview_tab_4_label = lv_label_create(ui->screen_tabview_tab_4); lv_label_set_text(screen_tabview_tab_4_label, ""); //Write codes screen_pname_set ui->screen_pname_set = lv_textarea_create(ui->screen_tabview_tab_4); lv_textarea_set_text(ui->screen_pname_set, "工艺"); lv_textarea_set_placeholder_text(ui->screen_pname_set, ""); lv_textarea_set_password_bullet(ui->screen_pname_set, "*"); lv_textarea_set_password_mode(ui->screen_pname_set, false); lv_textarea_set_one_line(ui->screen_pname_set, true); lv_textarea_set_accepted_chars(ui->screen_pname_set, ""); lv_textarea_set_max_length(ui->screen_pname_set, 32); #if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 lv_obj_add_event_cb(ui->screen_pname_set, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); #endif lv_obj_set_pos(ui->screen_pname_set, 405, 0); lv_obj_set_size(ui->screen_pname_set, 514, 50); //Write style for screen_pname_set, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_text_color(ui->screen_pname_set, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_pname_set, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_pname_set, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_pname_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_pname_set, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_pname_set, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_pname_set, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_pname_set, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_pname_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_pname_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_pname_set, 8, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_pname_set, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_pname_set, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_pname_set, 4, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style for screen_pname_set, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_pname_set, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_pname_set, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_pname_set, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_pname_set, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); //Write codes screen_set_Insert ui->screen_set_Insert = lv_btn_create(ui->screen_tabview_tab_4); ui->screen_set_Insert_label = lv_label_create(ui->screen_set_Insert); lv_label_set_text(ui->screen_set_Insert_label, "插入"); lv_label_set_long_mode(ui->screen_set_Insert_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_set_Insert_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_set_Insert, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_set_Insert_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_set_Insert, 630, 440); lv_obj_set_size(ui->screen_set_Insert, 100, 50); //Write style for screen_set_Insert, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_set_Insert, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_set_Insert, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_set_Insert, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_set_Insert, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_set_Insert, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_set_Insert, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_set_Insert, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_set_Insert, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_set_Insert, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_set_Insert, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_set_Edit ui->screen_set_Edit = lv_btn_create(ui->screen_tabview_tab_4); ui->screen_set_Edit_label = lv_label_create(ui->screen_set_Edit); lv_label_set_text(ui->screen_set_Edit_label, "编辑"); lv_label_set_long_mode(ui->screen_set_Edit_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_set_Edit_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_set_Edit, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_set_Edit_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_set_Edit, 500, 440); lv_obj_set_size(ui->screen_set_Edit, 100, 50); //Write style for screen_set_Edit, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_set_Edit, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_set_Edit, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_set_Edit, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_set_Edit, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_set_Edit, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_set_Edit, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_set_Edit, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_set_Edit, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_set_Edit, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_set_Edit, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_set_Delete ui->screen_set_Delete = lv_btn_create(ui->screen_tabview_tab_4); ui->screen_set_Delete_label = lv_label_create(ui->screen_set_Delete); lv_label_set_text(ui->screen_set_Delete_label, "删除"); lv_label_set_long_mode(ui->screen_set_Delete_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_set_Delete_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_set_Delete, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_set_Delete_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_set_Delete, 760, 440); lv_obj_set_size(ui->screen_set_Delete, 100, 50); //Write style for screen_set_Delete, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_set_Delete, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_set_Delete, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_set_Delete, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_set_Delete, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_set_Delete, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_set_Delete, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_set_Delete, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_set_Delete, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_set_Delete, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_set_Delete, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_set_Save ui->screen_set_Save = lv_btn_create(ui->screen_tabview_tab_4); ui->screen_set_Save_label = lv_label_create(ui->screen_set_Save); lv_label_set_text(ui->screen_set_Save_label, "存储"); lv_label_set_long_mode(ui->screen_set_Save_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_set_Save_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_set_Save, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_set_Save_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_set_Save, 890, 439); lv_obj_set_size(ui->screen_set_Save, 100, 50); //Write style for screen_set_Save, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_set_Save, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_set_Save, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_set_Save, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_set_Save, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_set_Save, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_set_Save, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_set_Save, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_set_Save, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_set_Save, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_set_Save, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_ ui->screen_step_ = lv_label_create(ui->screen_tabview_tab_4); lv_label_set_text_static(ui->screen_step_, "0/255"); lv_label_set_long_mode(ui->screen_step_, LV_LABEL_LONG_SCROLL_CIRCULAR); lv_obj_set_pos(ui->screen_step_, 330, 440); lv_obj_set_size(ui->screen_step_, 150, 50); //Write style for screen_step_, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_step_, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_step_, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_step_, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_step_, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_step_, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_step_, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_step_, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_step_, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_step_, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_step_, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_step_, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_step_, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_set ui->screen_step_set = lv_obj_create(ui->screen_tabview_tab_4); lv_obj_set_pos(ui->screen_step_set, 305, 53); lv_obj_set_size(ui->screen_step_set, 714, 370); lv_obj_set_scrollbar_mode(ui->screen_step_set, LV_SCROLLBAR_MODE_OFF); //Write style for screen_step_set, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_step_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_step_set, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_step_set, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_step_set, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_step_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_step_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_step_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_step_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_proess_set ui->screen_proess_set = lv_obj_create(ui->screen_tabview_tab_4); lv_obj_set_pos(ui->screen_proess_set, 0, 0); lv_obj_set_size(ui->screen_proess_set, 300, 490); lv_obj_set_scrollbar_mode(ui->screen_proess_set, LV_SCROLLBAR_MODE_OFF); //Write style for screen_proess_set, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_proess_set, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_proess_set, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_proess_set, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_proess_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_55 ui->screen_label_55 = lv_label_create(ui->screen_tabview_tab_4); lv_label_set_text(ui->screen_label_55, "工艺:"); lv_label_set_long_mode(ui->screen_label_55, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_label_55, 305, 0); lv_obj_set_size(ui->screen_label_55, 100, 50); //Write style for screen_label_55, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_55, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_55, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_55, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_55, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_55, 8, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_55, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_55, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_55, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_set_new ui->screen_set_new = lv_btn_create(ui->screen_tabview_tab_4); ui->screen_set_new_label = lv_label_create(ui->screen_set_new); lv_label_set_text(ui->screen_set_new_label, "新建"); lv_label_set_long_mode(ui->screen_set_new_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_set_new_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_set_new, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_set_new_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_set_new, 928, 5); lv_obj_set_size(ui->screen_set_new, 85, 40); //Write style for screen_set_new, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_set_new, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_set_new, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_set_new, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_set_new, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_set_new, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_set_new, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_set_new, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_set_new, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_set_new, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_set_new, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes 系统 ui->screen_tabview_tab_5 = lv_tabview_add_tab(ui->screen_tabview,"系统"); lv_obj_t * screen_tabview_tab_5_label = lv_label_create(ui->screen_tabview_tab_5); lv_label_set_text(screen_tabview_tab_5_label, ""); //Write codes screen_w_5 ui->screen_w_5 = lv_obj_create(ui->screen_tabview_tab_5); lv_obj_set_pos(ui->screen_w_5, 0, 0); lv_obj_set_size(ui->screen_w_5, 800, 470); lv_obj_set_scrollbar_mode(ui->screen_w_5, LV_SCROLLBAR_MODE_OFF); //Write style for screen_w_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_w_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_w_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_w_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_w_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_w_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_w_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_w_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_w_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_machine_name_rt ui->screen_machine_name_rt = lv_textarea_create(ui->screen_w_5); lv_textarea_set_text(ui->screen_machine_name_rt, "828"); lv_textarea_set_placeholder_text(ui->screen_machine_name_rt, ""); lv_textarea_set_password_bullet(ui->screen_machine_name_rt, "*"); lv_textarea_set_password_mode(ui->screen_machine_name_rt, false); lv_textarea_set_one_line(ui->screen_machine_name_rt, true); lv_textarea_set_accepted_chars(ui->screen_machine_name_rt, ""); lv_textarea_set_max_length(ui->screen_machine_name_rt, 32); #if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 lv_obj_add_event_cb(ui->screen_machine_name_rt, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); #endif lv_obj_set_pos(ui->screen_machine_name_rt, 150, 70); lv_obj_set_size(ui->screen_machine_name_rt, 200, 50); //Write style for screen_machine_name_rt, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_text_color(ui->screen_machine_name_rt, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_machine_name_rt, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_machine_name_rt, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_machine_name_rt, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_machine_name_rt, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_machine_name_rt, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_machine_name_rt, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_machine_name_rt, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_machine_name_rt, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_machine_name_rt, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_machine_name_rt, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_machine_name_rt, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_machine_name_rt, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_machine_name_rt, 4, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_machine_name_rt, 4, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_machine_name_rt, 4, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_machine_name_rt, 4, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style for screen_machine_name_rt, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_machine_name_rt, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_machine_name_rt, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_machine_name_rt, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_machine_name_rt, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); //Write codes screen_sys_name ui->screen_sys_name = lv_label_create(ui->screen_w_5); lv_label_set_text(ui->screen_sys_name, "机台名"); lv_label_set_long_mode(ui->screen_sys_name, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_sys_name, 20, 79); lv_obj_set_size(ui->screen_sys_name, 100, 30); //Write style for screen_sys_name, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_sys_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_sys_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_sys_name, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_sys_name, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_sys_name, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_sys_name, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_sys_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_sys_name, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_sys_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_sys_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_sys_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_sys_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_sys_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_sys_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_machine_id_rt ui->screen_machine_id_rt = lv_textarea_create(ui->screen_w_5); lv_textarea_set_text(ui->screen_machine_id_rt, "ID"); lv_textarea_set_placeholder_text(ui->screen_machine_id_rt, ""); lv_textarea_set_password_bullet(ui->screen_machine_id_rt, "*"); lv_textarea_set_password_mode(ui->screen_machine_id_rt, false); lv_textarea_set_one_line(ui->screen_machine_id_rt, true); lv_textarea_set_accepted_chars(ui->screen_machine_id_rt, "0123456789"); lv_textarea_set_max_length(ui->screen_machine_id_rt, 2); #if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0 lv_obj_add_event_cb(ui->screen_machine_id_rt, ta_event_cb, LV_EVENT_ALL, ui->g_kb_top_layer); #endif lv_obj_set_pos(ui->screen_machine_id_rt, 150, 10); lv_obj_set_size(ui->screen_machine_id_rt, 200, 50); //Write style for screen_machine_id_rt, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_text_color(ui->screen_machine_id_rt, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_machine_id_rt, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_machine_id_rt, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_machine_id_rt, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_machine_id_rt, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_machine_id_rt, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_machine_id_rt, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_machine_id_rt, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_machine_id_rt, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_machine_id_rt, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_machine_id_rt, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_machine_id_rt, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_machine_id_rt, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_machine_id_rt, 4, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_machine_id_rt, 4, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_machine_id_rt, 4, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_machine_id_rt, 4, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style for screen_machine_id_rt, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_machine_id_rt, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_machine_id_rt, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_machine_id_rt, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_machine_id_rt, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); //Write codes screen_sys_id ui->screen_sys_id = lv_label_create(ui->screen_w_5); lv_label_set_text(ui->screen_sys_id, "站号"); lv_label_set_long_mode(ui->screen_sys_id, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_sys_id, 20, 20); lv_obj_set_size(ui->screen_sys_id, 100, 30); //Write style for screen_sys_id, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_sys_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_sys_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_sys_id, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_sys_id, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_sys_id, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_sys_id, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_sys_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_sys_id, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_sys_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_sys_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_sys_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_sys_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_sys_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_sys_id, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_sys_var ui->screen_sys_var = lv_qrcode_create(ui->screen_tabview_tab_5, 100, lv_color_hex(0x2C3224), lv_color_hex(0xffffff)); const char * screen_sys_var_data = "http://www.secolor.cn"; lv_qrcode_update(ui->screen_sys_var, screen_sys_var_data, 21); lv_obj_set_pos(ui->screen_sys_var, 880, 10); lv_obj_set_size(ui->screen_sys_var, 100, 100); //Write codes screen_sys_save ui->screen_sys_save = lv_btn_create(ui->screen_tabview_tab_5); ui->screen_sys_save_label = lv_label_create(ui->screen_sys_save); lv_label_set_text(ui->screen_sys_save_label, "存储"); lv_label_set_long_mode(ui->screen_sys_save_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_sys_save_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_sys_save, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_sys_save_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_sys_save, 880, 400); lv_obj_set_size(ui->screen_sys_save, 100, 50); //Write style for screen_sys_save, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_sys_save, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_sys_save, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_sys_save, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_sys_save, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_sys_save, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_sys_save, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_sys_save, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_sys_save, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_sys_save, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_sys_save, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_stepinf ui->screen_stepinf = lv_obj_create(ui->screen); lv_obj_set_pos(ui->screen_stepinf, 200, 100); 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); lv_obj_set_style_border_opa(ui->screen_stepinf, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_stepinf, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_stepinf, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_stepinf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_stepinf, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_stepinf, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_stepinf, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_stepinf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_stepinf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_stepinf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_stepinf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_stepinf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_stepinf_s1b ui->screen_stepinf_s1b = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_stepinf_s1b, ""); lv_label_set_long_mode(ui->screen_stepinf_s1b, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_stepinf_s1b, 0, 50); lv_obj_set_size(ui->screen_stepinf_s1b, 300, 55); lv_obj_add_flag(ui->screen_stepinf_s1b, LV_OBJ_FLAG_HIDDEN); //Write style for screen_stepinf_s1b, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_stepinf_s1b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_stepinf_s1b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_stepinf_s1b, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_stepinf_s1b, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_stepinf_s1b, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_stepinf_s1b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_stepinf_s1b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_stepinf_s1b, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_stepinf_s1b, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_stepinf_s1b, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_s1b, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_stepinf_s1b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_stepinf_s1b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_stepinf_s1b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_stepinf_s1b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_stepinf_s1b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_stepinf_s2b ui->screen_stepinf_s2b = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_stepinf_s2b, ""); lv_label_set_long_mode(ui->screen_stepinf_s2b, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_stepinf_s2b, 0, 106); lv_obj_set_size(ui->screen_stepinf_s2b, 300, 55); lv_obj_add_flag(ui->screen_stepinf_s2b, LV_OBJ_FLAG_HIDDEN); //Write style for screen_stepinf_s2b, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_stepinf_s2b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_stepinf_s2b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_stepinf_s2b, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_stepinf_s2b, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_stepinf_s2b, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_stepinf_s2b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_stepinf_s2b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_stepinf_s2b, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_stepinf_s2b, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_stepinf_s2b, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_s2b, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_stepinf_s2b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_stepinf_s2b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_stepinf_s2b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_stepinf_s2b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_stepinf_s2b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_stepinf_s3b ui->screen_stepinf_s3b = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_stepinf_s3b, ""); lv_label_set_long_mode(ui->screen_stepinf_s3b, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_stepinf_s3b, 0, 162); lv_obj_set_size(ui->screen_stepinf_s3b, 300, 55); lv_obj_add_flag(ui->screen_stepinf_s3b, LV_OBJ_FLAG_HIDDEN); //Write style for screen_stepinf_s3b, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_stepinf_s3b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_stepinf_s3b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_stepinf_s3b, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_stepinf_s3b, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_stepinf_s3b, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_stepinf_s3b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_stepinf_s3b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_stepinf_s3b, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_stepinf_s3b, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_stepinf_s3b, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_s3b, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_stepinf_s3b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_stepinf_s3b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_stepinf_s3b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_stepinf_s3b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_stepinf_s3b, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_stepinf_s1 ui->screen_stepinf_s1 = lv_dropdown_create(ui->screen_stepinf); lv_dropdown_set_options(ui->screen_stepinf_s1, "温度控制001\n水位进水007\n流量进水008\n水位水洗013\n溢流水洗015\n排水020\n主泵排水022\n运转031\n入布035\n出布036\n呼叫操作员039\n取样040\n程序结束041\n等待049\n加压050\n减压051\n泵风机速度054\n泵启动055\n泵停止056\n备药064\n加药065\n呼叫输送066\n呼叫准备067\n快速加酸090\nph检测093\nph控制094\n"); lv_obj_set_pos(ui->screen_stepinf_s1, 105, 55); lv_obj_set_size(ui->screen_stepinf_s1, 180, 45); //Write style for screen_stepinf_s1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_text_color(ui->screen_stepinf_s1, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_stepinf_s1, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_stepinf_s1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_stepinf_s1, 1, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_stepinf_s1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_stepinf_s1, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_stepinf_s1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_stepinf_s1, 8, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_stepinf_s1, 6, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_stepinf_s1, 6, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_stepinf_s1, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_stepinf_s1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_stepinf_s1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_s1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_stepinf_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style state: LV_STATE_CHECKED for &style_screen_stepinf_s1_extra_list_selected_checked static lv_style_t style_screen_stepinf_s1_extra_list_selected_checked; ui_init_style(&style_screen_stepinf_s1_extra_list_selected_checked); lv_style_set_border_width(&style_screen_stepinf_s1_extra_list_selected_checked, 1); lv_style_set_border_opa(&style_screen_stepinf_s1_extra_list_selected_checked, 255); lv_style_set_border_color(&style_screen_stepinf_s1_extra_list_selected_checked, lv_color_hex(0xe1e6ee)); lv_style_set_border_side(&style_screen_stepinf_s1_extra_list_selected_checked, LV_BORDER_SIDE_FULL); lv_style_set_radius(&style_screen_stepinf_s1_extra_list_selected_checked, 3); lv_style_set_bg_opa(&style_screen_stepinf_s1_extra_list_selected_checked, 255); lv_style_set_bg_color(&style_screen_stepinf_s1_extra_list_selected_checked, lv_color_hex(0x00a1b5)); lv_style_set_bg_grad_dir(&style_screen_stepinf_s1_extra_list_selected_checked, LV_GRAD_DIR_NONE); lv_obj_add_style(lv_dropdown_get_list(ui->screen_stepinf_s1), &style_screen_stepinf_s1_extra_list_selected_checked, LV_PART_SELECTED|LV_STATE_CHECKED); //Write style state: LV_STATE_DEFAULT for &style_screen_stepinf_s1_extra_list_main_default static lv_style_t style_screen_stepinf_s1_extra_list_main_default; ui_init_style(&style_screen_stepinf_s1_extra_list_main_default); lv_style_set_max_height(&style_screen_stepinf_s1_extra_list_main_default, 150); lv_style_set_text_color(&style_screen_stepinf_s1_extra_list_main_default, lv_color_hex(0x0D3055)); lv_style_set_text_font(&style_screen_stepinf_s1_extra_list_main_default, &lv_font_simsun_24); lv_style_set_text_opa(&style_screen_stepinf_s1_extra_list_main_default, 255); lv_style_set_border_width(&style_screen_stepinf_s1_extra_list_main_default, 1); lv_style_set_border_opa(&style_screen_stepinf_s1_extra_list_main_default, 255); lv_style_set_border_color(&style_screen_stepinf_s1_extra_list_main_default, lv_color_hex(0xe1e6ee)); lv_style_set_border_side(&style_screen_stepinf_s1_extra_list_main_default, LV_BORDER_SIDE_FULL); lv_style_set_radius(&style_screen_stepinf_s1_extra_list_main_default, 3); lv_style_set_bg_opa(&style_screen_stepinf_s1_extra_list_main_default, 255); lv_style_set_bg_color(&style_screen_stepinf_s1_extra_list_main_default, lv_color_hex(0xffffff)); lv_style_set_bg_grad_dir(&style_screen_stepinf_s1_extra_list_main_default, LV_GRAD_DIR_NONE); lv_obj_add_style(lv_dropdown_get_list(ui->screen_stepinf_s1), &style_screen_stepinf_s1_extra_list_main_default, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style state: LV_STATE_DEFAULT for &style_screen_stepinf_s1_extra_list_scrollbar_default static lv_style_t style_screen_stepinf_s1_extra_list_scrollbar_default; ui_init_style(&style_screen_stepinf_s1_extra_list_scrollbar_default); lv_style_set_radius(&style_screen_stepinf_s1_extra_list_scrollbar_default, 3); lv_style_set_bg_opa(&style_screen_stepinf_s1_extra_list_scrollbar_default, 255); lv_style_set_bg_color(&style_screen_stepinf_s1_extra_list_scrollbar_default, lv_color_hex(0x00ff00)); lv_style_set_bg_grad_dir(&style_screen_stepinf_s1_extra_list_scrollbar_default, LV_GRAD_DIR_NONE); lv_obj_add_style(lv_dropdown_get_list(ui->screen_stepinf_s1), &style_screen_stepinf_s1_extra_list_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); //Write codes screen_stepinf_s2 ui->screen_stepinf_s2 = lv_dropdown_create(ui->screen_stepinf); lv_dropdown_set_options(ui->screen_stepinf_s2, "降温水洗017\n加压050\n减压051\n备药064\n呼叫输送066\n快速加酸090\nph温度控制091\nph检测093\nph控制094\n"); lv_obj_set_pos(ui->screen_stepinf_s2, 105, 111); lv_obj_set_size(ui->screen_stepinf_s2, 180, 45); //Write style for screen_stepinf_s2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_text_color(ui->screen_stepinf_s2, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_stepinf_s2, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_stepinf_s2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_stepinf_s2, 1, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_stepinf_s2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_stepinf_s2, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_stepinf_s2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_stepinf_s2, 8, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_stepinf_s2, 6, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_stepinf_s2, 6, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_stepinf_s2, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_stepinf_s2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_stepinf_s2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_s2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_stepinf_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style state: LV_STATE_CHECKED for &style_screen_stepinf_s2_extra_list_selected_checked static lv_style_t style_screen_stepinf_s2_extra_list_selected_checked; ui_init_style(&style_screen_stepinf_s2_extra_list_selected_checked); lv_style_set_border_width(&style_screen_stepinf_s2_extra_list_selected_checked, 1); lv_style_set_border_opa(&style_screen_stepinf_s2_extra_list_selected_checked, 255); lv_style_set_border_color(&style_screen_stepinf_s2_extra_list_selected_checked, lv_color_hex(0xe1e6ee)); lv_style_set_border_side(&style_screen_stepinf_s2_extra_list_selected_checked, LV_BORDER_SIDE_FULL); lv_style_set_radius(&style_screen_stepinf_s2_extra_list_selected_checked, 3); lv_style_set_bg_opa(&style_screen_stepinf_s2_extra_list_selected_checked, 255); lv_style_set_bg_color(&style_screen_stepinf_s2_extra_list_selected_checked, lv_color_hex(0x00a1b5)); lv_style_set_bg_grad_dir(&style_screen_stepinf_s2_extra_list_selected_checked, LV_GRAD_DIR_NONE); lv_obj_add_style(lv_dropdown_get_list(ui->screen_stepinf_s2), &style_screen_stepinf_s2_extra_list_selected_checked, LV_PART_SELECTED|LV_STATE_CHECKED); //Write style state: LV_STATE_DEFAULT for &style_screen_stepinf_s2_extra_list_main_default static lv_style_t style_screen_stepinf_s2_extra_list_main_default; ui_init_style(&style_screen_stepinf_s2_extra_list_main_default); lv_style_set_max_height(&style_screen_stepinf_s2_extra_list_main_default, 150); lv_style_set_text_color(&style_screen_stepinf_s2_extra_list_main_default, lv_color_hex(0x0D3055)); lv_style_set_text_font(&style_screen_stepinf_s2_extra_list_main_default, &lv_font_simsun_24); lv_style_set_text_opa(&style_screen_stepinf_s2_extra_list_main_default, 255); lv_style_set_border_width(&style_screen_stepinf_s2_extra_list_main_default, 1); lv_style_set_border_opa(&style_screen_stepinf_s2_extra_list_main_default, 255); lv_style_set_border_color(&style_screen_stepinf_s2_extra_list_main_default, lv_color_hex(0xe1e6ee)); lv_style_set_border_side(&style_screen_stepinf_s2_extra_list_main_default, LV_BORDER_SIDE_FULL); lv_style_set_radius(&style_screen_stepinf_s2_extra_list_main_default, 3); lv_style_set_bg_opa(&style_screen_stepinf_s2_extra_list_main_default, 255); lv_style_set_bg_color(&style_screen_stepinf_s2_extra_list_main_default, lv_color_hex(0xffffff)); lv_style_set_bg_grad_dir(&style_screen_stepinf_s2_extra_list_main_default, LV_GRAD_DIR_NONE); lv_obj_add_style(lv_dropdown_get_list(ui->screen_stepinf_s2), &style_screen_stepinf_s2_extra_list_main_default, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style state: LV_STATE_DEFAULT for &style_screen_stepinf_s2_extra_list_scrollbar_default static lv_style_t style_screen_stepinf_s2_extra_list_scrollbar_default; ui_init_style(&style_screen_stepinf_s2_extra_list_scrollbar_default); lv_style_set_radius(&style_screen_stepinf_s2_extra_list_scrollbar_default, 3); lv_style_set_bg_opa(&style_screen_stepinf_s2_extra_list_scrollbar_default, 255); lv_style_set_bg_color(&style_screen_stepinf_s2_extra_list_scrollbar_default, lv_color_hex(0x00ff00)); lv_style_set_bg_grad_dir(&style_screen_stepinf_s2_extra_list_scrollbar_default, LV_GRAD_DIR_NONE); lv_obj_add_style(lv_dropdown_get_list(ui->screen_stepinf_s2), &style_screen_stepinf_s2_extra_list_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT); //Write codes screen_stepinf_s3 ui->screen_stepinf_s3 = lv_dropdown_create(ui->screen_stepinf); lv_dropdown_set_options(ui->screen_stepinf_s3, "降温水洗017\n加压050\n减压051\n备药064\n呼叫输送066\n快速加酸090\nph温度控制091\nph检测093\nph控制094\n"); lv_obj_set_pos(ui->screen_stepinf_s3, 105, 167); lv_obj_set_size(ui->screen_stepinf_s3, 180, 45); //Write style for screen_stepinf_s3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_text_color(ui->screen_stepinf_s3, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_stepinf_s3, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_stepinf_s3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_stepinf_s3, 1, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_stepinf_s3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_stepinf_s3, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_stepinf_s3, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_stepinf_s3, 8, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_stepinf_s3, 6, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_stepinf_s3, 6, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_stepinf_s3, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_stepinf_s3, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_stepinf_s3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_stepinf_s3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_stepinf_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style state: LV_STATE_CHECKED for &style_screen_stepinf_s3_extra_list_selected_checked static lv_style_t style_screen_stepinf_s3_extra_list_selected_checked; ui_init_style(&style_screen_stepinf_s3_extra_list_selected_checked); lv_style_set_border_width(&style_screen_stepinf_s3_extra_list_selected_checked, 1); lv_style_set_border_opa(&style_screen_stepinf_s3_extra_list_selected_checked, 255); lv_style_set_border_color(&style_screen_stepinf_s3_extra_list_selected_checked, lv_color_hex(0xe1e6ee)); lv_style_set_border_side(&style_screen_stepinf_s3_extra_list_selected_checked, LV_BORDER_SIDE_FULL); lv_style_set_radius(&style_screen_stepinf_s3_extra_list_selected_checked, 3); lv_style_set_bg_opa(&style_screen_stepinf_s3_extra_list_selected_checked, 255); lv_style_set_bg_color(&style_screen_stepinf_s3_extra_list_selected_checked, lv_color_hex(0x00a1b5)); lv_style_set_bg_grad_dir(&style_screen_stepinf_s3_extra_list_selected_checked, LV_GRAD_DIR_NONE); lv_obj_add_style(lv_dropdown_get_list(ui->screen_stepinf_s3), &style_screen_stepinf_s3_extra_list_selected_checked, LV_PART_SELECTED|LV_STATE_CHECKED); //Write style state: LV_STATE_DEFAULT for &style_screen_stepinf_s3_extra_list_main_default static lv_style_t style_screen_stepinf_s3_extra_list_main_default; ui_init_style(&style_screen_stepinf_s3_extra_list_main_default); lv_style_set_max_height(&style_screen_stepinf_s3_extra_list_main_default, 150); lv_style_set_text_color(&style_screen_stepinf_s3_extra_list_main_default, lv_color_hex(0x0D3055)); lv_style_set_text_font(&style_screen_stepinf_s3_extra_list_main_default, &lv_font_simsun_24); lv_style_set_text_opa(&style_screen_stepinf_s3_extra_list_main_default, 255); lv_style_set_border_width(&style_screen_stepinf_s3_extra_list_main_default, 1); lv_style_set_border_opa(&style_screen_stepinf_s3_extra_list_main_default, 255); lv_style_set_border_color(&style_screen_stepinf_s3_extra_list_main_default, lv_color_hex(0xe1e6ee)); lv_style_set_border_side(&style_screen_stepinf_s3_extra_list_main_default, LV_BORDER_SIDE_FULL); lv_style_set_radius(&style_screen_stepinf_s3_extra_list_main_default, 3); lv_style_set_bg_opa(&style_screen_stepinf_s3_extra_list_main_default, 255); lv_style_set_bg_color(&style_screen_stepinf_s3_extra_list_main_default, lv_color_hex(0xffffff)); lv_style_set_bg_grad_dir(&style_screen_stepinf_s3_extra_list_main_default, LV_GRAD_DIR_NONE); lv_obj_add_style(lv_dropdown_get_list(ui->screen_stepinf_s3), &style_screen_stepinf_s3_extra_list_main_default, LV_PART_MAIN|LV_STATE_DEFAULT); //Write style state: LV_STATE_DEFAULT for &style_screen_stepinf_s3_extra_list_scrollbar_default static lv_style_t style_screen_stepinf_s3_extra_list_scrollbar_default; ui_init_style(&style_screen_stepinf_s3_extra_list_scrollbar_default); lv_style_set_radius(&style_screen_stepinf_s3_extra_list_scrollbar_default, 3); lv_style_set_bg_opa(&style_screen_stepinf_s3_extra_list_scrollbar_default, 255); lv_style_set_bg_color(&style_screen_stepinf_s3_extra_list_scrollbar_default, lv_color_hex(0x00ff00)); 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); lv_label_set_text(ui->screen_btn_1_label, "取消"); lv_label_set_long_mode(ui->screen_btn_1_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_btn_1_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_btn_1, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_btn_1_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_btn_1, 25, 290); lv_obj_set_size(ui->screen_btn_1, 100, 50); //Write style for screen_btn_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_btn_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_btn_1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_btn_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_btn_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_btn_1, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_btn_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_btn_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_btn_1, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_btn_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_btn_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_btn_2 ui->screen_btn_2 = lv_btn_create(ui->screen_stepinf); ui->screen_btn_2_label = lv_label_create(ui->screen_btn_2); lv_label_set_text(ui->screen_btn_2_label, "确认"); lv_label_set_long_mode(ui->screen_btn_2_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_btn_2_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_btn_2, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_btn_2_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_btn_2, 181, 290); lv_obj_set_size(ui->screen_btn_2, 100, 50); //Write style for screen_btn_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_btn_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_btn_2, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_btn_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_btn_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_btn_2, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_btn_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_btn_2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_btn_2, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_btn_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_btn_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_42 ui->screen_label_42 = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_label_42, "主功能"); lv_label_set_long_mode(ui->screen_label_42, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_label_42, 10, 65); lv_obj_set_size(ui->screen_label_42, 90, 25); //Write style for screen_label_42, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_42, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_42, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_42, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_42, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_42, 0, LV_PART_MAIN|LV_STATE_DEFAULT); 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 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_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_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_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 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_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_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_p5n ui->screen_stepinf_p5n = lv_label_create(ui->screen_stepinf); 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_size(ui->screen_stepinf_p5n, 120, 25); //Write style for screen_stepinf_p5n, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_stepinf_p5n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_stepinf_p5n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_stepinf_p5n, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_stepinf_p5n, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_stepinf_p5n, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_stepinf_p5n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_stepinf_p5n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_stepinf_p5n, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_stepinf_p5n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_stepinf_p5n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_stepinf_p5n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_stepinf_p5n, 0, LV_PART_MAIN|LV_STATE_DEFAULT); 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_line_1 ui->screen_line_1 = lv_line_create(ui->screen_stepinf); static lv_point_t screen_line_1[] = {{0, 0},{0, 370},}; lv_line_set_points(ui->screen_line_1, screen_line_1, 2); lv_obj_set_pos(ui->screen_line_1, 300, 0); lv_obj_set_size(ui->screen_line_1, 5, 370); //Write style for screen_line_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_line_width(ui->screen_line_1, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_line_color(ui->screen_line_1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_line_opa(ui->screen_line_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_line_rounded(ui->screen_line_1, true, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_48 ui->screen_label_48 = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_label_48, "副功能1"); lv_label_set_long_mode(ui->screen_label_48, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_label_48, 10, 121); lv_obj_set_size(ui->screen_label_48, 90, 25); //Write style for screen_label_48, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_48, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_48, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_48, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_48, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_48, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_49 ui->screen_label_49 = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_label_49, "副功能2"); lv_label_set_long_mode(ui->screen_label_49, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_label_49, 10, 178); lv_obj_set_size(ui->screen_label_49, 90, 25); //Write style for screen_label_49, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_49, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_49, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_49, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_49, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_49, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_50 ui->screen_label_50 = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_label_50, "工艺"); lv_label_set_long_mode(ui->screen_label_50, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_label_50, 10, 15); lv_obj_set_size(ui->screen_label_50, 50, 25); //Write style for screen_label_50, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_50, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_50, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_50, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_50, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_50, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_stepinf_name ui->screen_stepinf_name = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_stepinf_name, "工艺"); lv_label_set_long_mode(ui->screen_stepinf_name, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_stepinf_name, 105, 15); lv_obj_set_size(ui->screen_stepinf_name, 180, 25); //Write style for screen_stepinf_name, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_stepinf_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_stepinf_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_stepinf_name, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_stepinf_name, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_stepinf_name, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_stepinf_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_stepinf_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_stepinf_name, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_stepinf_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_stepinf_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_stepinf_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_stepinf_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_stepinf_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_stepinf_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_52 ui->screen_label_52 = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_label_52, "步骤"); lv_label_set_long_mode(ui->screen_label_52, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_label_52, 10, 230); lv_obj_set_size(ui->screen_label_52, 50, 25); //Write style for screen_label_52, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_52, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_52, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_52, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_52, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_52, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_stepinf_step ui->screen_stepinf_step = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_stepinf_step, "000"); lv_label_set_long_mode(ui->screen_stepinf_step, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_stepinf_step, 100, 230); lv_obj_set_size(ui->screen_stepinf_step, 40, 25); //Write style for screen_stepinf_step, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_stepinf_step, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_stepinf_step, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_stepinf_step, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_stepinf_step, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_stepinf_step, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_stepinf_step, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_stepinf_step, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_stepinf_step, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_stepinf_step, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_stepinf_step, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_stepinf_step, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_stepinf_step, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_stepinf_step, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_stepinf_step, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_label_53 ui->screen_label_53 = lv_label_create(ui->screen_stepinf); lv_label_set_text(ui->screen_label_53, "/255"); lv_label_set_long_mode(ui->screen_label_53, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_label_53, 140, 230); lv_obj_set_size(ui->screen_label_53, 100, 25); //Write style for screen_label_53, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_label_53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_label_53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_label_53, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_label_53, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_label_53, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_label_53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_label_53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_label_53, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_label_53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_label_53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_label_53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_label_53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_label_53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_label_53, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_DELETE ui->screen_step_DELETE = lv_obj_create(ui->screen); lv_obj_set_pos(ui->screen_step_DELETE, 400, 105); lv_obj_set_size(ui->screen_step_DELETE, 300, 380); lv_obj_set_scrollbar_mode(ui->screen_step_DELETE, LV_SCROLLBAR_MODE_OFF); lv_obj_add_flag(ui->screen_step_DELETE, LV_OBJ_FLAG_HIDDEN); lv_obj_add_flag(ui->screen_step_DELETE, LV_OBJ_FLAG_HIDDEN); //Write style for screen_step_DELETE, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_step_DELETE, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_step_DELETE, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_step_DELETE, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_step_DELETE, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_DELETE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_step_DELETE, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_step_DELETE, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_step_DELETE, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_step_DELETE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_step_DELETE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_step_DELETE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_step_DELETE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_DELETE, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_DELETE_no ui->screen_step_DELETE_no = lv_btn_create(ui->screen_step_DELETE); ui->screen_step_DELETE_no_label = lv_label_create(ui->screen_step_DELETE_no); lv_label_set_text(ui->screen_step_DELETE_no_label, "取消"); lv_label_set_long_mode(ui->screen_step_DELETE_no_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_step_DELETE_no_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_step_DELETE_no, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_step_DELETE_no_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_step_DELETE_no, 25, 290); lv_obj_set_size(ui->screen_step_DELETE_no, 100, 50); //Write style for screen_step_DELETE_no, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_step_DELETE_no, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_step_DELETE_no, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_step_DELETE_no, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_step_DELETE_no, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_DELETE_no, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_DELETE_no, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_step_DELETE_no, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_step_DELETE_no, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_step_DELETE_no, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_step_DELETE_no, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_DELETE_yes ui->screen_step_DELETE_yes = lv_btn_create(ui->screen_step_DELETE); ui->screen_step_DELETE_yes_label = lv_label_create(ui->screen_step_DELETE_yes); lv_label_set_text(ui->screen_step_DELETE_yes_label, "确认"); lv_label_set_long_mode(ui->screen_step_DELETE_yes_label, LV_LABEL_LONG_WRAP); lv_obj_align(ui->screen_step_DELETE_yes_label, LV_ALIGN_CENTER, 0, 0); lv_obj_set_style_pad_all(ui->screen_step_DELETE_yes, 0, LV_STATE_DEFAULT); lv_obj_set_width(ui->screen_step_DELETE_yes_label, LV_PCT(100)); lv_obj_set_pos(ui->screen_step_DELETE_yes, 165, 290); lv_obj_set_size(ui->screen_step_DELETE_yes, 100, 50); //Write style for screen_step_DELETE_yes, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_bg_opa(ui->screen_step_DELETE_yes, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_step_DELETE_yes, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_step_DELETE_yes, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_step_DELETE_yes, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_DELETE_yes, 5, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_DELETE_yes, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_step_DELETE_yes, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_step_DELETE_yes, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_step_DELETE_yes, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_step_DELETE_yes, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_DELETE_namep ui->screen_step_DELETE_namep = lv_label_create(ui->screen_step_DELETE); lv_label_set_text(ui->screen_step_DELETE_namep, "工艺"); lv_label_set_long_mode(ui->screen_step_DELETE_namep, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_step_DELETE_namep, 10, 15); lv_obj_set_size(ui->screen_step_DELETE_namep, 50, 25); //Write style for screen_step_DELETE_namep, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_step_DELETE_namep, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_DELETE_namep, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_step_DELETE_namep, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_step_DELETE_namep, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_step_DELETE_namep, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_step_DELETE_namep, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_step_DELETE_namep, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_step_DELETE_namep, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_step_DELETE_namep, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_step_DELETE_namep, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_step_DELETE_namep, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_step_DELETE_namep, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_step_DELETE_namep, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_DELETE_namep, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_DELETE_name ui->screen_step_DELETE_name = lv_label_create(ui->screen_step_DELETE); lv_label_set_text(ui->screen_step_DELETE_name, "工艺"); lv_label_set_long_mode(ui->screen_step_DELETE_name, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_step_DELETE_name, 105, 15); lv_obj_set_size(ui->screen_step_DELETE_name, 180, 25); //Write style for screen_step_DELETE_name, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_step_DELETE_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_DELETE_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_step_DELETE_name, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_step_DELETE_name, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_step_DELETE_name, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_step_DELETE_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_step_DELETE_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_step_DELETE_name, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_step_DELETE_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_step_DELETE_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_step_DELETE_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_step_DELETE_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_step_DELETE_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_DELETE_name, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //Write codes screen_step_DELETE_inf ui->screen_step_DELETE_inf = lv_label_create(ui->screen_step_DELETE); lv_label_set_text(ui->screen_step_DELETE_inf, "信息"); lv_label_set_long_mode(ui->screen_step_DELETE_inf, LV_LABEL_LONG_WRAP); lv_obj_set_pos(ui->screen_step_DELETE_inf, 5, 50); lv_obj_set_size(ui->screen_step_DELETE_inf, 280, 200); //Write style for screen_step_DELETE_inf, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. lv_obj_set_style_border_width(ui->screen_step_DELETE_inf, 1, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_step_DELETE_inf, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_step_DELETE_inf, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_step_DELETE_inf, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_step_DELETE_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_step_DELETE_inf, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_step_DELETE_inf, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_step_DELETE_inf, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_step_DELETE_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_step_DELETE_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_step_DELETE_inf, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_step_DELETE_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_step_DELETE_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_step_DELETE_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_step_DELETE_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_step_DELETE_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_step_DELETE_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT); //The custom code of screen. //Update current screen layout. lv_obj_update_layout(ui->screen); //Init events for screen. events_init_screen(ui); }