新增BS节目消息通知功能
This commit is contained in:
parent
a5fc9c8c4b
commit
fe65fb81f5
File diff suppressed because one or more lines are too long
@ -10621,7 +10621,6 @@
|
||||
{
|
||||
"nid": 1030,
|
||||
"strtype": "BAR/Value",
|
||||
"integer": 10,
|
||||
"InheritedType": 6
|
||||
},
|
||||
{
|
||||
@ -10695,7 +10694,7 @@
|
||||
"strtype": "OBJECT/Position",
|
||||
"intarray": [
|
||||
-6,
|
||||
75
|
||||
90
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
@ -11049,7 +11048,7 @@
|
||||
{
|
||||
"nid": 1030,
|
||||
"strtype": "LABEL/Text",
|
||||
"strval": "10%",
|
||||
"strval": "0%",
|
||||
"InheritedType": 10
|
||||
},
|
||||
{
|
||||
@ -11125,7 +11124,7 @@
|
||||
"strtype": "OBJECT/Position",
|
||||
"intarray": [
|
||||
-95,
|
||||
76
|
||||
90
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
@ -11241,6 +11240,322 @@
|
||||
}
|
||||
],
|
||||
"saved_objtypeKey": "LABEL"
|
||||
},
|
||||
{
|
||||
"guid": "GUID61025506-995592S7194112",
|
||||
"deepid": 1949363768,
|
||||
"dont_export": false,
|
||||
"locked": false,
|
||||
"properties": [
|
||||
{
|
||||
"nid": 10,
|
||||
"strtype": "OBJECT/Name",
|
||||
"strval": "labelstr22",
|
||||
"InheritedType": 10
|
||||
},
|
||||
{
|
||||
"nid": 20,
|
||||
"strtype": "OBJECT/Layout",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"Flow": 0,
|
||||
"Wrap": false,
|
||||
"Reversed": false,
|
||||
"MainAlignment": 0,
|
||||
"CrossAlignment": 0,
|
||||
"TrackAlignment": 0,
|
||||
"LayoutType": 0,
|
||||
"nid": 30,
|
||||
"strtype": "OBJECT/Layout_type",
|
||||
"strval": "No_layout",
|
||||
"InheritedType": 13
|
||||
},
|
||||
{
|
||||
"nid": 40,
|
||||
"strtype": "OBJECT/Transform",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"nid": 50,
|
||||
"flags": 17,
|
||||
"strtype": "OBJECT/Position",
|
||||
"intarray": [
|
||||
0,
|
||||
62
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
{
|
||||
"nid": 60,
|
||||
"flags": 51,
|
||||
"strtype": "OBJECT/Size",
|
||||
"intarray": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
{
|
||||
"nid": 70,
|
||||
"strtype": "OBJECT/Align",
|
||||
"strval": "CENTER",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 90,
|
||||
"flags": 1048576,
|
||||
"strtype": "OBJECT/Flags",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"nid": 110,
|
||||
"strtype": "OBJECT/Clickable",
|
||||
"strval": "False",
|
||||
"InheritedType": 2
|
||||
},
|
||||
{
|
||||
"nid": 225,
|
||||
"flags": 1048576,
|
||||
"strtype": "OBJECT/Scrolling",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"nid": 300,
|
||||
"strtype": "OBJECT/Scrollbar_mode",
|
||||
"strval": "AUTO",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 310,
|
||||
"strtype": "OBJECT/Scroll_direction",
|
||||
"strval": "ALL",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 314,
|
||||
"strtype": "OBJECT/Scroll_snap_x",
|
||||
"strval": "NONE",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 315,
|
||||
"strtype": "OBJECT/Scroll_snap_y",
|
||||
"strval": "NONE",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 320,
|
||||
"flags": 1048576,
|
||||
"strtype": "OBJECT/States",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"nid": 1010,
|
||||
"strtype": "LABEL/Label",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"nid": 1020,
|
||||
"strtype": "LABEL/Long_mode",
|
||||
"strval": "WRAP",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 1030,
|
||||
"strtype": "LABEL/Text",
|
||||
"strval": "15BPM start instruction successfully issued",
|
||||
"InheritedType": 10
|
||||
},
|
||||
{
|
||||
"part": "lv.PART.MAIN",
|
||||
"childs": [
|
||||
{
|
||||
"nid": 10000,
|
||||
"strtype": "_style/StyleState",
|
||||
"strval": "DEFAULT",
|
||||
"childs": [
|
||||
{
|
||||
"nid": 10450,
|
||||
"strtype": "_style/Text_Font",
|
||||
"strval": "montserrat_10",
|
||||
"InheritedType": 3
|
||||
}
|
||||
],
|
||||
"InheritedType": 1
|
||||
}
|
||||
],
|
||||
"nid": 1040,
|
||||
"strtype": "LABEL/Style_main",
|
||||
"strval": "lv.PART.MAIN, Text, Rectangle, Pad, Transform",
|
||||
"InheritedType": 11
|
||||
},
|
||||
{
|
||||
"nid": 1050,
|
||||
"strtype": "LABEL/Recolor",
|
||||
"strval": "False",
|
||||
"InheritedType": 2
|
||||
}
|
||||
],
|
||||
"saved_objtypeKey": "LABEL"
|
||||
},
|
||||
{
|
||||
"guid": "GUID47800128-995593S6344112",
|
||||
"deepid": 1949363768,
|
||||
"dont_export": false,
|
||||
"locked": false,
|
||||
"properties": [
|
||||
{
|
||||
"nid": 10,
|
||||
"strtype": "OBJECT/Name",
|
||||
"strval": "labelstr23",
|
||||
"InheritedType": 10
|
||||
},
|
||||
{
|
||||
"nid": 20,
|
||||
"strtype": "OBJECT/Layout",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"Flow": 0,
|
||||
"Wrap": false,
|
||||
"Reversed": false,
|
||||
"MainAlignment": 0,
|
||||
"CrossAlignment": 0,
|
||||
"TrackAlignment": 0,
|
||||
"LayoutType": 0,
|
||||
"nid": 30,
|
||||
"strtype": "OBJECT/Layout_type",
|
||||
"strval": "No_layout",
|
||||
"InheritedType": 13
|
||||
},
|
||||
{
|
||||
"nid": 40,
|
||||
"strtype": "OBJECT/Transform",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"nid": 50,
|
||||
"flags": 17,
|
||||
"strtype": "OBJECT/Position",
|
||||
"intarray": [
|
||||
-89,
|
||||
-98
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
{
|
||||
"nid": 60,
|
||||
"flags": 51,
|
||||
"strtype": "OBJECT/Size",
|
||||
"intarray": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
{
|
||||
"nid": 70,
|
||||
"strtype": "OBJECT/Align",
|
||||
"strval": "CENTER",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 90,
|
||||
"flags": 1048576,
|
||||
"strtype": "OBJECT/Flags",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"nid": 110,
|
||||
"strtype": "OBJECT/Clickable",
|
||||
"strval": "False",
|
||||
"InheritedType": 2
|
||||
},
|
||||
{
|
||||
"nid": 225,
|
||||
"flags": 1048576,
|
||||
"strtype": "OBJECT/Scrolling",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"nid": 300,
|
||||
"strtype": "OBJECT/Scrollbar_mode",
|
||||
"strval": "AUTO",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 310,
|
||||
"strtype": "OBJECT/Scroll_direction",
|
||||
"strval": "ALL",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 314,
|
||||
"strtype": "OBJECT/Scroll_snap_x",
|
||||
"strval": "NONE",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 315,
|
||||
"strtype": "OBJECT/Scroll_snap_y",
|
||||
"strval": "NONE",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 320,
|
||||
"flags": 1048576,
|
||||
"strtype": "OBJECT/States",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"nid": 1010,
|
||||
"strtype": "LABEL/Label",
|
||||
"InheritedType": 1
|
||||
},
|
||||
{
|
||||
"nid": 1020,
|
||||
"strtype": "LABEL/Long_mode",
|
||||
"strval": "WRAP",
|
||||
"InheritedType": 3
|
||||
},
|
||||
{
|
||||
"nid": 1030,
|
||||
"strtype": "LABEL/Text",
|
||||
"strval": "测试结果:",
|
||||
"InheritedType": 10
|
||||
},
|
||||
{
|
||||
"part": "lv.PART.MAIN",
|
||||
"childs": [
|
||||
{
|
||||
"nid": 10000,
|
||||
"strtype": "_style/StyleState",
|
||||
"strval": "DEFAULT",
|
||||
"childs": [
|
||||
{
|
||||
"nid": 10450,
|
||||
"strtype": "_style/Text_Font",
|
||||
"strval": "MiSansN",
|
||||
"InheritedType": 3
|
||||
}
|
||||
],
|
||||
"InheritedType": 1
|
||||
}
|
||||
],
|
||||
"nid": 1040,
|
||||
"strtype": "LABEL/Style_main",
|
||||
"strval": "lv.PART.MAIN, Text, Rectangle, Pad, Transform",
|
||||
"InheritedType": 11
|
||||
},
|
||||
{
|
||||
"nid": 1050,
|
||||
"strtype": "LABEL/Recolor",
|
||||
"strval": "False",
|
||||
"InheritedType": 2
|
||||
}
|
||||
],
|
||||
"saved_objtypeKey": "LABEL"
|
||||
}
|
||||
],
|
||||
"dont_export": false,
|
||||
@ -11281,7 +11596,7 @@
|
||||
"strtype": "OBJECT/Position",
|
||||
"intarray": [
|
||||
0,
|
||||
-103
|
||||
-93
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
@ -11291,7 +11606,7 @@
|
||||
"strtype": "OBJECT/Size",
|
||||
"intarray": [
|
||||
266,
|
||||
202
|
||||
231
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
@ -11366,8 +11681,7 @@
|
||||
"InheritedType": 11
|
||||
}
|
||||
],
|
||||
"saved_objtypeKey": "PANEL",
|
||||
"tree_closed": true
|
||||
"saved_objtypeKey": "PANEL"
|
||||
},
|
||||
{
|
||||
"guid": "GUID19566368-135395S257804112",
|
||||
@ -11584,8 +11898,8 @@
|
||||
"flags": 17,
|
||||
"strtype": "OBJECT/Position",
|
||||
"intarray": [
|
||||
-79,
|
||||
2
|
||||
-78,
|
||||
0
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
@ -11954,7 +12268,7 @@
|
||||
"strtype": "OBJECT/Position",
|
||||
"intarray": [
|
||||
78,
|
||||
1
|
||||
0
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
@ -12151,8 +12465,8 @@
|
||||
"flags": 17,
|
||||
"strtype": "OBJECT/Position",
|
||||
"intarray": [
|
||||
1,
|
||||
-40
|
||||
0,
|
||||
-24
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
@ -12310,8 +12624,8 @@
|
||||
"flags": 17,
|
||||
"strtype": "OBJECT/Position",
|
||||
"intarray": [
|
||||
1,
|
||||
5
|
||||
0,
|
||||
10
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
@ -12591,7 +12905,7 @@
|
||||
"strtype": "OBJECT/Position",
|
||||
"intarray": [
|
||||
0,
|
||||
68
|
||||
78
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
@ -12601,7 +12915,7 @@
|
||||
"strtype": "OBJECT/Size",
|
||||
"intarray": [
|
||||
266,
|
||||
122
|
||||
98
|
||||
],
|
||||
"InheritedType": 7
|
||||
},
|
||||
@ -48290,7 +48604,7 @@
|
||||
"uiExportFolderPath": "C:\\Users\\jarvis\\Documents\\FluxDC\\SquareLineProj\\Export",
|
||||
"projectExportFolderPath": "C:\\Users\\jarvis\\Documents\\FluxDC\\SquareLineProj\\Export",
|
||||
"custom_variable_prefix": "uic",
|
||||
"backup_cnt": 1299,
|
||||
"backup_cnt": 1317,
|
||||
"autosave_cnt": 0,
|
||||
"group_color_cnt": 0,
|
||||
"lvgl_version": "8.3.6",
|
||||
|
||||
@ -162,3 +162,7 @@ def on_dropdown_deviceTypeBS_valueChanged(event_struct):
|
||||
def on_buttonStartTestBS_clicked(event_struct):
|
||||
return
|
||||
|
||||
|
||||
def on_spinboxStageBS_valueChanged(event_struct):
|
||||
return
|
||||
|
||||
|
||||
@ -297,9 +297,9 @@ void ui_pageHome_screen_init(void)
|
||||
|
||||
ui_pageHome_panelResult1 = lv_obj_create(ui_pageHome_panelCenter);
|
||||
lv_obj_set_width(ui_pageHome_panelResult1, 266);
|
||||
lv_obj_set_height(ui_pageHome_panelResult1, 202);
|
||||
lv_obj_set_height(ui_pageHome_panelResult1, 231);
|
||||
lv_obj_set_x(ui_pageHome_panelResult1, 0);
|
||||
lv_obj_set_y(ui_pageHome_panelResult1, -103);
|
||||
lv_obj_set_y(ui_pageHome_panelResult1, -93);
|
||||
lv_obj_set_align(ui_pageHome_panelResult1, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_pageHome_panelResult1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
@ -628,8 +628,6 @@ void ui_pageHome_screen_init(void)
|
||||
lv_obj_set_style_text_font(ui_pageHome_labelstr20, &ui_font_MiSansN14, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_pageHome_BarTestProgBS = lv_bar_create(ui_pageHome_panelResult1);
|
||||
lv_bar_set_value(ui_pageHome_BarTestProgBS, 10, LV_ANIM_OFF);
|
||||
lv_bar_set_start_value(ui_pageHome_BarTestProgBS, 0, LV_ANIM_OFF);
|
||||
lv_obj_set_width(ui_pageHome_BarTestProgBS, 164);
|
||||
lv_obj_set_height(ui_pageHome_BarTestProgBS, 10);
|
||||
lv_obj_set_x(ui_pageHome_BarTestProgBS, -5);
|
||||
@ -641,7 +639,7 @@ void ui_pageHome_screen_init(void)
|
||||
lv_obj_set_width(ui_pageHome_DropdownTestTypeBS, 100);
|
||||
lv_obj_set_height(ui_pageHome_DropdownTestTypeBS, 30);
|
||||
lv_obj_set_x(ui_pageHome_DropdownTestTypeBS, -6);
|
||||
lv_obj_set_y(ui_pageHome_DropdownTestTypeBS, 75);
|
||||
lv_obj_set_y(ui_pageHome_DropdownTestTypeBS, 90);
|
||||
lv_obj_set_align(ui_pageHome_DropdownTestTypeBS, LV_ALIGN_CENTER);
|
||||
lv_obj_add_flag(ui_pageHome_DropdownTestTypeBS, LV_OBJ_FLAG_SCROLL_ON_FOCUS); /// Flags
|
||||
lv_obj_set_style_text_align(ui_pageHome_DropdownTestTypeBS, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
@ -656,31 +654,49 @@ void ui_pageHome_screen_init(void)
|
||||
lv_obj_set_x(ui_pageHome_labelstr21, 102);
|
||||
lv_obj_set_y(ui_pageHome_labelstr21, 40);
|
||||
lv_obj_set_align(ui_pageHome_labelstr21, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_pageHome_labelstr21, "10%");
|
||||
lv_label_set_text(ui_pageHome_labelstr21, "0%");
|
||||
lv_obj_set_style_text_font(ui_pageHome_labelstr21, &ui_font_MiSansN14, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_pageHome_labelstr7 = lv_label_create(ui_pageHome_panelResult1);
|
||||
lv_obj_set_width(ui_pageHome_labelstr7, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_pageHome_labelstr7, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_pageHome_labelstr7, -95);
|
||||
lv_obj_set_y(ui_pageHome_labelstr7, 76);
|
||||
lv_obj_set_y(ui_pageHome_labelstr7, 90);
|
||||
lv_obj_set_align(ui_pageHome_labelstr7, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_pageHome_labelstr7, "设备类型");
|
||||
lv_obj_set_style_text_font(ui_pageHome_labelstr7, &ui_font_MiSansN14, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_pageHome_labelstr22 = lv_label_create(ui_pageHome_panelResult1);
|
||||
lv_obj_set_width(ui_pageHome_labelstr22, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_pageHome_labelstr22, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_pageHome_labelstr22, 0);
|
||||
lv_obj_set_y(ui_pageHome_labelstr22, 62);
|
||||
lv_obj_set_align(ui_pageHome_labelstr22, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_pageHome_labelstr22, "15BPM start instruction successfully issued");
|
||||
lv_obj_set_style_text_font(ui_pageHome_labelstr22, &lv_font_montserrat_10, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_pageHome_labelstr23 = lv_label_create(ui_pageHome_panelResult1);
|
||||
lv_obj_set_width(ui_pageHome_labelstr23, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_pageHome_labelstr23, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_pageHome_labelstr23, -89);
|
||||
lv_obj_set_y(ui_pageHome_labelstr23, -98);
|
||||
lv_obj_set_align(ui_pageHome_labelstr23, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_pageHome_labelstr23, "测试结果:");
|
||||
lv_obj_set_style_text_font(ui_pageHome_labelstr23, &ui_font_MiSansN, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_pageHome_panelStageBS = lv_obj_create(ui_pageHome_panelCenter);
|
||||
lv_obj_set_width(ui_pageHome_panelStageBS, 266);
|
||||
lv_obj_set_height(ui_pageHome_panelStageBS, 122);
|
||||
lv_obj_set_height(ui_pageHome_panelStageBS, 98);
|
||||
lv_obj_set_x(ui_pageHome_panelStageBS, 0);
|
||||
lv_obj_set_y(ui_pageHome_panelStageBS, 68);
|
||||
lv_obj_set_y(ui_pageHome_panelStageBS, 78);
|
||||
lv_obj_set_align(ui_pageHome_panelStageBS, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_pageHome_panelStageBS, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_pageHome_buttonMinusBS = lv_btn_create(ui_pageHome_panelStageBS);
|
||||
lv_obj_set_width(ui_pageHome_buttonMinusBS, 100);
|
||||
lv_obj_set_height(ui_pageHome_buttonMinusBS, 80);
|
||||
lv_obj_set_x(ui_pageHome_buttonMinusBS, -79);
|
||||
lv_obj_set_y(ui_pageHome_buttonMinusBS, 2);
|
||||
lv_obj_set_x(ui_pageHome_buttonMinusBS, -78);
|
||||
lv_obj_set_y(ui_pageHome_buttonMinusBS, 0);
|
||||
lv_obj_set_align(ui_pageHome_buttonMinusBS, LV_ALIGN_CENTER);
|
||||
lv_obj_set_style_text_color(ui_pageHome_buttonMinusBS, lv_color_hex(0x050000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_pageHome_buttonMinusBS, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
@ -700,7 +716,7 @@ void ui_pageHome_screen_init(void)
|
||||
lv_obj_set_width(ui_pageHome_buttonAddBS, 100);
|
||||
lv_obj_set_height(ui_pageHome_buttonAddBS, 80);
|
||||
lv_obj_set_x(ui_pageHome_buttonAddBS, 78);
|
||||
lv_obj_set_y(ui_pageHome_buttonAddBS, 1);
|
||||
lv_obj_set_y(ui_pageHome_buttonAddBS, 0);
|
||||
lv_obj_set_align(ui_pageHome_buttonAddBS, LV_ALIGN_CENTER);
|
||||
lv_obj_set_style_text_color(ui_pageHome_buttonAddBS, lv_color_hex(0x050000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_pageHome_buttonAddBS, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
@ -719,8 +735,8 @@ void ui_pageHome_screen_init(void)
|
||||
ui_pageHome_labelstr10 = lv_label_create(ui_pageHome_panelStageBS);
|
||||
lv_obj_set_width(ui_pageHome_labelstr10, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_pageHome_labelstr10, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_pageHome_labelstr10, 1);
|
||||
lv_obj_set_y(ui_pageHome_labelstr10, -40);
|
||||
lv_obj_set_x(ui_pageHome_labelstr10, 0);
|
||||
lv_obj_set_y(ui_pageHome_labelstr10, -24);
|
||||
lv_obj_set_align(ui_pageHome_labelstr10, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_pageHome_labelstr10, "挡位");
|
||||
lv_obj_set_style_text_font(ui_pageHome_labelstr10, &ui_font_homeText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
@ -728,8 +744,8 @@ void ui_pageHome_screen_init(void)
|
||||
ui_pageHome_spinboxStageBS = lv_spinbox_create(ui_pageHome_panelStageBS);
|
||||
lv_obj_set_width(ui_pageHome_spinboxStageBS, 40);
|
||||
lv_obj_set_height(ui_pageHome_spinboxStageBS, 40);
|
||||
lv_obj_set_x(ui_pageHome_spinboxStageBS, 1);
|
||||
lv_obj_set_y(ui_pageHome_spinboxStageBS, 5);
|
||||
lv_obj_set_x(ui_pageHome_spinboxStageBS, 0);
|
||||
lv_obj_set_y(ui_pageHome_spinboxStageBS, 10);
|
||||
lv_obj_set_align(ui_pageHome_spinboxStageBS, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_pageHome_spinboxStageBS, LV_OBJ_FLAG_CLICKABLE); /// Flags
|
||||
lv_spinbox_set_digit_format(ui_pageHome_spinboxStageBS, 1, 1);
|
||||
|
||||
@ -94,6 +94,8 @@ void ui_event_pageHome_DropdownTestTypeBS(lv_event_t * e);
|
||||
lv_obj_t * ui_pageHome_DropdownTestTypeBS;
|
||||
lv_obj_t * ui_pageHome_labelstr21;
|
||||
lv_obj_t * ui_pageHome_labelstr7;
|
||||
lv_obj_t * ui_pageHome_labelstr22;
|
||||
lv_obj_t * ui_pageHome_labelstr23;
|
||||
lv_obj_t * ui_pageHome_panelStageBS;
|
||||
void ui_event_pageHome_buttonMinusBS(lv_event_t * e);
|
||||
lv_obj_t * ui_pageHome_buttonMinusBS;
|
||||
|
||||
@ -104,6 +104,8 @@ void ui_event_pageHome_DropdownTestTypeBS(lv_event_t * e);
|
||||
extern lv_obj_t * ui_pageHome_DropdownTestTypeBS;
|
||||
extern lv_obj_t * ui_pageHome_labelstr21;
|
||||
extern lv_obj_t * ui_pageHome_labelstr7;
|
||||
extern lv_obj_t * ui_pageHome_labelstr22;
|
||||
extern lv_obj_t * ui_pageHome_labelstr23;
|
||||
extern lv_obj_t * ui_pageHome_panelStageBS;
|
||||
void ui_event_pageHome_buttonMinusBS(lv_event_t * e);
|
||||
extern lv_obj_t * ui_pageHome_buttonMinusBS;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user