diff --git a/.cproject b/.cproject
index 8daf644..a854a18 100644
--- a/.cproject
+++ b/.cproject
@@ -1,1204 +1,1537 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/applications/data/SC828_DATA_table.c b/applications/data/SC828_DATA_table.c
index a3f08df..f1392e2 100644
--- a/applications/data/SC828_DATA_table.c
+++ b/applications/data/SC828_DATA_table.c
@@ -105,6 +105,12 @@ IO_State_DIO di_table[] = {
{2080, 0, STR_MATERIAL3_FILL},
{2081, 0, STR_MATERIAL3_HEAT},
{2082, 0, STR_MATERIAL3_STIR},
+ {2083, 0, STR_NULL},
+ {2084, 0, STR_NULL},
+ {2085, 0, STR_NULL},
+ {2086, 0, STR_NULL},
+ {2087, 0, STR_NULL},
+ {2088, 0, STR_NULL},
};
// --- DIO 输出(3001~3066)---
IO_State_DIO do_table[] = {
@@ -174,6 +180,8 @@ IO_State_DIO do_table[] = {
{3064, 0, STR_DRAIN_PUMP}, // 排水泵
{3065, 0, STR_HEAT_EXCHANGER_CONDENSATE}, // 热交换器冷凝水
{3066, 0, STR_HEAT_EXCHANGER_COOLING_WATER}, // 交换器排冷却水
+{2067, 0, STR_NULL},
+{2068, 0, STR_NULL},
};
//AIO状态表
diff --git a/applications/data/SC828_DATA_table.h b/applications/data/SC828_DATA_table.h
index d938de0..f1ad698 100644
--- a/applications/data/SC828_DATA_table.h
+++ b/applications/data/SC828_DATA_table.h
@@ -4,6 +4,7 @@
#include
#include "stdbool.h"
#include "language.h"
+#include
// IO状态结构体(可扩展)
typedef struct {
@@ -68,4 +69,8 @@ extern const unsigned char DATA_TABLE_SIZE;
void DATA_Table_Init(void);//
void DATA_INSTRUCTION_START(char p[25]);
void DATA_INSTRUCTION_STOP();
+
+rt_int16_t get_ai_value(int pin);
+void get_ao_value(int pin,int16_t dat);
+
#endif
diff --git a/applications/data/language.c b/applications/data/language.c
index 9f98f20..739e1ab 100644
--- a/applications/data/language.c
+++ b/applications/data/language.c
@@ -200,7 +200,8 @@ static const char *text_en[STR_COUNT] = {
[STR_MAIN_PUMP_SPEED_SET] = "Main Pump Speed Setpoint",
[STR_FAN_SPEED_SET] = "Fan Speed Setpoint",
[STR_TARGET_PH_SET] = "Target pH Setpoint",
- [STR_PH_DEVICE_STATUS] = "pH Device Status"
+ [STR_PH_DEVICE_STATUS] = "pH Device Status",
+ [STR_NULL] = "NULL"
};
// 中文字符串(UTF-8 编码)
@@ -399,7 +400,8 @@ static const char *text_zh[STR_COUNT] = {
[STR_MAIN_PUMP_SPEED_SET] = "\xE4\xB8\xBB\xE6\xB3\xB5\xE9\x80\x9F\xE5\xBA\xA6\xE8\xAE\xBE\xE5\xAE\x9A", // "主泵速度设定"
[STR_FAN_SPEED_SET] = "\xE9\xA3\x8E\xE6\x9C\xBA\xE9\x80\x9F\xE5\xBA\xA6\xE8\xAE\xBE\xE5\xAE\x9A", // "风机速度设定"
[STR_TARGET_PH_SET] = "\xE7\x9B\xAE\xE6\xA0\x87PH\xE8\xAE\xBE\xE5\xAE\x9A", // "目标PH设定"
- [STR_PH_DEVICE_STATUS] = "PH\xE8\xAE\xBE\xE5\xA4\x87\xE7\x8A\xB6\xE6\x80\x81" // "PH设备状态"
+ [STR_PH_DEVICE_STATUS] = "PH\xE8\xAE\xBE\xE5\xA4\x87\xE7\x8A\xB6\xE6\x80\x81", // "PH设备状态"
+ [STR_NULL] = "NULL" // ""
};
diff --git a/applications/data/language.h b/applications/data/language.h
index 8b01c3a..e4f0d19 100644
--- a/applications/data/language.h
+++ b/applications/data/language.h
@@ -198,6 +198,7 @@ typedef enum {
STR_FAN_SPEED_SET,
STR_TARGET_PH_SET,
STR_PH_DEVICE_STATUS,
+ STR_NULL,
STR_COUNT // 自动计数
} str_id_t;
diff --git a/applications/lvgl/guider/custom/custom.c b/applications/lvgl/guider/custom/custom.c
index 360ecd2..ed3f1d9 100644
--- a/applications/lvgl/guider/custom/custom.c
+++ b/applications/lvgl/guider/custom/custom.c
@@ -1,6 +1,4 @@
/*
-#include
-#include
* Copyright 2023 NXP
* NXP Confidential and 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,
diff --git a/applications/lvgl/guider/custom/custom.h b/applications/lvgl/guider/custom/custom.h
index 0fb4136..4405491 100644
--- a/applications/lvgl/guider/custom/custom.h
+++ b/applications/lvgl/guider/custom/custom.h
@@ -8,13 +8,12 @@
*/
#ifndef __CUSTOM_H_
-
#define __CUSTOM_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include
+#include "guider/generated/gui_guider.h"
void custom_init(lv_ui *ui);
diff --git a/applications/lvgl/guider/custom/lv_conf_ext.h b/applications/lvgl/guider/custom/lv_conf_ext.h
new file mode 100644
index 0000000..9a1270e
--- /dev/null
+++ b/applications/lvgl/guider/custom/lv_conf_ext.h
@@ -0,0 +1,42 @@
+/*
+* Copyright 2023 NXP
+* NXP Confidential and 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.
+*/
+
+/*
+ * lv_conf_ext.h for custom lvconf file.
+ * Created on: Feb 8, 2023
+ * example :
+ * #undef LV_FONT_FMT_TXT_LARGE
+ * #define LV_FONT_FMT_TXT_LARGE 1
+ */
+
+#ifndef LV_CONF_EXT_H
+#define LV_CONF_EXT_H
+
+
+/* common code begin */
+
+
+/* common code end */
+
+
+#if LV_USE_GUIDER_SIMULATOR
+/* code for simulator begin */
+
+
+/* code for simulator end */
+#else
+/* code for board begin */
+
+
+/* code for board end */
+#endif
+
+
+
+#endif /* LV_CONF_EXT_H */
\ No newline at end of file
diff --git a/applications/lvgl/guider/generated/events_init.c b/applications/lvgl/guider/generated/events_init.c
index 07be4a5..0d135a1 100644
--- a/applications/lvgl/guider/generated/events_init.c
+++ b/applications/lvgl/guider/generated/events_init.c
@@ -1,6 +1,4 @@
/*
-#include
-#include
* 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,
@@ -9,15 +7,243 @@
* terms, then you may not retain, install, activate or otherwise use the software.
*/
+#include "events_init.h"
#include
#include "lvgl.h"
-#include "gui_guider.h"
#if LV_USE_GUIDER_SIMULATOR && LV_USE_FREEMASTER
#include "freemaster_client.h"
#endif
+static void screen_inf_img_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_inf_lock_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_inf_link_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_inf_run_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_w_start_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_w_edit_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_w_w_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_p_start_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_p_edit_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_p_delete_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_p_insert_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_set_Insert_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_set_Edit_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_set_Delete_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_set_Save_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+static void screen_sys_save_event_handler (lv_event_t *e)
+{
+ lv_event_code_t code = lv_event_get_code(e);
+ switch (code) {
+ case LV_EVENT_CLICKED:
+ {
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+void events_init_screen (lv_ui *ui)
+{
+ lv_obj_add_event_cb(ui->screen_inf_img, screen_inf_img_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_inf_lock, screen_inf_lock_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_inf_link, screen_inf_link_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_inf_run, screen_inf_run_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_w_start, screen_w_start_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_w_edit, screen_w_edit_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_w_w, screen_w_w_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_p_start, screen_p_start_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_p_edit, screen_p_edit_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_p_delete, screen_p_delete_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_p_insert, screen_p_insert_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_set_Insert, screen_set_Insert_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_set_Edit, screen_set_Edit_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_set_Delete, screen_set_Delete_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_set_Save, screen_set_Save_event_handler, LV_EVENT_ALL, ui);
+ lv_obj_add_event_cb(ui->screen_sys_save, screen_sys_save_event_handler, LV_EVENT_ALL, ui);
+}
+
void events_init(lv_ui *ui)
{
diff --git a/applications/lvgl/guider/generated/events_init.h b/applications/lvgl/guider/generated/events_init.h
index cbfea33..76d26a7 100644
--- a/applications/lvgl/guider/generated/events_init.h
+++ b/applications/lvgl/guider/generated/events_init.h
@@ -9,16 +9,16 @@
#ifndef EVENTS_INIT_H_
-
#define EVENTS_INIT_H_
#ifdef __cplusplus
extern "C" {
#endif
-#include
+#include "gui_guider.h"
void events_init(lv_ui *ui);
+void events_init_screen(lv_ui *ui);
#ifdef __cplusplus
}
diff --git a/applications/lvgl/guider/generated/gui_guider.c b/applications/lvgl/guider/generated/gui_guider.c
index 3cf91fd..80bc542 100644
--- a/applications/lvgl/guider/generated/gui_guider.c
+++ b/applications/lvgl/guider/generated/gui_guider.c
@@ -1,8 +1,4 @@
/*
-#include
-#include
-#include
-#include
* 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,
diff --git a/applications/lvgl/guider/generated/gui_guider.h b/applications/lvgl/guider/generated/gui_guider.h
index 06b3121..bded0d2 100644
--- a/applications/lvgl/guider/generated/gui_guider.h
+++ b/applications/lvgl/guider/generated/gui_guider.h
@@ -23,10 +23,10 @@ typedef struct
lv_obj_t *screen_TITLE;
lv_obj_t *screen_inf_l;
lv_obj_t *screen_inf_t;
- lv_obj_t *screen_img_inf;
- lv_obj_t *screen_img_2;
- lv_obj_t *screen_img_3;
- lv_obj_t *screen_img_4;
+ lv_obj_t *screen_inf_img;
+ lv_obj_t *screen_inf_lock;
+ lv_obj_t *screen_inf_link;
+ lv_obj_t *screen_inf_run;
lv_obj_t *screen_temp;
lv_obj_t *screen_water;
lv_obj_t *screen_order;
@@ -38,49 +38,47 @@ typedef struct
lv_obj_t *screen_tabview_tab_3;
lv_obj_t *screen_tabview_tab_4;
lv_obj_t *screen_tabview_tab_5;
- lv_obj_t *screen_btn_1;
- lv_obj_t *screen_btn_1_label;
- lv_obj_t *screen_btn_3;
- lv_obj_t *screen_btn_3_label;
- lv_obj_t *screen_list_2;
- lv_obj_t *screen_list_2_item0;
- lv_obj_t *screen_btn_4;
- lv_obj_t *screen_btn_4_label;
- lv_obj_t *screen_label_3;
- lv_obj_t *screen_list_3;
- lv_obj_t *screen_list_3_item0;
- lv_obj_t *screen_w_2;
- lv_obj_t *screen_list_1;
- lv_obj_t *screen_list_1_item0;
- lv_obj_t *screen_list_1_item1;
- lv_obj_t *screen_list_1_item2;
- lv_obj_t *screen_list_1_item3;
- lv_obj_t *screen_list_1_item4;
- lv_obj_t *screen_list_1_item5;
- lv_obj_t *screen_list_1_item6;
- lv_obj_t *screen_list_1_item7;
- lv_obj_t *screen_list_1_item8;
- lv_obj_t *screen_list_1_item9;
- lv_obj_t *screen_list_1_item10;
- lv_obj_t *screen_list_1_item11;
- lv_obj_t *screen_list_1_item12;
- lv_obj_t *screen_list_1_item13;
- lv_obj_t *screen_list_1_item14;
- lv_obj_t *screen_list_1_item15;
+ lv_obj_t *screen_w_start;
+ lv_obj_t *screen_w_start_label;
+ lv_obj_t *screen_w_edit;
+ lv_obj_t *screen_w_edit_label;
+ lv_obj_t *screen_w_list;
+ lv_obj_t *screen_w_list_item0;
+ lv_obj_t *screen_w_w;
+ lv_obj_t *screen_w_w_label;
+ lv_obj_t *screen_w_text;
+ lv_obj_t *screen_list_inf;
+ lv_obj_t *screen_list_inf_item0;
+ lv_obj_t *screen_p_p;
+ lv_obj_t *screen_p_p_item0;
+ lv_obj_t *screen_p_p_item1;
+ lv_obj_t *screen_p_p_item2;
+ lv_obj_t *screen_p_p_item3;
+ lv_obj_t *screen_p_p_item4;
+ lv_obj_t *screen_p_p_item5;
+ lv_obj_t *screen_p_p_item6;
+ lv_obj_t *screen_p_p_item7;
+ lv_obj_t *screen_p_p_item8;
+ lv_obj_t *screen_p_p_item9;
+ lv_obj_t *screen_p_p_item10;
+ lv_obj_t *screen_p_p_item11;
+ lv_obj_t *screen_p_p_item12;
+ lv_obj_t *screen_p_p_item13;
+ lv_obj_t *screen_p_p_item14;
lv_obj_t *screen_chart_temp;
lv_chart_series_t *screen_chart_temp_0;
lv_obj_t *screen_step_id;
lv_obj_t *screen_step_inf;
lv_obj_t *screen_process;
lv_obj_t *screen_step_n;
- lv_obj_t *screen_btn_5;
- lv_obj_t *screen_btn_5_label;
- lv_obj_t *screen_btn_6;
- lv_obj_t *screen_btn_6_label;
- lv_obj_t *screen_btn_7;
- lv_obj_t *screen_btn_7_label;
- lv_obj_t *screen_btn_8;
- lv_obj_t *screen_btn_8_label;
+ lv_obj_t *screen_p_start;
+ lv_obj_t *screen_p_start_label;
+ lv_obj_t *screen_p_edit;
+ lv_obj_t *screen_p_edit_label;
+ lv_obj_t *screen_p_delete;
+ lv_obj_t *screen_p_delete_label;
+ lv_obj_t *screen_p_insert;
+ lv_obj_t *screen_p_insert_label;
lv_obj_t *screen_w_io;
lv_obj_t *screen_w_io_tab_1;
lv_obj_t *screen_w_io_tab_2;
@@ -308,7 +306,7 @@ typedef struct
lv_obj_t *screen_do43;
lv_obj_t *screen_do44;
lv_obj_t *screen_do45;
- lv_obj_t *screen_d046;
+ lv_obj_t *screen_do46;
lv_obj_t *screen_do47;
lv_obj_t *screen_do48;
lv_obj_t *screen_do49;
@@ -330,6 +328,7 @@ typedef struct
lv_obj_t *screen_do65;
lv_obj_t *screen_do66;
lv_obj_t *screen_do67;
+ lv_obj_t *screen_name_do0;
lv_obj_t *screen_name_do1;
lv_obj_t *screen_name_do2;
lv_obj_t *screen_name_do3;
@@ -396,8 +395,8 @@ typedef struct
lv_obj_t *screen_name_do64;
lv_obj_t *screen_name_do65;
lv_obj_t *screen_name_do66;
- lv_obj_t *screen_name_do67;
- lv_obj_t *screen_w_4;
+ lv_obj_t *screen_aio;
+ lv_obj_t *screen_sys_set;
lv_obj_t *screen_proess_set;
lv_obj_t *screen_proess_set_item0;
lv_obj_t *screen_step_set;
@@ -412,10 +411,13 @@ typedef struct
lv_obj_t *screen_set_Save;
lv_obj_t *screen_set_Save_label;
lv_obj_t *screen_step_;
+ lv_obj_t *screen_w_5;
+ lv_obj_t *screen_sys_save;
+ lv_obj_t *screen_sys_save_label;
lv_obj_t *screen_machine_name;
- lv_obj_t *screen_label_5;
- lv_obj_t *screen_label_4;
+ lv_obj_t *screen_sys_name;
lv_obj_t *screen_machine_id;
+ lv_obj_t *screen_sys_id;
lv_obj_t *g_kb_top_layer;
}lv_ui;
@@ -449,7 +451,7 @@ LV_IMG_DECLARE(_ico_link_alpha_40x40);
LV_IMG_DECLARE(_IconParkPlay_alpha_40x40);
LV_FONT_DECLARE(lv_font_montserratMedium_28)
-LV_FONT_DECLARE(lv_font_simsun_32)
+LV_FONT_DECLARE(lv_font_simsun_30)
LV_FONT_DECLARE(lv_font_montserratMedium_16)
LV_FONT_DECLARE(lv_font_simsun_24)
LV_FONT_DECLARE(lv_font_simsun_12)
@@ -458,10 +460,10 @@ LV_FONT_DECLARE(lv_font_simsun_16)
LV_FONT_DECLARE(lv_font_montserratMedium_15)
LV_FONT_DECLARE(lv_font_Alatsi_Regular_20)
LV_FONT_DECLARE(lv_font_simsun_21)
-LV_FONT_DECLARE(lv_font_simsun_30)
LV_FONT_DECLARE(lv_font_Acme_Regular_16)
LV_FONT_DECLARE(lv_font_Alatsi_Regular_18)
LV_FONT_DECLARE(lv_font_montserratMedium_14)
+LV_FONT_DECLARE(lv_font_simsun_32)
LV_FONT_DECLARE(lv_font_montserratMedium_30)
LV_FONT_DECLARE(lv_font_simsun_28)
LV_FONT_DECLARE(lv_font_simsun_18)
diff --git a/applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_21.c b/applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_21.c
index cc70a57..4cf7d87 100644
--- a/applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_21.c
+++ b/applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_21.c
@@ -972,61 +972,6 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x5, 0x5, 0x0, 0xc, 0x90, 0x35, 0x0,
0x0, 0x0, 0x9c, 0x70,
- /* U+6D4B "测" */
- 0x3, 0x20, 0x1, 0x0, 0x0, 0x1, 0x0, 0x0,
- 0x26, 0x0, 0xc, 0x60, 0x4c, 0x66, 0x66, 0xe5,
- 0x0, 0x2, 0xf2, 0x0, 0x5f, 0x14, 0xd0, 0x0,
- 0xf, 0x10, 0x0, 0x2e, 0x0, 0x0, 0x80, 0x3d,
- 0x0, 0x0, 0xf0, 0x1b, 0x32, 0xe0, 0x10, 0x0,
- 0x3, 0xd0, 0x94, 0xf, 0x0, 0xf2, 0x2e, 0x8,
- 0x60, 0x0, 0x5d, 0xb, 0x80, 0xf0, 0xf, 0x2,
- 0xe0, 0xf, 0x60, 0x54, 0xd0, 0xb5, 0xf, 0x0,
- 0xf0, 0x2e, 0x0, 0x99, 0x7, 0x3d, 0xb, 0x50,
- 0xf0, 0xf, 0x2, 0xe0, 0x0, 0x0, 0x83, 0xd0,
- 0xb5, 0xf, 0x0, 0xf0, 0x2e, 0x0, 0x0, 0x45,
- 0x3d, 0xc, 0x40, 0xf0, 0xf, 0x2, 0xe0, 0x0,
- 0x9, 0x13, 0xd0, 0xd3, 0xf, 0x0, 0xf0, 0x2e,
- 0x0, 0x0, 0xc0, 0x3d, 0xf, 0x10, 0xf0, 0xf,
- 0x2, 0xe0, 0x43, 0xa9, 0x4, 0xd1, 0xe0, 0xd,
- 0x0, 0xf1, 0x2e, 0x1, 0x9f, 0x50, 0x36, 0x5b,
- 0x0, 0x0, 0xf, 0x12, 0xe0, 0x0, 0xf3, 0x0,
- 0xa, 0x58, 0x20, 0x0, 0x20, 0x2e, 0x0, 0x1f,
- 0x30, 0x3, 0xd0, 0x1d, 0x30, 0x0, 0x2, 0xe0,
- 0x4, 0xf3, 0x1, 0xc2, 0x0, 0x6f, 0x10, 0x0,
- 0x2e, 0x0, 0x2e, 0x31, 0xb2, 0x0, 0x0, 0xe2,
- 0x7, 0xcd, 0xd0, 0x0, 0x2, 0x70, 0x0, 0x0,
- 0x1, 0x0, 0x2, 0xd4, 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
-
- /* U+8BD5 "试" */
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x3, 0x70,
- 0x0, 0x0, 0x0, 0x5, 0x20, 0x0, 0x0, 0x0,
- 0x0, 0x4f, 0x5a, 0x30, 0x0, 0x0, 0x1d, 0x70,
- 0x0, 0x0, 0x0, 0x3, 0xe0, 0x4f, 0x20, 0x0,
- 0x0, 0x3f, 0x60, 0x0, 0x0, 0x0, 0x3f, 0x0,
- 0xb2, 0x0, 0x0, 0x0, 0xb6, 0x0, 0x0, 0x0,
- 0x2, 0xf0, 0x1, 0xc4, 0x0, 0x0, 0x0, 0x1,
- 0x97, 0x66, 0x66, 0x7f, 0x66, 0x66, 0x60, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0xf0, 0x0,
- 0x0, 0x0, 0x0, 0xa, 0x40, 0x0, 0x0, 0x0,
- 0xf, 0x10, 0x0, 0x0, 0x19, 0x76, 0xf9, 0x0,
- 0x0, 0x0, 0x96, 0xe3, 0x0, 0x0, 0x0, 0x0,
- 0xe, 0x30, 0x59, 0x6f, 0x86, 0x6c, 0x50, 0x0,
- 0x0, 0x0, 0x0, 0xe3, 0x0, 0x0, 0xe3, 0x0,
- 0x88, 0x0, 0x0, 0x0, 0x0, 0xe, 0x30, 0x0,
- 0xe, 0x30, 0x4, 0xc0, 0x0, 0x0, 0x0, 0x0,
- 0xe3, 0x0, 0x0, 0xe3, 0x0, 0x1f, 0x10, 0x0,
- 0x0, 0x0, 0xe, 0x30, 0x24, 0xe, 0x30, 0x0,
- 0xb7, 0x0, 0x20, 0x0, 0x0, 0xe3, 0x29, 0x0,
- 0xe4, 0x47, 0x44, 0xe0, 0x6, 0x0, 0x0, 0xe,
- 0x6c, 0x13, 0x7f, 0xd6, 0x0, 0xc, 0x80, 0x90,
- 0x0, 0x0, 0xff, 0x36, 0xfb, 0x40, 0x0, 0x0,
- 0x2f, 0x79, 0x0, 0x0, 0xb, 0x80, 0x3, 0x0,
- 0x0, 0x0, 0x0, 0x5f, 0xb0, 0x0, 0x0, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4b, 0x0,
- 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
- 0x0, 0x0,
-
/* U+F001 "" */
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
@@ -2700,68 +2645,66 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 5610, .adv_w = 168, .box_w = 2, .box_h = 22, .ofs_x = 4, .ofs_y = -3},
{.bitmap_index = 5632, .adv_w = 168, .box_w = 6, .box_h = 20, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 5692, .adv_w = 168, .box_w = 10, .box_h = 4, .ofs_x = 0, .ofs_y = 14},
- {.bitmap_index = 5712, .adv_w = 336, .box_w = 19, .box_h = 20, .ofs_x = 1, .ofs_y = -3},
- {.bitmap_index = 5902, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 6112, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 6354, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 6522, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
- {.bitmap_index = 6732, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 6900, .adv_w = 231, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 7020, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 7251, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 7482, .adv_w = 378, .box_w = 24, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
- {.bitmap_index = 7722, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 7953, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 8145, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 8376, .adv_w = 168, .box_w = 11, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
- {.bitmap_index = 8470, .adv_w = 252, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
- {.bitmap_index = 8606, .adv_w = 378, .box_w = 24, .box_h = 21, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 8858, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 9026, .adv_w = 231, .box_w = 15, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 9191, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
- {.bitmap_index = 9331, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 9540, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
- {.bitmap_index = 9730, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
- {.bitmap_index = 9920, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
- {.bitmap_index = 10060, .adv_w = 294, .box_w = 20, .box_h = 20, .ofs_x = -1, .ofs_y = -2},
- {.bitmap_index = 10260, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
- {.bitmap_index = 10374, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
- {.bitmap_index = 10488, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
- {.bitmap_index = 10678, .adv_w = 294, .box_w = 19, .box_h = 5, .ofs_x = 0, .ofs_y = 5},
- {.bitmap_index = 10726, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 10918, .adv_w = 420, .box_w = 27, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 11215, .adv_w = 378, .box_w = 25, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
- {.bitmap_index = 11490, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
- {.bitmap_index = 11700, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
- {.bitmap_index = 11814, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
- {.bitmap_index = 11928, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 12144, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 12312, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 12543, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
- {.bitmap_index = 12785, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
- {.bitmap_index = 12975, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 13184, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
- {.bitmap_index = 13374, .adv_w = 294, .box_w = 19, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
- {.bitmap_index = 13536, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 13704, .adv_w = 210, .box_w = 15, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
- {.bitmap_index = 13869, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 14078, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 14287, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 14479, .adv_w = 336, .box_w = 23, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
- {.bitmap_index = 14732, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 14908, .adv_w = 420, .box_w = 27, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
- {.bitmap_index = 15178, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
- {.bitmap_index = 15367, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
- {.bitmap_index = 15556, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
- {.bitmap_index = 15745, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
- {.bitmap_index = 15934, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
- {.bitmap_index = 16123, .adv_w = 420, .box_w = 27, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
- {.bitmap_index = 16353, .adv_w = 294, .box_w = 17, .box_h = 22, .ofs_x = 1, .ofs_y = -3},
- {.bitmap_index = 16540, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 16749, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
- {.bitmap_index = 16991, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
- {.bitmap_index = 17207, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
- {.bitmap_index = 17383, .adv_w = 338, .box_w = 22, .box_h = 14, .ofs_x = 0, .ofs_y = 1}
+ {.bitmap_index = 5712, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 5954, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 6122, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
+ {.bitmap_index = 6332, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 6500, .adv_w = 231, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 6620, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 6851, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 7082, .adv_w = 378, .box_w = 24, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
+ {.bitmap_index = 7322, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 7553, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 7745, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 7976, .adv_w = 168, .box_w = 11, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
+ {.bitmap_index = 8070, .adv_w = 252, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
+ {.bitmap_index = 8206, .adv_w = 378, .box_w = 24, .box_h = 21, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 8458, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 8626, .adv_w = 231, .box_w = 15, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 8791, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
+ {.bitmap_index = 8931, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 9140, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
+ {.bitmap_index = 9330, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
+ {.bitmap_index = 9520, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
+ {.bitmap_index = 9660, .adv_w = 294, .box_w = 20, .box_h = 20, .ofs_x = -1, .ofs_y = -2},
+ {.bitmap_index = 9860, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
+ {.bitmap_index = 9974, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
+ {.bitmap_index = 10088, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
+ {.bitmap_index = 10278, .adv_w = 294, .box_w = 19, .box_h = 5, .ofs_x = 0, .ofs_y = 5},
+ {.bitmap_index = 10326, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 10518, .adv_w = 420, .box_w = 27, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 10815, .adv_w = 378, .box_w = 25, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
+ {.bitmap_index = 11090, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
+ {.bitmap_index = 11300, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
+ {.bitmap_index = 11414, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
+ {.bitmap_index = 11528, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 11744, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 11912, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 12143, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
+ {.bitmap_index = 12385, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
+ {.bitmap_index = 12575, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 12784, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
+ {.bitmap_index = 12974, .adv_w = 294, .box_w = 19, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
+ {.bitmap_index = 13136, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 13304, .adv_w = 210, .box_w = 15, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
+ {.bitmap_index = 13469, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 13678, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 13887, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 14079, .adv_w = 336, .box_w = 23, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
+ {.bitmap_index = 14332, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 14508, .adv_w = 420, .box_w = 27, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
+ {.bitmap_index = 14778, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
+ {.bitmap_index = 14967, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
+ {.bitmap_index = 15156, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
+ {.bitmap_index = 15345, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
+ {.bitmap_index = 15534, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
+ {.bitmap_index = 15723, .adv_w = 420, .box_w = 27, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
+ {.bitmap_index = 15953, .adv_w = 294, .box_w = 17, .box_h = 22, .ofs_x = 1, .ofs_y = -3},
+ {.bitmap_index = 16140, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 16349, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
+ {.bitmap_index = 16591, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
+ {.bitmap_index = 16807, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
+ {.bitmap_index = 16983, .adv_w = 338, .box_w = 22, .box_h = 14, .ofs_x = 0, .ofs_y = 1}
};
/*---------------------
@@ -2769,14 +2712,14 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
*--------------------*/
static const uint16_t unicode_list_1[] = {
- 0x0, 0x1e8a, 0x82b6, 0x82bd, 0x82c0, 0x82c1, 0x82c2, 0x82c6,
- 0x82c8, 0x82ca, 0x82ce, 0x82d1, 0x82d6, 0x82db, 0x82dc, 0x82dd,
- 0x82f3, 0x82f8, 0x82fd, 0x8300, 0x8301, 0x8302, 0x8306, 0x8307,
- 0x8308, 0x8309, 0x831c, 0x831d, 0x8323, 0x8325, 0x8326, 0x8329,
- 0x832c, 0x832d, 0x832e, 0x8330, 0x8348, 0x834a, 0x8379, 0x837a,
- 0x837c, 0x837e, 0x8395, 0x839c, 0x839f, 0x83a8, 0x83d1, 0x83d9,
- 0x8410, 0x84a0, 0x84f5, 0x84f6, 0x84f7, 0x84f8, 0x84f9, 0x853c,
- 0x8548, 0x85a2, 0x85b9, 0x880f, 0x8a77, 0x8b57
+ 0x0, 0x7, 0xa, 0xb, 0xc, 0x10, 0x12, 0x14,
+ 0x18, 0x1b, 0x20, 0x25, 0x26, 0x27, 0x3d, 0x42,
+ 0x47, 0x4a, 0x4b, 0x4c, 0x50, 0x51, 0x52, 0x53,
+ 0x66, 0x67, 0x6d, 0x6f, 0x70, 0x73, 0x76, 0x77,
+ 0x78, 0x7a, 0x92, 0x94, 0xc3, 0xc4, 0xc6, 0xc8,
+ 0xdf, 0xe6, 0xe9, 0xf2, 0x11b, 0x123, 0x15a, 0x1ea,
+ 0x23f, 0x240, 0x241, 0x242, 0x243, 0x286, 0x292, 0x2ec,
+ 0x303, 0x559, 0x7c1, 0x8a1
};
/*Collect the unicode lists and glyph_id offsets*/
@@ -2787,8 +2730,8 @@ static const lv_font_fmt_txt_cmap_t cmaps[] =
.unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY
},
{
- .range_start = 27979, .range_length = 35672, .glyph_id_start = 96,
- .unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 62, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
+ .range_start = 61441, .range_length = 2210, .glyph_id_start = 96,
+ .unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 60, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
}
};
diff --git a/applications/lvgl/guider/generated/setup_scr_screen.c b/applications/lvgl/guider/generated/setup_scr_screen.c
index 88e2e38..cb77dde 100644
--- a/applications/lvgl/guider/generated/setup_scr_screen.c
+++ b/applications/lvgl/guider/generated/setup_scr_screen.c
@@ -1,9 +1,4 @@
/*
-#include
-#include
-#include
-#include
-#include
* 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,
@@ -14,8 +9,12 @@
#include "lvgl.h"
#include
-#include "widgets_init.h"
#include "gui_guider.h"
+#include "events_init.h"
+#include "widgets_init.h"
+#include "custom.h"
+
+
void setup_scr_screen(lv_ui *ui)
{
@@ -75,69 +74,69 @@ void setup_scr_screen(lv_ui *ui)
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_img_inf
- ui->screen_img_inf = lv_img_create(ui->screen_TITLE);
- lv_obj_add_flag(ui->screen_img_inf, LV_OBJ_FLAG_CLICKABLE);
- lv_img_set_src(ui->screen_img_inf, &_ico_order_alpha_40x40);
- lv_img_set_pivot(ui->screen_img_inf, 40,40);
- lv_img_set_angle(ui->screen_img_inf, 0);
- lv_obj_set_pos(ui->screen_img_inf, 350, 5);
- lv_obj_set_size(ui->screen_img_inf, 40, 40);
-
- //Write style for screen_img_inf, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_img_recolor_opa(ui->screen_img_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_img_opa(ui->screen_img_inf, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_img_inf, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_clip_corner(ui->screen_img_inf, true, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write codes screen_img_2
- ui->screen_img_2 = lv_img_create(ui->screen_TITLE);
- lv_obj_add_flag(ui->screen_img_2, LV_OBJ_FLAG_CLICKABLE);
- lv_img_set_src(ui->screen_img_2, &_IconParkLock_alpha_40x40);
- lv_img_set_pivot(ui->screen_img_2, 40,40);
- lv_img_set_angle(ui->screen_img_2, 0);
- lv_obj_set_pos(ui->screen_img_2, 750, 5);
- lv_obj_set_size(ui->screen_img_2, 40, 40);
-
- //Write style for screen_img_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_img_recolor_opa(ui->screen_img_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_img_opa(ui->screen_img_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_img_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_clip_corner(ui->screen_img_2, true, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write codes screen_img_3
- ui->screen_img_3 = lv_img_create(ui->screen_TITLE);
- lv_obj_add_flag(ui->screen_img_3, LV_OBJ_FLAG_CLICKABLE);
- lv_img_set_src(ui->screen_img_3, &_ico_link_alpha_40x40);
- lv_img_set_pivot(ui->screen_img_3, 40,40);
- lv_img_set_angle(ui->screen_img_3, 0);
- lv_obj_set_pos(ui->screen_img_3, 800, 5);
- lv_obj_set_size(ui->screen_img_3, 40, 40);
-
- //Write style for screen_img_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_img_recolor_opa(ui->screen_img_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_img_opa(ui->screen_img_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_img_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_clip_corner(ui->screen_img_3, true, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write codes screen_img_4
- ui->screen_img_4 = lv_img_create(ui->screen_TITLE);
- lv_obj_add_flag(ui->screen_img_4, LV_OBJ_FLAG_CLICKABLE);
- lv_img_set_src(ui->screen_img_4, &_IconParkPlay_alpha_40x40);
- lv_img_set_pivot(ui->screen_img_4, 40,40);
- lv_img_set_angle(ui->screen_img_4, 0);
- lv_obj_set_pos(ui->screen_img_4, 850, 5);
- lv_obj_set_size(ui->screen_img_4, 40, 40);
-
- //Write style for screen_img_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_img_recolor_opa(ui->screen_img_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_img_opa(ui->screen_img_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_img_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_clip_corner(ui->screen_img_4, 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, 350, 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_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, 750, 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_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, "120.5");
+ 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, 25);
@@ -183,7 +182,7 @@ void setup_scr_screen(lv_ui *ui)
//Write codes screen_order
ui->screen_order = lv_label_create(ui->screen_TITLE);
- lv_label_set_text(ui->screen_order, "SC202512140001");
+ 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, 400, 10);
lv_obj_set_size(ui->screen_order, 200, 30);
@@ -311,361 +310,343 @@ void setup_scr_screen(lv_ui *ui)
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_btn_1
- ui->screen_btn_1 = lv_btn_create(ui->screen_tabview_tab_1);
- 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, 880, 410);
- 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_16, 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_3
- ui->screen_btn_3 = lv_btn_create(ui->screen_tabview_tab_1);
- ui->screen_btn_3_label = lv_label_create(ui->screen_btn_3);
- lv_label_set_text(ui->screen_btn_3_label, "编辑");
- lv_label_set_long_mode(ui->screen_btn_3_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->screen_btn_3_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->screen_btn_3, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->screen_btn_3_label, LV_PCT(100));
- lv_obj_set_pos(ui->screen_btn_3, 881, 345);
- lv_obj_set_size(ui->screen_btn_3, 100, 50);
-
- //Write style for screen_btn_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->screen_btn_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->screen_btn_3, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->screen_btn_3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->screen_btn_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_btn_3, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->screen_btn_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->screen_btn_3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->screen_btn_3, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->screen_btn_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->screen_btn_3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write codes screen_list_2
- ui->screen_list_2 = lv_list_create(ui->screen_tabview_tab_1);
- ui->screen_list_2_item0 = lv_list_add_btn(ui->screen_list_2, LV_SYMBOL_SAVE, "save");
- lv_obj_set_pos(ui->screen_list_2, 0, 0);
- lv_obj_set_size(ui->screen_list_2, 300, 460);
- lv_obj_set_scrollbar_mode(ui->screen_list_2, LV_SCROLLBAR_MODE_ACTIVE);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_2_main_main_default
- static lv_style_t style_screen_list_2_main_main_default;
- ui_init_style(&style_screen_list_2_main_main_default);
-
- lv_style_set_pad_top(&style_screen_list_2_main_main_default, 0);
- lv_style_set_pad_left(&style_screen_list_2_main_main_default, 0);
- lv_style_set_pad_right(&style_screen_list_2_main_main_default, 0);
- lv_style_set_pad_bottom(&style_screen_list_2_main_main_default, 0);
- lv_style_set_bg_opa(&style_screen_list_2_main_main_default, 255);
- lv_style_set_bg_color(&style_screen_list_2_main_main_default, lv_color_hex(0xffffff));
- lv_style_set_bg_grad_dir(&style_screen_list_2_main_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_screen_list_2_main_main_default, 1);
- lv_style_set_border_opa(&style_screen_list_2_main_main_default, 255);
- lv_style_set_border_color(&style_screen_list_2_main_main_default, lv_color_hex(0xe1e6ee));
- lv_style_set_border_side(&style_screen_list_2_main_main_default, LV_BORDER_SIDE_FULL);
- lv_style_set_radius(&style_screen_list_2_main_main_default, 3);
- lv_style_set_shadow_width(&style_screen_list_2_main_main_default, 0);
- lv_obj_add_style(ui->screen_list_2, &style_screen_list_2_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_2_main_scrollbar_default
- static lv_style_t style_screen_list_2_main_scrollbar_default;
- ui_init_style(&style_screen_list_2_main_scrollbar_default);
-
- lv_style_set_radius(&style_screen_list_2_main_scrollbar_default, 3);
- lv_style_set_bg_opa(&style_screen_list_2_main_scrollbar_default, 255);
- lv_style_set_bg_color(&style_screen_list_2_main_scrollbar_default, lv_color_hex(0xb0c7cf));
- lv_style_set_bg_grad_dir(&style_screen_list_2_main_scrollbar_default, LV_GRAD_DIR_NONE);
- lv_obj_add_style(ui->screen_list_2, &style_screen_list_2_main_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_2_extra_btns_main_default
- static lv_style_t style_screen_list_2_extra_btns_main_default;
- ui_init_style(&style_screen_list_2_extra_btns_main_default);
-
- lv_style_set_pad_top(&style_screen_list_2_extra_btns_main_default, 5);
- lv_style_set_pad_left(&style_screen_list_2_extra_btns_main_default, 14);
- lv_style_set_pad_right(&style_screen_list_2_extra_btns_main_default, 0);
- lv_style_set_pad_bottom(&style_screen_list_2_extra_btns_main_default, 3);
- lv_style_set_border_width(&style_screen_list_2_extra_btns_main_default, 0);
- lv_style_set_text_color(&style_screen_list_2_extra_btns_main_default, lv_color_hex(0x0D3055));
- lv_style_set_text_font(&style_screen_list_2_extra_btns_main_default, &lv_font_montserratMedium_15);
- lv_style_set_text_opa(&style_screen_list_2_extra_btns_main_default, 255);
- lv_style_set_radius(&style_screen_list_2_extra_btns_main_default, 0);
- lv_style_set_bg_opa(&style_screen_list_2_extra_btns_main_default, 0);
- lv_obj_add_style(ui->screen_list_2_item0, &style_screen_list_2_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_2_extra_texts_main_default
- static lv_style_t style_screen_list_2_extra_texts_main_default;
- ui_init_style(&style_screen_list_2_extra_texts_main_default);
-
- lv_style_set_pad_top(&style_screen_list_2_extra_texts_main_default, 5);
- lv_style_set_pad_left(&style_screen_list_2_extra_texts_main_default, 0);
- lv_style_set_pad_right(&style_screen_list_2_extra_texts_main_default, 0);
- lv_style_set_pad_bottom(&style_screen_list_2_extra_texts_main_default, 0);
- lv_style_set_border_width(&style_screen_list_2_extra_texts_main_default, 0);
- lv_style_set_text_color(&style_screen_list_2_extra_texts_main_default, lv_color_hex(0x0D3055));
- lv_style_set_text_font(&style_screen_list_2_extra_texts_main_default, &lv_font_Alatsi_Regular_20);
- lv_style_set_text_opa(&style_screen_list_2_extra_texts_main_default, 255);
- lv_style_set_radius(&style_screen_list_2_extra_texts_main_default, 3);
- lv_style_set_transform_width(&style_screen_list_2_extra_texts_main_default, 0);
- lv_style_set_bg_opa(&style_screen_list_2_extra_texts_main_default, 0);
-
- //Write codes screen_btn_4
- ui->screen_btn_4 = lv_btn_create(ui->screen_tabview_tab_1);
- ui->screen_btn_4_label = lv_label_create(ui->screen_btn_4);
- lv_label_set_text(ui->screen_btn_4_label, "工艺");
- lv_label_set_long_mode(ui->screen_btn_4_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->screen_btn_4_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->screen_btn_4, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->screen_btn_4_label, LV_PCT(100));
- lv_obj_set_pos(ui->screen_btn_4, 880, 280);
- lv_obj_set_size(ui->screen_btn_4, 100, 50);
-
- //Write style for screen_btn_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->screen_btn_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->screen_btn_4, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->screen_btn_4, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->screen_btn_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_btn_4, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->screen_btn_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->screen_btn_4, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->screen_btn_4, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->screen_btn_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->screen_btn_4, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write codes screen_label_3
- ui->screen_label_3 = lv_label_create(ui->screen_tabview_tab_1);
- lv_label_set_text(ui->screen_label_3, "Label");
- lv_label_set_long_mode(ui->screen_label_3, LV_LABEL_LONG_WRAP);
- lv_obj_set_pos(ui->screen_label_3, 305, 265);
- lv_obj_set_size(ui->screen_label_3, 550, 195);
-
- //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, 2, 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_list_3
- ui->screen_list_3 = lv_list_create(ui->screen_tabview_tab_1);
- ui->screen_list_3_item0 = lv_list_add_btn(ui->screen_list_3, LV_SYMBOL_SAVE, "save");
- lv_obj_set_pos(ui->screen_list_3, 305, 0);
- lv_obj_set_size(ui->screen_list_3, 675, 260);
- lv_obj_set_scrollbar_mode(ui->screen_list_3, LV_SCROLLBAR_MODE_ACTIVE);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_3_main_main_default
- static lv_style_t style_screen_list_3_main_main_default;
- ui_init_style(&style_screen_list_3_main_main_default);
-
- lv_style_set_pad_top(&style_screen_list_3_main_main_default, 0);
- lv_style_set_pad_left(&style_screen_list_3_main_main_default, 0);
- lv_style_set_pad_right(&style_screen_list_3_main_main_default, 0);
- lv_style_set_pad_bottom(&style_screen_list_3_main_main_default, 0);
- lv_style_set_bg_opa(&style_screen_list_3_main_main_default, 255);
- lv_style_set_bg_color(&style_screen_list_3_main_main_default, lv_color_hex(0xffffff));
- lv_style_set_bg_grad_dir(&style_screen_list_3_main_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_screen_list_3_main_main_default, 1);
- lv_style_set_border_opa(&style_screen_list_3_main_main_default, 255);
- lv_style_set_border_color(&style_screen_list_3_main_main_default, lv_color_hex(0xe1e6ee));
- lv_style_set_border_side(&style_screen_list_3_main_main_default, LV_BORDER_SIDE_FULL);
- lv_style_set_radius(&style_screen_list_3_main_main_default, 3);
- lv_style_set_shadow_width(&style_screen_list_3_main_main_default, 0);
- lv_obj_add_style(ui->screen_list_3, &style_screen_list_3_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_3_main_scrollbar_default
- static lv_style_t style_screen_list_3_main_scrollbar_default;
- ui_init_style(&style_screen_list_3_main_scrollbar_default);
-
- lv_style_set_radius(&style_screen_list_3_main_scrollbar_default, 3);
- lv_style_set_bg_opa(&style_screen_list_3_main_scrollbar_default, 255);
- lv_style_set_bg_color(&style_screen_list_3_main_scrollbar_default, lv_color_hex(0xb0c7cf));
- lv_style_set_bg_grad_dir(&style_screen_list_3_main_scrollbar_default, LV_GRAD_DIR_NONE);
- lv_obj_add_style(ui->screen_list_3, &style_screen_list_3_main_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_3_extra_btns_main_default
- static lv_style_t style_screen_list_3_extra_btns_main_default;
- ui_init_style(&style_screen_list_3_extra_btns_main_default);
-
- lv_style_set_pad_top(&style_screen_list_3_extra_btns_main_default, 5);
- lv_style_set_pad_left(&style_screen_list_3_extra_btns_main_default, 14);
- lv_style_set_pad_right(&style_screen_list_3_extra_btns_main_default, 0);
- lv_style_set_pad_bottom(&style_screen_list_3_extra_btns_main_default, 3);
- lv_style_set_border_width(&style_screen_list_3_extra_btns_main_default, 0);
- lv_style_set_text_color(&style_screen_list_3_extra_btns_main_default, lv_color_hex(0x0D3055));
- lv_style_set_text_font(&style_screen_list_3_extra_btns_main_default, &lv_font_montserratMedium_15);
- lv_style_set_text_opa(&style_screen_list_3_extra_btns_main_default, 255);
- lv_style_set_radius(&style_screen_list_3_extra_btns_main_default, 0);
- lv_style_set_bg_opa(&style_screen_list_3_extra_btns_main_default, 0);
- lv_obj_add_style(ui->screen_list_3_item0, &style_screen_list_3_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_3_extra_texts_main_default
- static lv_style_t style_screen_list_3_extra_texts_main_default;
- ui_init_style(&style_screen_list_3_extra_texts_main_default);
-
- lv_style_set_pad_top(&style_screen_list_3_extra_texts_main_default, 5);
- lv_style_set_pad_left(&style_screen_list_3_extra_texts_main_default, 0);
- lv_style_set_pad_right(&style_screen_list_3_extra_texts_main_default, 0);
- lv_style_set_pad_bottom(&style_screen_list_3_extra_texts_main_default, 0);
- lv_style_set_border_width(&style_screen_list_3_extra_texts_main_default, 0);
- lv_style_set_text_color(&style_screen_list_3_extra_texts_main_default, lv_color_hex(0x0D3055));
- lv_style_set_text_font(&style_screen_list_3_extra_texts_main_default, &lv_font_Alatsi_Regular_20);
- lv_style_set_text_opa(&style_screen_list_3_extra_texts_main_default, 255);
- lv_style_set_radius(&style_screen_list_3_extra_texts_main_default, 3);
- lv_style_set_transform_width(&style_screen_list_3_extra_texts_main_default, 0);
- lv_style_set_bg_opa(&style_screen_list_3_extra_texts_main_default, 0);
+ //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, 410);
+ lv_obj_set_size(ui->screen_w_start, 100, 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_16, 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, 881, 345);
+ lv_obj_set_size(ui->screen_w_edit, 100, 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_16, 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_list
+ ui->screen_w_list = lv_list_create(ui->screen_tabview_tab_1);
+ ui->screen_w_list_item0 = lv_list_add_btn(ui->screen_w_list, LV_SYMBOL_SAVE, "save");
+ lv_obj_set_pos(ui->screen_w_list, 0, 0);
+ lv_obj_set_size(ui->screen_w_list, 300, 460);
+ lv_obj_set_scrollbar_mode(ui->screen_w_list, LV_SCROLLBAR_MODE_ACTIVE);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_w_list_main_main_default
+ static lv_style_t style_screen_w_list_main_main_default;
+ ui_init_style(&style_screen_w_list_main_main_default);
+
+ lv_style_set_pad_top(&style_screen_w_list_main_main_default, 0);
+ lv_style_set_pad_left(&style_screen_w_list_main_main_default, 0);
+ lv_style_set_pad_right(&style_screen_w_list_main_main_default, 0);
+ lv_style_set_pad_bottom(&style_screen_w_list_main_main_default, 0);
+ lv_style_set_bg_opa(&style_screen_w_list_main_main_default, 255);
+ lv_style_set_bg_color(&style_screen_w_list_main_main_default, lv_color_hex(0xffffff));
+ lv_style_set_bg_grad_dir(&style_screen_w_list_main_main_default, LV_GRAD_DIR_NONE);
+ lv_style_set_border_width(&style_screen_w_list_main_main_default, 1);
+ lv_style_set_border_opa(&style_screen_w_list_main_main_default, 255);
+ lv_style_set_border_color(&style_screen_w_list_main_main_default, lv_color_hex(0xe1e6ee));
+ lv_style_set_border_side(&style_screen_w_list_main_main_default, LV_BORDER_SIDE_FULL);
+ lv_style_set_radius(&style_screen_w_list_main_main_default, 3);
+ lv_style_set_shadow_width(&style_screen_w_list_main_main_default, 0);
+ lv_obj_add_style(ui->screen_w_list, &style_screen_w_list_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_w_list_main_scrollbar_default
+ static lv_style_t style_screen_w_list_main_scrollbar_default;
+ ui_init_style(&style_screen_w_list_main_scrollbar_default);
+
+ lv_style_set_radius(&style_screen_w_list_main_scrollbar_default, 3);
+ lv_style_set_bg_opa(&style_screen_w_list_main_scrollbar_default, 255);
+ lv_style_set_bg_color(&style_screen_w_list_main_scrollbar_default, lv_color_hex(0xb0c7cf));
+ lv_style_set_bg_grad_dir(&style_screen_w_list_main_scrollbar_default, LV_GRAD_DIR_NONE);
+ lv_obj_add_style(ui->screen_w_list, &style_screen_w_list_main_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_w_list_extra_btns_main_default
+ static lv_style_t style_screen_w_list_extra_btns_main_default;
+ ui_init_style(&style_screen_w_list_extra_btns_main_default);
+
+ lv_style_set_pad_top(&style_screen_w_list_extra_btns_main_default, 5);
+ lv_style_set_pad_left(&style_screen_w_list_extra_btns_main_default, 14);
+ lv_style_set_pad_right(&style_screen_w_list_extra_btns_main_default, 0);
+ lv_style_set_pad_bottom(&style_screen_w_list_extra_btns_main_default, 3);
+ lv_style_set_border_width(&style_screen_w_list_extra_btns_main_default, 0);
+ lv_style_set_text_color(&style_screen_w_list_extra_btns_main_default, lv_color_hex(0x0D3055));
+ lv_style_set_text_font(&style_screen_w_list_extra_btns_main_default, &lv_font_montserratMedium_15);
+ lv_style_set_text_opa(&style_screen_w_list_extra_btns_main_default, 255);
+ lv_style_set_radius(&style_screen_w_list_extra_btns_main_default, 0);
+ lv_style_set_bg_opa(&style_screen_w_list_extra_btns_main_default, 0);
+ lv_obj_add_style(ui->screen_w_list_item0, &style_screen_w_list_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_w_list_extra_texts_main_default
+ static lv_style_t style_screen_w_list_extra_texts_main_default;
+ ui_init_style(&style_screen_w_list_extra_texts_main_default);
+
+ lv_style_set_pad_top(&style_screen_w_list_extra_texts_main_default, 5);
+ lv_style_set_pad_left(&style_screen_w_list_extra_texts_main_default, 0);
+ lv_style_set_pad_right(&style_screen_w_list_extra_texts_main_default, 0);
+ lv_style_set_pad_bottom(&style_screen_w_list_extra_texts_main_default, 0);
+ lv_style_set_border_width(&style_screen_w_list_extra_texts_main_default, 0);
+ lv_style_set_text_color(&style_screen_w_list_extra_texts_main_default, lv_color_hex(0x0D3055));
+ lv_style_set_text_font(&style_screen_w_list_extra_texts_main_default, &lv_font_Alatsi_Regular_20);
+ lv_style_set_text_opa(&style_screen_w_list_extra_texts_main_default, 255);
+ lv_style_set_radius(&style_screen_w_list_extra_texts_main_default, 3);
+ lv_style_set_transform_width(&style_screen_w_list_extra_texts_main_default, 0);
+ lv_style_set_bg_opa(&style_screen_w_list_extra_texts_main_default, 0);
+
+ //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, 100, 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_16, 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_label_create(ui->screen_tabview_tab_1);
+ lv_label_set_text(ui->screen_w_text, "Label");
+ lv_label_set_long_mode(ui->screen_w_text, LV_LABEL_LONG_WRAP);
+ lv_obj_set_pos(ui->screen_w_text, 305, 265);
+ lv_obj_set_size(ui->screen_w_text, 550, 195);
+
+ //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_text_color(ui->screen_w_text, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_font(ui->screen_w_text, &lv_font_simsun_24, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_opa(ui->screen_w_text, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_letter_space(ui->screen_w_text, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_line_space(ui->screen_w_text, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_align(ui->screen_w_text, LV_TEXT_ALIGN_LEFT, 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_right(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_shadow_width(ui->screen_w_text, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+
+ //Write codes screen_list_inf
+ ui->screen_list_inf = lv_list_create(ui->screen_tabview_tab_1);
+ ui->screen_list_inf_item0 = lv_list_add_btn(ui->screen_list_inf, LV_SYMBOL_SAVE, "save");
+ lv_obj_set_pos(ui->screen_list_inf, 305, 0);
+ lv_obj_set_size(ui->screen_list_inf, 675, 260);
+ lv_obj_set_scrollbar_mode(ui->screen_list_inf, LV_SCROLLBAR_MODE_ACTIVE);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_list_inf_main_main_default
+ static lv_style_t style_screen_list_inf_main_main_default;
+ ui_init_style(&style_screen_list_inf_main_main_default);
+
+ lv_style_set_pad_top(&style_screen_list_inf_main_main_default, 0);
+ lv_style_set_pad_left(&style_screen_list_inf_main_main_default, 0);
+ lv_style_set_pad_right(&style_screen_list_inf_main_main_default, 0);
+ lv_style_set_pad_bottom(&style_screen_list_inf_main_main_default, 0);
+ lv_style_set_bg_opa(&style_screen_list_inf_main_main_default, 255);
+ lv_style_set_bg_color(&style_screen_list_inf_main_main_default, lv_color_hex(0xffffff));
+ lv_style_set_bg_grad_dir(&style_screen_list_inf_main_main_default, LV_GRAD_DIR_NONE);
+ lv_style_set_border_width(&style_screen_list_inf_main_main_default, 1);
+ lv_style_set_border_opa(&style_screen_list_inf_main_main_default, 255);
+ lv_style_set_border_color(&style_screen_list_inf_main_main_default, lv_color_hex(0xe1e6ee));
+ lv_style_set_border_side(&style_screen_list_inf_main_main_default, LV_BORDER_SIDE_FULL);
+ lv_style_set_radius(&style_screen_list_inf_main_main_default, 3);
+ lv_style_set_shadow_width(&style_screen_list_inf_main_main_default, 0);
+ lv_obj_add_style(ui->screen_list_inf, &style_screen_list_inf_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_list_inf_main_scrollbar_default
+ static lv_style_t style_screen_list_inf_main_scrollbar_default;
+ ui_init_style(&style_screen_list_inf_main_scrollbar_default);
+
+ lv_style_set_radius(&style_screen_list_inf_main_scrollbar_default, 3);
+ lv_style_set_bg_opa(&style_screen_list_inf_main_scrollbar_default, 255);
+ lv_style_set_bg_color(&style_screen_list_inf_main_scrollbar_default, lv_color_hex(0xb0c7cf));
+ lv_style_set_bg_grad_dir(&style_screen_list_inf_main_scrollbar_default, LV_GRAD_DIR_NONE);
+ lv_obj_add_style(ui->screen_list_inf, &style_screen_list_inf_main_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_list_inf_extra_btns_main_default
+ static lv_style_t style_screen_list_inf_extra_btns_main_default;
+ ui_init_style(&style_screen_list_inf_extra_btns_main_default);
+
+ lv_style_set_pad_top(&style_screen_list_inf_extra_btns_main_default, 5);
+ lv_style_set_pad_left(&style_screen_list_inf_extra_btns_main_default, 14);
+ lv_style_set_pad_right(&style_screen_list_inf_extra_btns_main_default, 0);
+ lv_style_set_pad_bottom(&style_screen_list_inf_extra_btns_main_default, 3);
+ lv_style_set_border_width(&style_screen_list_inf_extra_btns_main_default, 0);
+ lv_style_set_text_color(&style_screen_list_inf_extra_btns_main_default, lv_color_hex(0x0D3055));
+ lv_style_set_text_font(&style_screen_list_inf_extra_btns_main_default, &lv_font_montserratMedium_15);
+ lv_style_set_text_opa(&style_screen_list_inf_extra_btns_main_default, 255);
+ lv_style_set_radius(&style_screen_list_inf_extra_btns_main_default, 0);
+ lv_style_set_bg_opa(&style_screen_list_inf_extra_btns_main_default, 0);
+ lv_obj_add_style(ui->screen_list_inf_item0, &style_screen_list_inf_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_list_inf_extra_texts_main_default
+ static lv_style_t style_screen_list_inf_extra_texts_main_default;
+ ui_init_style(&style_screen_list_inf_extra_texts_main_default);
+
+ lv_style_set_pad_top(&style_screen_list_inf_extra_texts_main_default, 5);
+ lv_style_set_pad_left(&style_screen_list_inf_extra_texts_main_default, 0);
+ lv_style_set_pad_right(&style_screen_list_inf_extra_texts_main_default, 0);
+ lv_style_set_pad_bottom(&style_screen_list_inf_extra_texts_main_default, 0);
+ lv_style_set_border_width(&style_screen_list_inf_extra_texts_main_default, 0);
+ lv_style_set_text_color(&style_screen_list_inf_extra_texts_main_default, lv_color_hex(0x0D3055));
+ lv_style_set_text_font(&style_screen_list_inf_extra_texts_main_default, &lv_font_Alatsi_Regular_20);
+ lv_style_set_text_opa(&style_screen_list_inf_extra_texts_main_default, 255);
+ lv_style_set_radius(&style_screen_list_inf_extra_texts_main_default, 3);
+ lv_style_set_transform_width(&style_screen_list_inf_extra_texts_main_default, 0);
+ lv_style_set_bg_opa(&style_screen_list_inf_extra_texts_main_default, 0);
//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_w_2
- ui->screen_w_2 = lv_obj_create(ui->screen_tabview_tab_2);
- lv_obj_set_pos(ui->screen_w_2, 0, 0);
- lv_obj_set_size(ui->screen_w_2, 984, 460);
- lv_obj_set_scrollbar_mode(ui->screen_w_2, LV_SCROLLBAR_MODE_OFF);
-
- //Write style for screen_w_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->screen_w_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_w_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->screen_w_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->screen_w_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->screen_w_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->screen_w_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->screen_w_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->screen_w_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write codes screen_list_1
- ui->screen_list_1 = lv_list_create(ui->screen_w_2);
- ui->screen_list_1_item0 =lv_list_add_text(ui->screen_list_1, "测试");
- ui->screen_list_1_item1 =lv_list_add_text(ui->screen_list_1, "save_1");
- ui->screen_list_1_item2 =lv_list_add_text(ui->screen_list_1, "save_2");
- ui->screen_list_1_item3 =lv_list_add_text(ui->screen_list_1, "save_3");
- ui->screen_list_1_item4 =lv_list_add_text(ui->screen_list_1, "save_4");
- ui->screen_list_1_item5 =lv_list_add_text(ui->screen_list_1, "save_5");
- ui->screen_list_1_item6 =lv_list_add_text(ui->screen_list_1, "save_6");
- ui->screen_list_1_item7 =lv_list_add_text(ui->screen_list_1, "save_7");
- ui->screen_list_1_item8 =lv_list_add_text(ui->screen_list_1, "save_8");
- ui->screen_list_1_item9 =lv_list_add_text(ui->screen_list_1, "save_9");
- ui->screen_list_1_item10 =lv_list_add_text(ui->screen_list_1, "save_10");
- ui->screen_list_1_item11 =lv_list_add_text(ui->screen_list_1, "save_11");
- ui->screen_list_1_item12 =lv_list_add_text(ui->screen_list_1, "save_12");
- ui->screen_list_1_item13 =lv_list_add_text(ui->screen_list_1, "save_13");
- ui->screen_list_1_item14 =lv_list_add_text(ui->screen_list_1, "save_14");
- ui->screen_list_1_item15 =lv_list_add_text(ui->screen_list_1, "save_15");
- lv_obj_set_pos(ui->screen_list_1, 0, 65);
- lv_obj_set_size(ui->screen_list_1, 450, 335);
- lv_obj_set_scrollbar_mode(ui->screen_list_1, LV_SCROLLBAR_MODE_ACTIVE);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_1_main_main_default
- static lv_style_t style_screen_list_1_main_main_default;
- ui_init_style(&style_screen_list_1_main_main_default);
-
- lv_style_set_pad_top(&style_screen_list_1_main_main_default, 5);
- lv_style_set_pad_left(&style_screen_list_1_main_main_default, 5);
- lv_style_set_pad_right(&style_screen_list_1_main_main_default, 5);
- lv_style_set_pad_bottom(&style_screen_list_1_main_main_default, 5);
- lv_style_set_bg_opa(&style_screen_list_1_main_main_default, 255);
- lv_style_set_bg_color(&style_screen_list_1_main_main_default, lv_color_hex(0xffffff));
- lv_style_set_bg_grad_dir(&style_screen_list_1_main_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_screen_list_1_main_main_default, 1);
- lv_style_set_border_opa(&style_screen_list_1_main_main_default, 255);
- lv_style_set_border_color(&style_screen_list_1_main_main_default, lv_color_hex(0xe1e6ee));
- lv_style_set_border_side(&style_screen_list_1_main_main_default, LV_BORDER_SIDE_NONE);
- lv_style_set_radius(&style_screen_list_1_main_main_default, 3);
- lv_style_set_shadow_width(&style_screen_list_1_main_main_default, 0);
- lv_obj_add_style(ui->screen_list_1, &style_screen_list_1_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_1_main_scrollbar_default
- static lv_style_t style_screen_list_1_main_scrollbar_default;
- ui_init_style(&style_screen_list_1_main_scrollbar_default);
-
- lv_style_set_radius(&style_screen_list_1_main_scrollbar_default, 3);
- lv_style_set_bg_opa(&style_screen_list_1_main_scrollbar_default, 255);
- lv_style_set_bg_color(&style_screen_list_1_main_scrollbar_default, lv_color_hex(0xffffff));
- lv_style_set_bg_grad_dir(&style_screen_list_1_main_scrollbar_default, LV_GRAD_DIR_NONE);
- lv_obj_add_style(ui->screen_list_1, &style_screen_list_1_main_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_1_extra_btns_main_default
- static lv_style_t style_screen_list_1_extra_btns_main_default;
- ui_init_style(&style_screen_list_1_extra_btns_main_default);
-
- lv_style_set_pad_top(&style_screen_list_1_extra_btns_main_default, 5);
- lv_style_set_pad_left(&style_screen_list_1_extra_btns_main_default, 5);
- lv_style_set_pad_right(&style_screen_list_1_extra_btns_main_default, 5);
- lv_style_set_pad_bottom(&style_screen_list_1_extra_btns_main_default, 5);
- lv_style_set_border_width(&style_screen_list_1_extra_btns_main_default, 0);
- lv_style_set_text_color(&style_screen_list_1_extra_btns_main_default, lv_color_hex(0x0D3055));
- lv_style_set_text_font(&style_screen_list_1_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_screen_list_1_extra_btns_main_default, 255);
- lv_style_set_radius(&style_screen_list_1_extra_btns_main_default, 3);
- lv_style_set_bg_opa(&style_screen_list_1_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_screen_list_1_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_bg_grad_dir(&style_screen_list_1_extra_btns_main_default, LV_GRAD_DIR_NONE);
-
- //Write style state: LV_STATE_DEFAULT for &style_screen_list_1_extra_texts_main_default
- static lv_style_t style_screen_list_1_extra_texts_main_default;
- ui_init_style(&style_screen_list_1_extra_texts_main_default);
-
- lv_style_set_pad_top(&style_screen_list_1_extra_texts_main_default, 5);
- lv_style_set_pad_left(&style_screen_list_1_extra_texts_main_default, 5);
- lv_style_set_pad_right(&style_screen_list_1_extra_texts_main_default, 5);
- lv_style_set_pad_bottom(&style_screen_list_1_extra_texts_main_default, 5);
- lv_style_set_border_width(&style_screen_list_1_extra_texts_main_default, 0);
- lv_style_set_text_color(&style_screen_list_1_extra_texts_main_default, lv_color_hex(0x0D3055));
- lv_style_set_text_font(&style_screen_list_1_extra_texts_main_default, &lv_font_simsun_21);
- lv_style_set_text_opa(&style_screen_list_1_extra_texts_main_default, 255);
- lv_style_set_radius(&style_screen_list_1_extra_texts_main_default, 3);
- lv_style_set_transform_width(&style_screen_list_1_extra_texts_main_default, 0);
- lv_style_set_bg_opa(&style_screen_list_1_extra_texts_main_default, 255);
- lv_style_set_bg_color(&style_screen_list_1_extra_texts_main_default, lv_color_hex(0xffffff));
- lv_style_set_bg_grad_dir(&style_screen_list_1_extra_texts_main_default, LV_GRAD_DIR_NONE);
- lv_obj_add_style(ui->screen_list_1_item15, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item14, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item13, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item12, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item11, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item10, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item9, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item8, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item7, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item6, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item5, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item4, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item3, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item2, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item1, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->screen_list_1_item0, &style_screen_list_1_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ //Write codes screen_p_p
+ ui->screen_p_p = lv_list_create(ui->screen_tabview_tab_2);
+ ui->screen_p_p_item0 =lv_list_add_text(ui->screen_p_p, "save_1");
+ ui->screen_p_p_item1 =lv_list_add_text(ui->screen_p_p, "save_2");
+ ui->screen_p_p_item2 =lv_list_add_text(ui->screen_p_p, "save_3");
+ ui->screen_p_p_item3 =lv_list_add_text(ui->screen_p_p, "save_4");
+ ui->screen_p_p_item4 =lv_list_add_text(ui->screen_p_p, "save_5");
+ ui->screen_p_p_item5 =lv_list_add_text(ui->screen_p_p, "save_6");
+ ui->screen_p_p_item6 =lv_list_add_text(ui->screen_p_p, "save_7");
+ ui->screen_p_p_item7 =lv_list_add_text(ui->screen_p_p, "save_8");
+ ui->screen_p_p_item8 =lv_list_add_text(ui->screen_p_p, "save_9");
+ ui->screen_p_p_item9 =lv_list_add_text(ui->screen_p_p, "save_10");
+ ui->screen_p_p_item10 =lv_list_add_text(ui->screen_p_p, "save_11");
+ ui->screen_p_p_item11 =lv_list_add_text(ui->screen_p_p, "save_12");
+ ui->screen_p_p_item12 =lv_list_add_text(ui->screen_p_p, "save_13");
+ ui->screen_p_p_item13 =lv_list_add_text(ui->screen_p_p, "save_14");
+ ui->screen_p_p_item14 =lv_list_add_text(ui->screen_p_p, "save_15");
+ lv_obj_set_pos(ui->screen_p_p, 0, 65);
+ lv_obj_set_size(ui->screen_p_p, 450, 335);
+ lv_obj_set_scrollbar_mode(ui->screen_p_p, LV_SCROLLBAR_MODE_ACTIVE);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_p_p_main_main_default
+ static lv_style_t style_screen_p_p_main_main_default;
+ ui_init_style(&style_screen_p_p_main_main_default);
+
+ lv_style_set_pad_top(&style_screen_p_p_main_main_default, 5);
+ lv_style_set_pad_left(&style_screen_p_p_main_main_default, 5);
+ lv_style_set_pad_right(&style_screen_p_p_main_main_default, 5);
+ lv_style_set_pad_bottom(&style_screen_p_p_main_main_default, 5);
+ lv_style_set_bg_opa(&style_screen_p_p_main_main_default, 255);
+ lv_style_set_bg_color(&style_screen_p_p_main_main_default, lv_color_hex(0xffffff));
+ lv_style_set_bg_grad_dir(&style_screen_p_p_main_main_default, LV_GRAD_DIR_NONE);
+ lv_style_set_border_width(&style_screen_p_p_main_main_default, 1);
+ lv_style_set_border_opa(&style_screen_p_p_main_main_default, 255);
+ lv_style_set_border_color(&style_screen_p_p_main_main_default, lv_color_hex(0xe1e6ee));
+ lv_style_set_border_side(&style_screen_p_p_main_main_default, LV_BORDER_SIDE_NONE);
+ lv_style_set_radius(&style_screen_p_p_main_main_default, 3);
+ lv_style_set_shadow_width(&style_screen_p_p_main_main_default, 0);
+ lv_obj_add_style(ui->screen_p_p, &style_screen_p_p_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_p_p_main_scrollbar_default
+ static lv_style_t style_screen_p_p_main_scrollbar_default;
+ ui_init_style(&style_screen_p_p_main_scrollbar_default);
+
+ lv_style_set_radius(&style_screen_p_p_main_scrollbar_default, 3);
+ lv_style_set_bg_opa(&style_screen_p_p_main_scrollbar_default, 255);
+ lv_style_set_bg_color(&style_screen_p_p_main_scrollbar_default, lv_color_hex(0xffffff));
+ lv_style_set_bg_grad_dir(&style_screen_p_p_main_scrollbar_default, LV_GRAD_DIR_NONE);
+ lv_obj_add_style(ui->screen_p_p, &style_screen_p_p_main_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_p_p_extra_btns_main_default
+ static lv_style_t style_screen_p_p_extra_btns_main_default;
+ ui_init_style(&style_screen_p_p_extra_btns_main_default);
+
+ lv_style_set_pad_top(&style_screen_p_p_extra_btns_main_default, 5);
+ lv_style_set_pad_left(&style_screen_p_p_extra_btns_main_default, 5);
+ lv_style_set_pad_right(&style_screen_p_p_extra_btns_main_default, 5);
+ lv_style_set_pad_bottom(&style_screen_p_p_extra_btns_main_default, 5);
+ lv_style_set_border_width(&style_screen_p_p_extra_btns_main_default, 0);
+ lv_style_set_text_color(&style_screen_p_p_extra_btns_main_default, lv_color_hex(0x0D3055));
+ lv_style_set_text_font(&style_screen_p_p_extra_btns_main_default, &lv_font_montserratMedium_12);
+ lv_style_set_text_opa(&style_screen_p_p_extra_btns_main_default, 255);
+ lv_style_set_radius(&style_screen_p_p_extra_btns_main_default, 3);
+ lv_style_set_bg_opa(&style_screen_p_p_extra_btns_main_default, 255);
+ lv_style_set_bg_color(&style_screen_p_p_extra_btns_main_default, lv_color_hex(0xffffff));
+ lv_style_set_bg_grad_dir(&style_screen_p_p_extra_btns_main_default, LV_GRAD_DIR_NONE);
+
+ //Write style state: LV_STATE_DEFAULT for &style_screen_p_p_extra_texts_main_default
+ static lv_style_t style_screen_p_p_extra_texts_main_default;
+ ui_init_style(&style_screen_p_p_extra_texts_main_default);
+
+ lv_style_set_pad_top(&style_screen_p_p_extra_texts_main_default, 5);
+ lv_style_set_pad_left(&style_screen_p_p_extra_texts_main_default, 5);
+ lv_style_set_pad_right(&style_screen_p_p_extra_texts_main_default, 5);
+ lv_style_set_pad_bottom(&style_screen_p_p_extra_texts_main_default, 5);
+ lv_style_set_border_width(&style_screen_p_p_extra_texts_main_default, 0);
+ lv_style_set_text_color(&style_screen_p_p_extra_texts_main_default, lv_color_hex(0x0D3055));
+ lv_style_set_text_font(&style_screen_p_p_extra_texts_main_default, &lv_font_simsun_21);
+ lv_style_set_text_opa(&style_screen_p_p_extra_texts_main_default, 255);
+ lv_style_set_radius(&style_screen_p_p_extra_texts_main_default, 3);
+ lv_style_set_transform_width(&style_screen_p_p_extra_texts_main_default, 0);
+ lv_style_set_bg_opa(&style_screen_p_p_extra_texts_main_default, 255);
+ lv_style_set_bg_color(&style_screen_p_p_extra_texts_main_default, lv_color_hex(0xffffff));
+ lv_style_set_bg_grad_dir(&style_screen_p_p_extra_texts_main_default, LV_GRAD_DIR_NONE);
+ lv_obj_add_style(ui->screen_p_p_item14, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item13, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item12, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item11, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item10, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item9, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item8, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item7, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item6, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item5, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item4, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item3, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item2, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item1, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_add_style(ui->screen_p_p_item0, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_chart_temp
- ui->screen_chart_temp = lv_chart_create(ui->screen_w_2);
+ 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);
@@ -711,7 +692,7 @@ void setup_scr_screen(lv_ui *ui)
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_w_2);
+ 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);
@@ -736,7 +717,7 @@ void setup_scr_screen(lv_ui *ui)
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_w_2);
+ ui->screen_step_inf = lv_obj_create(ui->screen_tabview_tab_2);
lv_obj_set_pos(ui->screen_step_inf, 470, 200);
lv_obj_set_size(ui->screen_step_inf, 515, 260);
lv_obj_set_scrollbar_mode(ui->screen_step_inf, LV_SCROLLBAR_MODE_ACTIVE);
@@ -754,7 +735,7 @@ void setup_scr_screen(lv_ui *ui)
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_w_2);
+ 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);
@@ -779,7 +760,7 @@ void setup_scr_screen(lv_ui *ui)
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_w_2);
+ 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);
@@ -803,97 +784,97 @@ void setup_scr_screen(lv_ui *ui)
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_btn_5
- ui->screen_btn_5 = lv_btn_create(ui->screen_w_2);
- ui->screen_btn_5_label = lv_label_create(ui->screen_btn_5);
- lv_label_set_text(ui->screen_btn_5_label, "启/停");
- lv_label_set_long_mode(ui->screen_btn_5_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->screen_btn_5_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->screen_btn_5, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->screen_btn_5_label, LV_PCT(100));
- lv_obj_set_pos(ui->screen_btn_5, 5, 410);
- lv_obj_set_size(ui->screen_btn_5, 100, 50);
-
- //Write style for screen_btn_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->screen_btn_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->screen_btn_5, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->screen_btn_5, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->screen_btn_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_btn_5, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->screen_btn_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->screen_btn_5, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->screen_btn_5, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->screen_btn_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->screen_btn_5, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write codes screen_btn_6
- ui->screen_btn_6 = lv_btn_create(ui->screen_w_2);
- ui->screen_btn_6_label = lv_label_create(ui->screen_btn_6);
- lv_label_set_text(ui->screen_btn_6_label, "编辑");
- lv_label_set_long_mode(ui->screen_btn_6_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->screen_btn_6_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->screen_btn_6, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->screen_btn_6_label, LV_PCT(100));
- lv_obj_set_pos(ui->screen_btn_6, 120, 410);
- lv_obj_set_size(ui->screen_btn_6, 100, 50);
-
- //Write style for screen_btn_6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->screen_btn_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->screen_btn_6, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->screen_btn_6, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->screen_btn_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_btn_6, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->screen_btn_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->screen_btn_6, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->screen_btn_6, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->screen_btn_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->screen_btn_6, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write codes screen_btn_7
- ui->screen_btn_7 = lv_btn_create(ui->screen_w_2);
- ui->screen_btn_7_label = lv_label_create(ui->screen_btn_7);
- lv_label_set_text(ui->screen_btn_7_label, "插入");
- lv_label_set_long_mode(ui->screen_btn_7_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->screen_btn_7_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->screen_btn_7, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->screen_btn_7_label, LV_PCT(100));
- lv_obj_set_pos(ui->screen_btn_7, 235, 410);
- lv_obj_set_size(ui->screen_btn_7, 100, 50);
-
- //Write style for screen_btn_7, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->screen_btn_7, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->screen_btn_7, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->screen_btn_7, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->screen_btn_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_btn_7, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->screen_btn_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->screen_btn_7, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->screen_btn_7, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->screen_btn_7, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->screen_btn_7, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
-
- //Write codes screen_btn_8
- ui->screen_btn_8 = lv_btn_create(ui->screen_w_2);
- ui->screen_btn_8_label = lv_label_create(ui->screen_btn_8);
- lv_label_set_text(ui->screen_btn_8_label, "删除");
- lv_label_set_long_mode(ui->screen_btn_8_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->screen_btn_8_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->screen_btn_8, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->screen_btn_8_label, LV_PCT(100));
- lv_obj_set_pos(ui->screen_btn_8, 349, 410);
- lv_obj_set_size(ui->screen_btn_8, 100, 50);
-
- //Write style for screen_btn_8, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->screen_btn_8, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->screen_btn_8, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->screen_btn_8, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->screen_btn_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_btn_8, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->screen_btn_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->screen_btn_8, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->screen_btn_8, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->screen_btn_8, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->screen_btn_8, LV_TEXT_ALIGN_CENTER, 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, 410);
+ 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_16, 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, 410);
+ 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_16, 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, 349, 410);
+ 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_16, 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, 410);
+ 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_16, 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,"机台");
@@ -902,8 +883,8 @@ void setup_scr_screen(lv_ui *ui)
//Write codes screen_w_io
ui->screen_w_io = lv_tabview_create(ui->screen_tabview_tab_3, LV_DIR_RIGHT, 50);
- lv_obj_set_pos(ui->screen_w_io, 0, 1);
- lv_obj_set_size(ui->screen_w_io, 980, 450);
+ lv_obj_set_pos(ui->screen_w_io, -1, 0);
+ lv_obj_set_size(ui->screen_w_io, 980, 480);
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.
@@ -913,11 +894,11 @@ void setup_scr_screen(lv_ui *ui)
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, 2, 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, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->screen_w_io, lv_color_hex(0x737373), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->screen_w_io, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_w_io, 9, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_color(ui->screen_w_io, lv_color_hex(0x000000), 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
@@ -3928,11 +3909,11 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_set_size(ui->screen_do45, 20, 20);
//Write codes screen_d046
- ui->screen_d046 = lv_led_create(ui->screen_w_io_tab_2);
- lv_led_set_brightness(ui->screen_d046, 255);
- lv_led_set_color(ui->screen_d046, lv_color_hex(0xff0027));
- lv_obj_set_pos(ui->screen_d046, 550, 210);
- lv_obj_set_size(ui->screen_d046, 20, 20);
+ ui->screen_do46 = lv_led_create(ui->screen_w_io_tab_2);
+ 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, 550, 210);
+ lv_obj_set_size(ui->screen_do46, 20, 20);
//Write codes screen_do47
ui->screen_do47 = lv_led_create(ui->screen_w_io_tab_2);
@@ -4074,13 +4055,6 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_set_pos(ui->screen_do66, 150, 330);
lv_obj_set_size(ui->screen_do66, 20, 20);
- //Write codes screen_do67
- ui->screen_do67 = lv_led_create(ui->screen_w_io_tab_2);
- lv_led_set_brightness(ui->screen_do67, 255);
- lv_led_set_color(ui->screen_do67, lv_color_hex(0xff0027));
- lv_obj_set_pos(ui->screen_do67, 250, 330);
- lv_obj_set_size(ui->screen_do67, 20, 20);
-
//Write codes screen_name_do1
ui->screen_name_do1 = lv_label_create(ui->screen_w_io_tab_2);
lv_label_set_text(ui->screen_name_do1, "DO1");
@@ -5599,62 +5573,173 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_set_style_pad_left(ui->screen_name_do66, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_name_do66, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes screen_name_do67
- ui->screen_name_do67 = lv_label_create(ui->screen_w_io_tab_2);
- lv_label_set_text(ui->screen_name_do67, "DO67");
- lv_label_set_long_mode(ui->screen_name_do67, LV_LABEL_LONG_SCROLL_CIRCULAR);
- lv_obj_set_pos(ui->screen_name_do67, 280, 333);
- lv_obj_set_size(ui->screen_name_do67, 55, 14);
-
- //Write style for screen_name_do67, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->screen_name_do67, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_name_do67, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->screen_name_do67, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->screen_name_do67, &lv_font_montserratMedium_14, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->screen_name_do67, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->screen_name_do67, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->screen_name_do67, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->screen_name_do67, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->screen_name_do67, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->screen_name_do67, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->screen_name_do67, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->screen_name_do67, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->screen_name_do67, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->screen_name_do67, 0, 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
+ ui->screen_aio = lv_table_create(ui->screen_w_io_tab_3);
+ lv_table_set_col_cnt(ui->screen_aio,4);
+ lv_table_set_row_cnt(ui->screen_aio,12);
+ lv_table_set_cell_value(ui->screen_aio,0,0,"AI");
+ lv_table_set_cell_value(ui->screen_aio,1,0,"Apple");
+ lv_table_set_cell_value(ui->screen_aio,2,0,"Banana");
+ lv_table_set_cell_value(ui->screen_aio,3,0,"Citron");
+ lv_table_set_cell_value(ui->screen_aio,4,0,"Name");
+ lv_table_set_cell_value(ui->screen_aio,5,0,"Name");
+ lv_table_set_cell_value(ui->screen_aio,6,0,"Name");
+ lv_table_set_cell_value(ui->screen_aio,7,0,"Name");
+ lv_table_set_cell_value(ui->screen_aio,8,0,"Name");
+ lv_table_set_cell_value(ui->screen_aio,9,0,"Name");
+ lv_table_set_cell_value(ui->screen_aio,10,0,"Name");
+ lv_table_set_cell_value(ui->screen_aio,11,0,"Name");
+ lv_table_set_cell_value(ui->screen_aio,0,1,"AiValue");
+ lv_table_set_cell_value(ui->screen_aio,1,1,"$1");
+ lv_table_set_cell_value(ui->screen_aio,2,1,"$2");
+ lv_table_set_cell_value(ui->screen_aio,3,1,"$3");
+ lv_table_set_cell_value(ui->screen_aio,4,1,"Price");
+ lv_table_set_cell_value(ui->screen_aio,5,1,"Price");
+ lv_table_set_cell_value(ui->screen_aio,6,1,"Price");
+ lv_table_set_cell_value(ui->screen_aio,7,1,"Price");
+ lv_table_set_cell_value(ui->screen_aio,8,1,"Price");
+ lv_table_set_cell_value(ui->screen_aio,9,1,"Price");
+ lv_table_set_cell_value(ui->screen_aio,10,1,"Price");
+ lv_table_set_cell_value(ui->screen_aio,11,1,"Price");
+ lv_table_set_cell_value(ui->screen_aio,0,2,"AO");
+ lv_table_set_cell_value(ui->screen_aio,1,2,"0");
+ lv_table_set_cell_value(ui->screen_aio,2,2,"0");
+ lv_table_set_cell_value(ui->screen_aio,3,2,"0");
+ lv_table_set_cell_value(ui->screen_aio,4,2,"title");
+ lv_table_set_cell_value(ui->screen_aio,5,2,"title");
+ lv_table_set_cell_value(ui->screen_aio,6,2,"title");
+ lv_table_set_cell_value(ui->screen_aio,7,2,"title");
+ lv_table_set_cell_value(ui->screen_aio,8,2,"title");
+ lv_table_set_cell_value(ui->screen_aio,9,2,"title");
+ lv_table_set_cell_value(ui->screen_aio,10,2,"title");
+ lv_table_set_cell_value(ui->screen_aio,11,2,"title");
+ lv_table_set_cell_value(ui->screen_aio,0,3,"AoValue");
+ lv_table_set_cell_value(ui->screen_aio,1,3,"0");
+ lv_table_set_cell_value(ui->screen_aio,2,3,"0");
+ lv_table_set_cell_value(ui->screen_aio,3,3,"0");
+ lv_table_set_cell_value(ui->screen_aio,4,3,"title");
+ lv_table_set_cell_value(ui->screen_aio,5,3,"title");
+ lv_table_set_cell_value(ui->screen_aio,6,3,"title");
+ lv_table_set_cell_value(ui->screen_aio,7,3,"title");
+ lv_table_set_cell_value(ui->screen_aio,8,3,"title");
+ lv_table_set_cell_value(ui->screen_aio,9,3,"title");
+ lv_table_set_cell_value(ui->screen_aio,10,3,"title");
+ lv_table_set_cell_value(ui->screen_aio,11,3,"title");
+ lv_obj_set_pos(ui->screen_aio, 0, 0);
+ lv_obj_set_scrollbar_mode(ui->screen_aio, LV_SCROLLBAR_MODE_AUTO);
+ lv_obj_add_flag(ui->screen_aio, LV_OBJ_FLAG_CLICKABLE);
+ lv_obj_add_flag(ui->screen_aio, LV_OBJ_FLAG_SCROLLABLE);
+
+ //Write style for screen_aio, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
+ lv_obj_set_style_pad_top(ui->screen_aio, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_bottom(ui->screen_aio, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_left(ui->screen_aio, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_right(ui->screen_aio, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_bg_opa(ui->screen_aio, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_bg_color(ui->screen_aio, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_bg_grad_dir(ui->screen_aio, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_width(ui->screen_aio, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_opa(ui->screen_aio, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_color(ui->screen_aio, lv_color_hex(0xd5dee6), LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_side(ui->screen_aio, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_radius(ui->screen_aio, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_shadow_width(ui->screen_aio, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+
+ //Write style for screen_aio, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.
+ lv_obj_set_style_text_color(ui->screen_aio, lv_color_hex(0x393c41), LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_font(ui->screen_aio, &lv_font_montserratMedium_12, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_opa(ui->screen_aio, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_align(ui->screen_aio, LV_TEXT_ALIGN_CENTER, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_bg_opa(ui->screen_aio, 0, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_width(ui->screen_aio, 3, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_opa(ui->screen_aio, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_color(ui->screen_aio, lv_color_hex(0xd5dee6), LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_side(ui->screen_aio, LV_BORDER_SIDE_FULL, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_top(ui->screen_aio, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_bottom(ui->screen_aio, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_left(ui->screen_aio, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_right(ui->screen_aio, 10, LV_PART_ITEMS|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 screen_sys_set
+ ui->screen_sys_set = lv_table_create(ui->screen_w_io_tab_4);
+ lv_table_set_col_cnt(ui->screen_sys_set,2);
+ lv_table_set_row_cnt(ui->screen_sys_set,12);
+ lv_table_set_cell_value(ui->screen_sys_set,0,0,"NAME");
+ lv_table_set_cell_value(ui->screen_sys_set,1,0,"Apple");
+ lv_table_set_cell_value(ui->screen_sys_set,2,0,"Banana");
+ lv_table_set_cell_value(ui->screen_sys_set,3,0,"Citron");
+ lv_table_set_cell_value(ui->screen_sys_set,4,0,"Name");
+ lv_table_set_cell_value(ui->screen_sys_set,5,0,"Name");
+ lv_table_set_cell_value(ui->screen_sys_set,6,0,"Name");
+ lv_table_set_cell_value(ui->screen_sys_set,7,0,"Name");
+ lv_table_set_cell_value(ui->screen_sys_set,8,0,"Name");
+ lv_table_set_cell_value(ui->screen_sys_set,9,0,"Name");
+ lv_table_set_cell_value(ui->screen_sys_set,10,0,"Name");
+ lv_table_set_cell_value(ui->screen_sys_set,11,0,"Name");
+ lv_table_set_cell_value(ui->screen_sys_set,0,1,"Value");
+ lv_table_set_cell_value(ui->screen_sys_set,1,1,"$1");
+ lv_table_set_cell_value(ui->screen_sys_set,2,1,"$2");
+ lv_table_set_cell_value(ui->screen_sys_set,3,1,"$3");
+ lv_table_set_cell_value(ui->screen_sys_set,4,1,"Price");
+ lv_table_set_cell_value(ui->screen_sys_set,5,1,"Price");
+ lv_table_set_cell_value(ui->screen_sys_set,6,1,"Price");
+ lv_table_set_cell_value(ui->screen_sys_set,7,1,"Price");
+ lv_table_set_cell_value(ui->screen_sys_set,8,1,"Price");
+ lv_table_set_cell_value(ui->screen_sys_set,9,1,"Price");
+ lv_table_set_cell_value(ui->screen_sys_set,10,1,"Price");
+ lv_table_set_cell_value(ui->screen_sys_set,11,1,"Price");
+ lv_obj_set_pos(ui->screen_sys_set, 0, 0);
+ lv_obj_set_scrollbar_mode(ui->screen_sys_set, LV_SCROLLBAR_MODE_AUTO);
+ lv_obj_add_flag(ui->screen_sys_set, LV_OBJ_FLAG_CLICKABLE);
+ lv_obj_add_flag(ui->screen_sys_set, LV_OBJ_FLAG_SCROLLABLE);
+
+ //Write style for screen_sys_set, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
+ lv_obj_set_style_pad_top(ui->screen_sys_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_bottom(ui->screen_sys_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_left(ui->screen_sys_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_right(ui->screen_sys_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_bg_opa(ui->screen_sys_set, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_bg_color(ui->screen_sys_set, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_bg_grad_dir(ui->screen_sys_set, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_width(ui->screen_sys_set, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_opa(ui->screen_sys_set, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_color(ui->screen_sys_set, lv_color_hex(0xd5dee6), LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_side(ui->screen_sys_set, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_radius(ui->screen_sys_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+ lv_obj_set_style_shadow_width(ui->screen_sys_set, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
+
+ //Write style for screen_sys_set, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.
+ lv_obj_set_style_text_color(ui->screen_sys_set, lv_color_hex(0x393c41), LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_font(ui->screen_sys_set, &lv_font_montserratMedium_12, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_opa(ui->screen_sys_set, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_text_align(ui->screen_sys_set, LV_TEXT_ALIGN_CENTER, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_bg_opa(ui->screen_sys_set, 0, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_width(ui->screen_sys_set, 3, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_opa(ui->screen_sys_set, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_color(ui->screen_sys_set, lv_color_hex(0xd5dee6), LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_border_side(ui->screen_sys_set, LV_BORDER_SIDE_FULL, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_top(ui->screen_sys_set, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_bottom(ui->screen_sys_set, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_left(ui->screen_sys_set, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
+ lv_obj_set_style_pad_right(ui->screen_sys_set, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
+
//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_w_4
- ui->screen_w_4 = lv_obj_create(ui->screen_tabview_tab_4);
- lv_obj_set_pos(ui->screen_w_4, 0, 0);
- lv_obj_set_size(ui->screen_w_4, 984, 460);
- lv_obj_set_scrollbar_mode(ui->screen_w_4, LV_SCROLLBAR_MODE_OFF);
-
- //Write style for screen_w_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->screen_w_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->screen_w_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->screen_w_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->screen_w_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->screen_w_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->screen_w_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->screen_w_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->screen_w_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
-
//Write codes screen_proess_set
- ui->screen_proess_set = lv_list_create(ui->screen_w_4);
+ ui->screen_proess_set = lv_list_create(ui->screen_tabview_tab_4);
ui->screen_proess_set_item0 = lv_list_add_btn(ui->screen_proess_set, LV_SYMBOL_SAVE, "save");
lv_obj_set_pos(ui->screen_proess_set, 0, 0);
lv_obj_set_size(ui->screen_proess_set, 300, 460);
@@ -5726,7 +5811,7 @@ void setup_scr_screen(lv_ui *ui)
lv_style_set_bg_grad_dir(&style_screen_proess_set_extra_texts_main_default, LV_GRAD_DIR_NONE);
//Write codes screen_step_set
- ui->screen_step_set = lv_list_create(ui->screen_w_4);
+ ui->screen_step_set = lv_list_create(ui->screen_tabview_tab_4);
ui->screen_step_set_item0 = lv_list_add_btn(ui->screen_step_set, LV_SYMBOL_SAVE, "save");
lv_obj_set_pos(ui->screen_step_set, 305, 55);
lv_obj_set_size(ui->screen_step_set, 679, 350);
@@ -5798,7 +5883,7 @@ void setup_scr_screen(lv_ui *ui)
lv_style_set_bg_grad_dir(&style_screen_step_set_extra_texts_main_default, LV_GRAD_DIR_NONE);
//Write codes screen_pname_set
- ui->screen_pname_set = lv_textarea_create(ui->screen_w_4);
+ ui->screen_pname_set = lv_textarea_create(ui->screen_tabview_tab_4);
lv_textarea_set_text(ui->screen_pname_set, "Hello World");
lv_textarea_set_placeholder_text(ui->screen_pname_set, "");
lv_textarea_set_password_bullet(ui->screen_pname_set, "*");
@@ -5838,7 +5923,7 @@ void setup_scr_screen(lv_ui *ui)
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_w_4);
+ 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);
@@ -5861,7 +5946,7 @@ void setup_scr_screen(lv_ui *ui)
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_w_4);
+ 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);
@@ -5884,7 +5969,7 @@ void setup_scr_screen(lv_ui *ui)
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_w_4);
+ 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);
@@ -5907,7 +5992,7 @@ void setup_scr_screen(lv_ui *ui)
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_w_4);
+ 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);
@@ -5930,7 +6015,7 @@ void setup_scr_screen(lv_ui *ui)
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_w_4);
+ ui->screen_step_ = lv_label_create(ui->screen_tabview_tab_4);
lv_label_set_text_static(ui->screen_step_, "0/99");
lv_label_set_long_mode(ui->screen_step_, LV_LABEL_LONG_SCROLL_CIRCULAR);
lv_obj_set_pos(ui->screen_step_, 305, 410);
@@ -5957,8 +6042,47 @@ void setup_scr_screen(lv_ui *ui)
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, 984, 460);
+ 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_sys_save
+ ui->screen_sys_save = lv_btn_create(ui->screen_w_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, 885, 413);
+ 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_16, 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_machine_name
- ui->screen_machine_name = lv_textarea_create(ui->screen_tabview_tab_5);
+ ui->screen_machine_name = lv_textarea_create(ui->screen_w_5);
lv_textarea_set_text(ui->screen_machine_name, "828");
lv_textarea_set_placeholder_text(ui->screen_machine_name, "");
lv_textarea_set_password_bullet(ui->screen_machine_name, "*");
@@ -5997,54 +6121,31 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_set_style_bg_grad_dir(ui->screen_machine_name, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_machine_name, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
- //Write codes screen_label_5
- ui->screen_label_5 = lv_label_create(ui->screen_tabview_tab_5);
- lv_label_set_text(ui->screen_label_5, "机台名");
- lv_label_set_long_mode(ui->screen_label_5, LV_LABEL_LONG_WRAP);
- lv_obj_set_pos(ui->screen_label_5, 20, 80);
- lv_obj_set_size(ui->screen_label_5, 100, 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_28, 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, 2, 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, 0, 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_tabview_tab_5);
- lv_label_set_text(ui->screen_label_4, "站号");
- lv_label_set_long_mode(ui->screen_label_4, LV_LABEL_LONG_WRAP);
- lv_obj_set_pos(ui->screen_label_4, 20, 20);
- lv_obj_set_size(ui->screen_label_4, 100, 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_28, 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, 2, 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, 0, 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_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
- ui->screen_machine_id = lv_textarea_create(ui->screen_tabview_tab_5);
+ ui->screen_machine_id = lv_textarea_create(ui->screen_w_5);
lv_textarea_set_text(ui->screen_machine_id, "ID");
lv_textarea_set_placeholder_text(ui->screen_machine_id, "");
lv_textarea_set_password_bullet(ui->screen_machine_id, "*");
@@ -6083,10 +6184,35 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_set_style_bg_grad_dir(ui->screen_machine_id, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_machine_id, 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);
+
//The custom code of screen.
//Update current screen layout.
lv_obj_update_layout(ui->screen);
+ //Init events for screen.
+ events_init_screen(ui);
}
diff --git a/applications/lvgl/guider/generated/widgets_init.c b/applications/lvgl/guider/generated/widgets_init.c
index 24fe9e4..08e96d3 100644
--- a/applications/lvgl/guider/generated/widgets_init.c
+++ b/applications/lvgl/guider/generated/widgets_init.c
@@ -1,6 +1,4 @@
/*
-#include
-#include
* 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,
@@ -10,6 +8,8 @@
*/
#include "lvgl.h"
+#include "gui_guider.h"
+#include "widgets_init.h"
#include
#include
diff --git a/applications/lvgl/guider/generated/widgets_init.h b/applications/lvgl/guider/generated/widgets_init.h
index 91ce96b..def0fbb 100644
--- a/applications/lvgl/guider/generated/widgets_init.h
+++ b/applications/lvgl/guider/generated/widgets_init.h
@@ -8,14 +8,13 @@
*/
#ifndef WIDGET_INIT_H
-
#define WIDGET_INIT_H
#ifdef __cplusplus
extern "C" {
#endif
#include "lvgl.h"
-#include
+#include "gui_guider.h"
__attribute__((unused)) void kb_event_cb(lv_event_t *e);
__attribute__((unused)) void ta_event_cb(lv_event_t *e);
diff --git a/applications/lvgl/lv__user_gui.c b/applications/lvgl/lv__user_gui.c
index 0953387..4905006 100644
--- a/applications/lvgl/lv__user_gui.c
+++ b/applications/lvgl/lv__user_gui.c
@@ -10,6 +10,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -27,6 +28,325 @@
#define LCD_BL_PIN GET_PIN(D,12)
#define LCD_RST_PIN GET_PIN(D,11)
+// 全局或静态数组
+lv_obj_t * di_led_array[88];
+lv_obj_t * di_name_array[88];
+lv_obj_t * do_led_array[67];
+lv_obj_t * do_name_array[67];
+void ui_init_dio_leds(lv_ui *ui) {
+ di_led_array[0] = ui->screen_di0;
+ di_led_array[1] = ui->screen_di1;
+ di_led_array[2] = ui->screen_di2;
+ di_led_array[3] = ui->screen_di3;
+ di_led_array[4] = ui->screen_di4;
+ di_led_array[5] = ui->screen_di5;
+ di_led_array[6] = ui->screen_di6;
+ di_led_array[7] = ui->screen_di7;
+ di_led_array[8] = ui->screen_di8;
+ di_led_array[9] = ui->screen_di9;
+ di_led_array[10] = ui->screen_di10;
+ di_led_array[11] = ui->screen_di11;
+ di_led_array[12] = ui->screen_di12;
+ di_led_array[13] = ui->screen_di13;
+ di_led_array[14] = ui->screen_di14;
+ di_led_array[15] = ui->screen_di15;
+ di_led_array[16] = ui->screen_di16;
+ di_led_array[17] = ui->screen_di17;
+ di_led_array[18] = ui->screen_di18;
+ di_led_array[19] = ui->screen_di19;
+ di_led_array[20] = ui->screen_di20;
+ di_led_array[21] = ui->screen_di21;
+ di_led_array[22] = ui->screen_di22;
+ di_led_array[23] = ui->screen_di23;
+ di_led_array[24] = ui->screen_di24;
+ di_led_array[25] = ui->screen_di25;
+ di_led_array[26] = ui->screen_di26;
+ di_led_array[27] = ui->screen_di27;
+ di_led_array[28] = ui->screen_di28;
+ di_led_array[29] = ui->screen_di29;
+ di_led_array[30] = ui->screen_di30;
+ di_led_array[31] = ui->screen_di31;
+ di_led_array[32] = ui->screen_di32;
+ di_led_array[33] = ui->screen_di33;
+ di_led_array[34] = ui->screen_di34;
+ di_led_array[35] = ui->screen_di35;
+ di_led_array[36] = ui->screen_di36;
+ di_led_array[37] = ui->screen_di37;
+ di_led_array[38] = ui->screen_di38;
+ di_led_array[39] = ui->screen_di39;
+ di_led_array[40] = ui->screen_di40;
+ di_led_array[41] = ui->screen_di41;
+ di_led_array[42] = ui->screen_di42;
+ di_led_array[43] = ui->screen_di43;
+ di_led_array[44] = ui->screen_di44;
+ di_led_array[45] = ui->screen_di45;
+ di_led_array[46] = ui->screen_di46;
+ di_led_array[47] = ui->screen_di47;
+ di_led_array[48] = ui->screen_di48;
+ di_led_array[49] = ui->screen_di49;
+ di_led_array[50] = ui->screen_di50;
+ di_led_array[51] = ui->screen_di51;
+ di_led_array[52] = ui->screen_di52;
+ di_led_array[53] = ui->screen_di53;
+ di_led_array[54] = ui->screen_di54;
+ di_led_array[55] = ui->screen_di55;
+ di_led_array[56] = ui->screen_di56;
+ di_led_array[57] = ui->screen_di57;
+ di_led_array[58] = ui->screen_di58;
+ di_led_array[59] = ui->screen_di59;
+ di_led_array[60] = ui->screen_di60;
+ di_led_array[61] = ui->screen_di61;
+ di_led_array[62] = ui->screen_di62;
+ di_led_array[63] = ui->screen_di63;
+ di_led_array[64] = ui->screen_di64;
+ di_led_array[65] = ui->screen_di65;
+ di_led_array[66] = ui->screen_di66;
+ di_led_array[67] = ui->screen_di67;
+ di_led_array[68] = ui->screen_di68;
+ di_led_array[69] = ui->screen_di69;
+ di_led_array[70] = ui->screen_di70;
+ di_led_array[71] = ui->screen_di71;
+ di_led_array[72] = ui->screen_di72;
+ di_led_array[73] = ui->screen_di73;
+ di_led_array[74] = ui->screen_di74;
+ di_led_array[75] = ui->screen_di75;
+ di_led_array[76] = ui->screen_di76;
+ di_led_array[77] = ui->screen_di77;
+ di_led_array[78] = ui->screen_di78;
+ di_led_array[79] = ui->screen_di79;
+ di_led_array[80] = ui->screen_di80;
+ di_led_array[81] = ui->screen_di81;
+ di_led_array[82] = ui->screen_di82;
+ di_led_array[83] = ui->screen_di83;
+ di_led_array[84] = ui->screen_di84;
+ di_led_array[85] = ui->screen_di85;
+ di_led_array[86] = ui->screen_di86;
+ di_led_array[87] = ui->screen_di87;
+ di_name_array[0] = ui->screen_name_di0;
+ di_name_array[1] = ui->screen_name_di1;
+ di_name_array[2] = ui->screen_name_di2;
+ di_name_array[3] = ui->screen_name_di3;
+ di_name_array[4] = ui->screen_name_di4;
+ di_name_array[5] = ui->screen_name_di5;
+ di_name_array[6] = ui->screen_name_di6;
+ di_name_array[7] = ui->screen_name_di7;
+ di_name_array[8] = ui->screen_name_di8;
+ di_name_array[9] = ui->screen_name_di9;
+ di_name_array[10] = ui->screen_name_di10;
+ di_name_array[11] = ui->screen_name_di11;
+ di_name_array[12] = ui->screen_name_di12;
+ di_name_array[13] = ui->screen_name_di13;
+ di_name_array[14] = ui->screen_name_di14;
+ di_name_array[15] = ui->screen_name_di15;
+ di_name_array[16] = ui->screen_name_di16;
+ di_name_array[17] = ui->screen_name_di17;
+ di_name_array[18] = ui->screen_name_di18;
+ di_name_array[19] = ui->screen_name_di19;
+ di_name_array[20] = ui->screen_name_di20;
+ di_name_array[21] = ui->screen_name_di21;
+ di_name_array[22] = ui->screen_name_di22;
+ di_name_array[23] = ui->screen_name_di23;
+ di_name_array[24] = ui->screen_name_di24;
+ di_name_array[25] = ui->screen_name_di25;
+ di_name_array[26] = ui->screen_name_di26;
+ di_name_array[27] = ui->screen_name_di27;
+ di_name_array[28] = ui->screen_name_di28;
+ di_name_array[29] = ui->screen_name_di29;
+ di_name_array[30] = ui->screen_name_di30;
+ di_name_array[31] = ui->screen_name_di31;
+ di_name_array[32] = ui->screen_name_di32;
+ di_name_array[33] = ui->screen_name_di33;
+ di_name_array[34] = ui->screen_name_di34;
+ di_name_array[35] = ui->screen_name_di35;
+ di_name_array[36] = ui->screen_name_di36;
+ di_name_array[37] = ui->screen_name_di37;
+ di_name_array[38] = ui->screen_name_di38;
+ di_name_array[39] = ui->screen_name_di39;
+ di_name_array[40] = ui->screen_name_di40;
+ di_name_array[41] = ui->screen_name_di41;
+ di_name_array[42] = ui->screen_name_di42;
+ di_name_array[43] = ui->screen_name_di43;
+ di_name_array[44] = ui->screen_name_di44;
+ di_name_array[45] = ui->screen_name_di45;
+ di_name_array[46] = ui->screen_name_di46;
+ di_name_array[47] = ui->screen_name_di47;
+ di_name_array[48] = ui->screen_name_di48;
+ di_name_array[49] = ui->screen_name_di49;
+ di_name_array[50] = ui->screen_name_di50;
+ di_name_array[51] = ui->screen_name_di51;
+ di_name_array[52] = ui->screen_name_di52;
+ di_name_array[53] = ui->screen_name_di53;
+ di_name_array[54] = ui->screen_name_di54;
+ di_name_array[55] = ui->screen_name_di55;
+ di_name_array[56] = ui->screen_name_di56;
+ di_name_array[57] = ui->screen_name_di57;
+ di_name_array[58] = ui->screen_name_di58;
+ di_name_array[59] = ui->screen_name_di59;
+ di_name_array[60] = ui->screen_name_di60;
+ di_name_array[61] = ui->screen_name_di61;
+ di_name_array[62] = ui->screen_name_di62;
+ di_name_array[63] = ui->screen_name_di63;
+ di_name_array[64] = ui->screen_name_di64;
+ di_name_array[65] = ui->screen_name_di65;
+ di_name_array[66] = ui->screen_name_di66;
+ di_name_array[67] = ui->screen_name_di67;
+ di_name_array[68] = ui->screen_name_di68;
+ di_name_array[69] = ui->screen_name_di69;
+ di_name_array[70] = ui->screen_name_di70;
+ di_name_array[71] = ui->screen_name_di71;
+ di_name_array[72] = ui->screen_name_di72;
+ di_name_array[73] = ui->screen_name_di73;
+ di_name_array[74] = ui->screen_name_di74;
+ di_name_array[75] = ui->screen_name_di75;
+ di_name_array[76] = ui->screen_name_di76;
+ di_name_array[77] = ui->screen_name_di77;
+ di_name_array[78] = ui->screen_name_di78;
+ di_name_array[79] = ui->screen_name_di79;
+ di_name_array[80] = ui->screen_name_di80;
+ di_name_array[81] = ui->screen_name_di81;
+ di_name_array[82] = ui->screen_name_di82;
+ di_name_array[83] = ui->screen_name_di83;
+ di_name_array[84] = ui->screen_name_di84;
+ di_name_array[85] = ui->screen_name_di85;
+ di_name_array[86] = ui->screen_name_di86;
+ di_name_array[87] = ui->screen_name_di87;
+//
+ do_led_array[0] = ui->screen_do0;
+ do_led_array[1] = ui->screen_do1;
+ do_led_array[2] = ui->screen_do2;
+ do_led_array[3] = ui->screen_do3;
+ do_led_array[4] = ui->screen_do4;
+ do_led_array[5] = ui->screen_do5;
+ do_led_array[6] = ui->screen_do6;
+ do_led_array[7] = ui->screen_do7;
+ do_led_array[8] = ui->screen_do8;
+ do_led_array[9] = ui->screen_do9;
+ do_led_array[10] = ui->screen_do10;
+ do_led_array[11] = ui->screen_do11;
+ do_led_array[12] = ui->screen_do12;
+ do_led_array[13] = ui->screen_do13;
+ do_led_array[14] = ui->screen_do14;
+ do_led_array[15] = ui->screen_do15;
+ do_led_array[16] = ui->screen_do16;
+ do_led_array[17] = ui->screen_do17;
+ do_led_array[18] = ui->screen_do18;
+ do_led_array[19] = ui->screen_do19;
+ do_led_array[20] = ui->screen_do20;
+ do_led_array[21] = ui->screen_do21;
+ do_led_array[22] = ui->screen_do22;
+ do_led_array[23] = ui->screen_do23;
+ do_led_array[24] = ui->screen_do24;
+ do_led_array[25] = ui->screen_do25;
+ do_led_array[26] = ui->screen_do26;
+ do_led_array[27] = ui->screen_do27;
+ do_led_array[28] = ui->screen_do28;
+ do_led_array[29] = ui->screen_do29;
+ do_led_array[30] = ui->screen_do30;
+ do_led_array[31] = ui->screen_do31;
+ do_led_array[32] = ui->screen_do32;
+ do_led_array[33] = ui->screen_do33;
+ do_led_array[34] = ui->screen_do34;
+ do_led_array[35] = ui->screen_do35;
+ do_led_array[36] = ui->screen_do36;
+ do_led_array[37] = ui->screen_do37;
+ do_led_array[38] = ui->screen_do38;
+ do_led_array[39] = ui->screen_do39;
+ do_led_array[40] = ui->screen_do40;
+ do_led_array[41] = ui->screen_do41;
+ do_led_array[42] = ui->screen_do42;
+ do_led_array[43] = ui->screen_do43;
+ do_led_array[44] = ui->screen_do44;
+ do_led_array[45] = ui->screen_do45;
+ do_led_array[46] = ui->screen_do46;
+ do_led_array[47] = ui->screen_do47;
+ do_led_array[48] = ui->screen_do48;
+ do_led_array[49] = ui->screen_do49;
+ do_led_array[50] = ui->screen_do50;
+ do_led_array[51] = ui->screen_do51;
+ do_led_array[52] = ui->screen_do52;
+ do_led_array[53] = ui->screen_do53;
+ do_led_array[54] = ui->screen_do54;
+ do_led_array[55] = ui->screen_do55;
+ do_led_array[56] = ui->screen_do56;
+ do_led_array[57] = ui->screen_do57;
+ do_led_array[58] = ui->screen_do58;
+ do_led_array[59] = ui->screen_do59;
+ do_led_array[60] = ui->screen_do60;
+ do_led_array[61] = ui->screen_do61;
+ do_led_array[62] = ui->screen_do62;
+ do_led_array[63] = ui->screen_do63;
+ do_led_array[64] = ui->screen_do64;
+ do_led_array[65] = ui->screen_do65;
+ do_led_array[66] = ui->screen_do66;
+ do_name_array[0] = ui->screen_name_do0;
+ do_name_array[1] = ui->screen_name_do1;
+ do_name_array[2] = ui->screen_name_do2;
+ do_name_array[3] = ui->screen_name_do3;
+ do_name_array[4] = ui->screen_name_do4;
+ do_name_array[5] = ui->screen_name_do5;
+ do_name_array[6] = ui->screen_name_do6;
+ do_name_array[7] = ui->screen_name_do7;
+ do_name_array[8] = ui->screen_name_do8;
+ do_name_array[9] = ui->screen_name_do9;
+ do_name_array[10] = ui->screen_name_do10;
+ do_name_array[11] = ui->screen_name_do11;
+ do_name_array[12] = ui->screen_name_do12;
+ do_name_array[13] = ui->screen_name_do13;
+ do_name_array[14] = ui->screen_name_do14;
+ do_name_array[15] = ui->screen_name_do15;
+ do_name_array[16] = ui->screen_name_do16;
+ do_name_array[17] = ui->screen_name_do17;
+ do_name_array[18] = ui->screen_name_do18;
+ do_name_array[19] = ui->screen_name_do19;
+ do_name_array[20] = ui->screen_name_do20;
+ do_name_array[21] = ui->screen_name_do21;
+ do_name_array[22] = ui->screen_name_do22;
+ do_name_array[23] = ui->screen_name_do23;
+ do_name_array[24] = ui->screen_name_do24;
+ do_name_array[25] = ui->screen_name_do25;
+ do_name_array[26] = ui->screen_name_do26;
+ do_name_array[27] = ui->screen_name_do27;
+ do_name_array[28] = ui->screen_name_do28;
+ do_name_array[29] = ui->screen_name_do29;
+ do_name_array[30] = ui->screen_name_do30;
+ do_name_array[31] = ui->screen_name_do31;
+ do_name_array[32] = ui->screen_name_do32;
+ do_name_array[33] = ui->screen_name_do33;
+ do_name_array[34] = ui->screen_name_do34;
+ do_name_array[35] = ui->screen_name_do35;
+ do_name_array[36] = ui->screen_name_do36;
+ do_name_array[37] = ui->screen_name_do37;
+ do_name_array[38] = ui->screen_name_do38;
+ do_name_array[39] = ui->screen_name_do39;
+ do_name_array[40] = ui->screen_name_do40;
+ do_name_array[41] = ui->screen_name_do41;
+ do_name_array[42] = ui->screen_name_do42;
+ do_name_array[43] = ui->screen_name_do43;
+ do_name_array[44] = ui->screen_name_do44;
+ do_name_array[45] = ui->screen_name_do45;
+ do_name_array[46] = ui->screen_name_do46;
+ do_name_array[47] = ui->screen_name_do47;
+ do_name_array[48] = ui->screen_name_do48;
+ do_name_array[49] = ui->screen_name_do49;
+ do_name_array[50] = ui->screen_name_do50;
+ do_name_array[51] = ui->screen_name_do51;
+ do_name_array[52] = ui->screen_name_do52;
+ do_name_array[53] = ui->screen_name_do53;
+ do_name_array[54] = ui->screen_name_do54;
+ do_name_array[55] = ui->screen_name_do55;
+ do_name_array[56] = ui->screen_name_do56;
+ do_name_array[57] = ui->screen_name_do57;
+ do_name_array[58] = ui->screen_name_do58;
+ do_name_array[59] = ui->screen_name_do59;
+ do_name_array[60] = ui->screen_name_do60;
+ do_name_array[61] = ui->screen_name_do61;
+ do_name_array[62] = ui->screen_name_do62;
+ do_name_array[63] = ui->screen_name_do63;
+ do_name_array[64] = ui->screen_name_do64;
+ do_name_array[65] = ui->screen_name_do65;
+ do_name_array[66] = ui->screen_name_do66;
+}
+
void setup_user_screen(lv_ui *ui)
{
@@ -35,6 +355,18 @@ void setup_user_screen(lv_ui *ui)
lv_textarea_set_text(ui->screen_machine_id, machine_ID);//设备id
lv_textarea_set_text(ui->screen_machine_name, machine_name);//设备名
+
+
+
+ for (int i = 0; i < DI_TABLE_SIZE; i++)
+ {
+
+ //lv_label_set_text(di_name_array[i], lang_get_str(di_table[i].name));
+ }
+ for (int i = 0; i < DO_TABLE_SIZE; i++)
+ {
+ //lv_label_set_text(do_name_array[i], lang_get_str(do_table[i].name));
+ }
}
time_t nows;
@@ -62,6 +394,33 @@ void setup_s_screen(lv_ui *ui)
//温度
snprintf(temp_str, sizeof(temp_str), "%05.1f", MTT);
lv_label_set_text(ui->screen_temp, (const char *)temp_str);
+
+ //DIO_led
+ for (int i = 0; i < DI_TABLE_SIZE; i++)
+ {
+ if(di_table[i].current_state)
+ {
+ lv_led_on(di_led_array[i]);
+ }
+ else
+ {
+ lv_led_off(di_led_array[i]);
+ }
+
+ }
+ for (int i = 0; i < DO_TABLE_SIZE; i++)
+ {
+ if(do_table[i].current_state)
+ {
+ lv_led_on(do_led_array[i]);
+ }
+ else
+ {
+ lv_led_off(do_led_array[i]);
+ }
+ }
+
+
}
static void time_update_timer_cb(lv_timer_t * timer)
@@ -75,6 +434,7 @@ void lv_user_gui_init(void)
events_init(&guider_ui);
custom_init(&guider_ui);
setup_user_screen(&guider_ui);
+ ui_init_dio_leds(&guider_ui);
// 创建一个每 500ms 触发一次的定时器
lv_timer_create(time_update_timer_cb, 500, NULL);