1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210 |
- /*
- * Copyright 2025 NXP
- * NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
- * accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
- * activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
- * comply with and are bound by, such license terms. If you do not agree to be bound by the applicable license
- * terms, then you may not retain, install, activate or otherwise use the software.
- */
- #include "lvgl.h"
- #include <stdio.h>
- #include "gui_guider.h"
- #include "events_init.h"
- #include "widgets_init.h"
- #include "custom.h"
- void setup_scr_FactorySettingPage(lv_ui *ui)
- {
- //Write codes FactorySettingPage
- ui->FactorySettingPage = lv_obj_create(NULL);
- lv_obj_set_size(ui->FactorySettingPage, 480, 480);
- lv_obj_set_scrollbar_mode(ui->FactorySettingPage, LV_SCROLLBAR_MODE_OFF);
- //Write style for FactorySettingPage, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_tabview_1
- ui->FactorySettingPage_tabview_1 = lv_tabview_create(ui->FactorySettingPage);
- lv_obj_set_pos(ui->FactorySettingPage_tabview_1, 0, 0);
- lv_obj_set_size(ui->FactorySettingPage_tabview_1, 480, 480);
- lv_obj_set_scrollbar_mode(ui->FactorySettingPage_tabview_1, LV_SCROLLBAR_MODE_OFF);
- lv_tabview_set_tab_bar_position(ui->FactorySettingPage_tabview_1, LV_DIR_TOP);
- lv_tabview_set_tab_bar_size(ui->FactorySettingPage_tabview_1, 50);
- //Write style for FactorySettingPage_tabview_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_tabview_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_tabview_1, lv_color_hex(0xf9f9f9), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_tabview_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_tabview_1, lv_color_hex(0x4d4d4d), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_tabview_1, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_tabview_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_tabview_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_tabview_1, 16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_tabview_1_extra_btnm_main_default
- static lv_style_t style_FactorySettingPage_tabview_1_extra_btnm_main_default;
- ui_init_style(&style_FactorySettingPage_tabview_1_extra_btnm_main_default);
- lv_style_set_bg_opa(&style_FactorySettingPage_tabview_1_extra_btnm_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_tabview_1_extra_btnm_main_default, lv_color_hex(0xffffff));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_tabview_1_extra_btnm_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_tabview_1_extra_btnm_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_tabview_1_extra_btnm_main_default, 0);
- lv_obj_add_style(lv_tabview_get_tab_bar(ui->FactorySettingPage_tabview_1), &style_FactorySettingPage_tabview_1_extra_btnm_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_tabview_1_extra_btnm_items_default
- static lv_style_t style_FactorySettingPage_tabview_1_extra_btnm_items_default;
- ui_init_style(&style_FactorySettingPage_tabview_1_extra_btnm_items_default);
- lv_style_set_text_color(&style_FactorySettingPage_tabview_1_extra_btnm_items_default, lv_color_hex(0xe3610c));
- lv_style_set_text_font(&style_FactorySettingPage_tabview_1_extra_btnm_items_default, &lv_font_Alibaba_PuHuiTi_Medium_16);
- lv_style_set_text_opa(&style_FactorySettingPage_tabview_1_extra_btnm_items_default, 255);
- lv_obj_add_style(lv_tabview_get_tab_bar(ui->FactorySettingPage_tabview_1), &style_FactorySettingPage_tabview_1_extra_btnm_items_default, LV_PART_ITEMS|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_CHECKED for &style_FactorySettingPage_tabview_1_extra_btnm_items_checked
- static lv_style_t style_FactorySettingPage_tabview_1_extra_btnm_items_checked;
- ui_init_style(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked);
- lv_style_set_text_color(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
- lv_style_set_text_font(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, 255);
- lv_style_set_border_width(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, 4);
- lv_style_set_border_opa(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, 255);
- lv_style_set_border_color(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
- lv_style_set_border_side(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, LV_BORDER_SIDE_BOTTOM);
- lv_style_set_radius(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, 0);
- lv_style_set_bg_opa(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, 60);
- lv_style_set_bg_color(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, LV_GRAD_DIR_NONE);
- lv_obj_add_style(lv_tabview_get_tab_bar(ui->FactorySettingPage_tabview_1), &style_FactorySettingPage_tabview_1_extra_btnm_items_checked, LV_PART_ITEMS|LV_STATE_CHECKED);
- //Write codes 风档电压
- ui->FactorySettingPage_tabview_1_tab_1 = lv_tabview_add_tab(ui->FactorySettingPage_tabview_1,"风档电压");
- lv_obj_t * FactorySettingPage_tabview_1_tab_1_label = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_label_set_text(FactorySettingPage_tabview_1_tab_1_label, "风挡电压:\n");
- //Write codes FactorySettingPage_spinbox_exhaust1_vol
- ui->FactorySettingPage_spinbox_exhaust1_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust1_vol, 88, 71);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust1_vol, 88, 71);
- lv_obj_set_width(ui->FactorySettingPage_spinbox_exhaust1_vol, 70);
- lv_obj_set_height(ui->FactorySettingPage_spinbox_exhaust1_vol, 30);
- lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_exhaust1_vol, 2, 2);
- lv_spinbox_set_range(ui->FactorySettingPage_spinbox_exhaust1_vol, -99, 99);
- int32_t FactorySettingPage_spinbox_exhaust1_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_exhaust1_vol);
- ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust1_vol, 88, 71);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus, FactorySettingPage_spinbox_exhaust1_vol_h, FactorySettingPage_spinbox_exhaust1_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus, ui->FactorySettingPage_spinbox_exhaust1_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus, LV_SYMBOL_PLUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus, lv_FactorySettingPage_spinbox_exhaust1_vol_increment_event_cb, LV_EVENT_ALL, NULL);
- ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus, FactorySettingPage_spinbox_exhaust1_vol_h, FactorySettingPage_spinbox_exhaust1_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus, ui->FactorySettingPage_spinbox_exhaust1_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus, LV_SYMBOL_MINUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus, lv_FactorySettingPage_spinbox_exhaust1_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
- //Write style for FactorySettingPage_spinbox_exhaust1_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust1_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust1_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_exhaust1_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_exhaust1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_exhaust1_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_exhaust1_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_exhaust1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_exhaust1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_exhaust1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_exhaust1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust1_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust1_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_exhaust1_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_exhaust1_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_exhaust1_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style for FactorySettingPage_spinbox_exhaust1_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust1_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust1_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust1_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust1_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust1_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust1_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default
- static lv_style_t style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default;
- ui_init_style(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default);
- lv_style_set_text_color(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_text_font(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, 255);
- lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, 5);
- lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, 0);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus, &style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus, &style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_spinbox_exhaust3_vol
- ui->FactorySettingPage_spinbox_exhaust3_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust3_vol, 88, 176);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust3_vol, 88, 176);
- lv_obj_set_width(ui->FactorySettingPage_spinbox_exhaust3_vol, 70);
- lv_obj_set_height(ui->FactorySettingPage_spinbox_exhaust3_vol, 30);
- lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_exhaust3_vol, 2, 2);
- lv_spinbox_set_range(ui->FactorySettingPage_spinbox_exhaust3_vol, -99, 99);
- int32_t FactorySettingPage_spinbox_exhaust3_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_exhaust3_vol);
- ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust3_vol, 88, 176);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus, FactorySettingPage_spinbox_exhaust3_vol_h, FactorySettingPage_spinbox_exhaust3_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus, ui->FactorySettingPage_spinbox_exhaust3_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus, LV_SYMBOL_PLUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus, lv_FactorySettingPage_spinbox_exhaust3_vol_increment_event_cb, LV_EVENT_ALL, NULL);
- ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus, FactorySettingPage_spinbox_exhaust3_vol_h, FactorySettingPage_spinbox_exhaust3_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus, ui->FactorySettingPage_spinbox_exhaust3_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus, LV_SYMBOL_MINUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus, lv_FactorySettingPage_spinbox_exhaust3_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
- //Write style for FactorySettingPage_spinbox_exhaust3_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust3_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust3_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_exhaust3_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_exhaust3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_exhaust3_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_exhaust3_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_exhaust3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_exhaust3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_exhaust3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_exhaust3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust3_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust3_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_exhaust3_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_exhaust3_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_exhaust3_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style for FactorySettingPage_spinbox_exhaust3_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust3_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust3_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust3_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust3_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust3_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust3_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default
- static lv_style_t style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default;
- ui_init_style(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default);
- lv_style_set_text_color(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_text_font(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, 255);
- lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, 5);
- lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, 0);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus, &style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus, &style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_spinbox_exhaust5_vol
- ui->FactorySettingPage_spinbox_exhaust5_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust5_vol, 88, 279);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust5_vol, 88, 279);
- lv_obj_set_width(ui->FactorySettingPage_spinbox_exhaust5_vol, 70);
- lv_obj_set_height(ui->FactorySettingPage_spinbox_exhaust5_vol, 30);
- lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_exhaust5_vol, 2, 2);
- lv_spinbox_set_range(ui->FactorySettingPage_spinbox_exhaust5_vol, -99, 99);
- int32_t FactorySettingPage_spinbox_exhaust5_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_exhaust5_vol);
- ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust5_vol, 88, 279);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus, FactorySettingPage_spinbox_exhaust5_vol_h, FactorySettingPage_spinbox_exhaust5_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus, ui->FactorySettingPage_spinbox_exhaust5_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus, LV_SYMBOL_PLUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus, lv_FactorySettingPage_spinbox_exhaust5_vol_increment_event_cb, LV_EVENT_ALL, NULL);
- ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus, FactorySettingPage_spinbox_exhaust5_vol_h, FactorySettingPage_spinbox_exhaust5_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus, ui->FactorySettingPage_spinbox_exhaust5_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus, LV_SYMBOL_MINUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus, lv_FactorySettingPage_spinbox_exhaust5_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
- //Write style for FactorySettingPage_spinbox_exhaust5_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust5_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust5_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_exhaust5_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_exhaust5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_exhaust5_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_exhaust5_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_exhaust5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_exhaust5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_exhaust5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_exhaust5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust5_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust5_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_exhaust5_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_exhaust5_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_exhaust5_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style for FactorySettingPage_spinbox_exhaust5_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust5_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust5_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust5_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust5_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust5_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust5_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default
- static lv_style_t style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default;
- ui_init_style(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default);
- lv_style_set_text_color(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_text_font(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, 255);
- lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, 5);
- lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, 0);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus, &style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus, &style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_spinbox_exhaust4_vol
- ui->FactorySettingPage_spinbox_exhaust4_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust4_vol, 88, 228);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust4_vol, 88, 228);
- lv_obj_set_width(ui->FactorySettingPage_spinbox_exhaust4_vol, 70);
- lv_obj_set_height(ui->FactorySettingPage_spinbox_exhaust4_vol, 30);
- lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_exhaust4_vol, 2, 2);
- lv_spinbox_set_range(ui->FactorySettingPage_spinbox_exhaust4_vol, -99, 99);
- int32_t FactorySettingPage_spinbox_exhaust4_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_exhaust4_vol);
- ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust4_vol, 88, 228);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus, FactorySettingPage_spinbox_exhaust4_vol_h, FactorySettingPage_spinbox_exhaust4_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus, ui->FactorySettingPage_spinbox_exhaust4_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus, LV_SYMBOL_PLUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus, lv_FactorySettingPage_spinbox_exhaust4_vol_increment_event_cb, LV_EVENT_ALL, NULL);
- ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus, FactorySettingPage_spinbox_exhaust4_vol_h, FactorySettingPage_spinbox_exhaust4_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus, ui->FactorySettingPage_spinbox_exhaust4_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus, LV_SYMBOL_MINUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus, lv_FactorySettingPage_spinbox_exhaust4_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
- //Write style for FactorySettingPage_spinbox_exhaust4_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust4_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust4_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_exhaust4_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_exhaust4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_exhaust4_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_exhaust4_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_exhaust4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_exhaust4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_exhaust4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_exhaust4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust4_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust4_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_exhaust4_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_exhaust4_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_exhaust4_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style for FactorySettingPage_spinbox_exhaust4_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust4_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust4_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust4_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust4_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust4_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust4_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default
- static lv_style_t style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default;
- ui_init_style(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default);
- lv_style_set_text_color(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_text_font(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, 255);
- lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, 5);
- lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, 0);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus, &style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus, &style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_spinbox_exhaust2_vol
- ui->FactorySettingPage_spinbox_exhaust2_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust2_vol, 88, 124);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust2_vol, 88, 124);
- lv_obj_set_width(ui->FactorySettingPage_spinbox_exhaust2_vol, 70);
- lv_obj_set_height(ui->FactorySettingPage_spinbox_exhaust2_vol, 30);
- lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_exhaust2_vol, 2, 2);
- lv_spinbox_set_range(ui->FactorySettingPage_spinbox_exhaust2_vol, -99, 99);
- int32_t FactorySettingPage_spinbox_exhaust2_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_exhaust2_vol);
- ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust2_vol, 88, 124);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus, FactorySettingPage_spinbox_exhaust2_vol_h, FactorySettingPage_spinbox_exhaust2_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus, ui->FactorySettingPage_spinbox_exhaust2_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus, LV_SYMBOL_PLUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus, lv_FactorySettingPage_spinbox_exhaust2_vol_increment_event_cb, LV_EVENT_ALL, NULL);
- ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus, FactorySettingPage_spinbox_exhaust2_vol_h, FactorySettingPage_spinbox_exhaust2_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus, ui->FactorySettingPage_spinbox_exhaust2_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus, LV_SYMBOL_MINUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus, lv_FactorySettingPage_spinbox_exhaust2_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
- //Write style for FactorySettingPage_spinbox_exhaust2_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust2_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust2_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_exhaust2_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_exhaust2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_exhaust2_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_exhaust2_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_exhaust2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_exhaust2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_exhaust2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_exhaust2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust2_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust2_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_exhaust2_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_exhaust2_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_exhaust2_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style for FactorySettingPage_spinbox_exhaust2_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust2_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust2_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust2_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust2_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust2_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust2_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default
- static lv_style_t style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default;
- ui_init_style(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default);
- lv_style_set_text_color(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_text_font(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, 255);
- lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, 5);
- lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, 0);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus, &style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus, &style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_4
- ui->FactorySettingPage_label_4 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_4, -2, 232);
- lv_obj_set_size(ui->FactorySettingPage_label_4, 50, 22);
- lv_label_set_text(ui->FactorySettingPage_label_4, "四档");
- lv_label_set_long_mode(ui->FactorySettingPage_label_4, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_4, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_4, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_4, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_2
- ui->FactorySettingPage_label_2 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_2, -2, 128);
- lv_obj_set_size(ui->FactorySettingPage_label_2, 50, 22);
- lv_label_set_text(ui->FactorySettingPage_label_2, "二档");
- lv_label_set_long_mode(ui->FactorySettingPage_label_2, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_2, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_3
- ui->FactorySettingPage_label_3 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_3, -2, 180);
- lv_obj_set_size(ui->FactorySettingPage_label_3, 50, 22);
- lv_label_set_text(ui->FactorySettingPage_label_3, "三档");
- lv_label_set_long_mode(ui->FactorySettingPage_label_3, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_3, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_1
- ui->FactorySettingPage_label_1 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_1, -2, 75);
- lv_obj_set_size(ui->FactorySettingPage_label_1, 50, 22);
- lv_label_set_text(ui->FactorySettingPage_label_1, "一档");
- lv_label_set_long_mode(ui->FactorySettingPage_label_1, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_1, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_5
- ui->FactorySettingPage_label_5 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_5, -2, 283);
- lv_obj_set_size(ui->FactorySettingPage_label_5, 50, 22);
- lv_label_set_text(ui->FactorySettingPage_label_5, "五档");
- lv_label_set_long_mode(ui->FactorySettingPage_label_5, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_5, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_5, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_5, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_btn_fan_vol_save
- ui->FactorySettingPage_btn_fan_vol_save = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_btn_fan_vol_save, 247, 346);
- lv_obj_set_size(ui->FactorySettingPage_btn_fan_vol_save, 177, 33);
- ui->FactorySettingPage_btn_fan_vol_save_label = lv_label_create(ui->FactorySettingPage_btn_fan_vol_save);
- lv_label_set_text(ui->FactorySettingPage_btn_fan_vol_save_label, "保存");
- lv_label_set_long_mode(ui->FactorySettingPage_btn_fan_vol_save_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->FactorySettingPage_btn_fan_vol_save_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_fan_vol_save, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->FactorySettingPage_btn_fan_vol_save_label, LV_PCT(100));
- //Write style for FactorySettingPage_btn_fan_vol_save, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_fan_vol_save, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_fan_vol_save, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_fan_vol_save, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_btn_fan_vol_save, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_btn_fan_vol_save, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_fan_vol_save, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_btn_fan_vol_save, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_btn_fan_vol_save, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_fan_vol_save, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_btn_fan_vol_save, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_spinbox_supply1_vol
- ui->FactorySettingPage_spinbox_supply1_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply1_vol, 331, 71);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply1_vol, 331, 71);
- lv_obj_set_width(ui->FactorySettingPage_spinbox_supply1_vol, 70);
- lv_obj_set_height(ui->FactorySettingPage_spinbox_supply1_vol, 30);
- lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_supply1_vol, 2, 2);
- lv_spinbox_set_range(ui->FactorySettingPage_spinbox_supply1_vol, -99, 99);
- int32_t FactorySettingPage_spinbox_supply1_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_supply1_vol);
- ui->FactorySettingPage_spinbox_supply1_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply1_vol, 331, 71);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_supply1_vol_btn_plus, FactorySettingPage_spinbox_supply1_vol_h, FactorySettingPage_spinbox_supply1_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_supply1_vol_btn_plus, ui->FactorySettingPage_spinbox_supply1_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply1_vol_btn_plus, LV_SYMBOL_PLUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply1_vol_btn_plus, lv_FactorySettingPage_spinbox_supply1_vol_increment_event_cb, LV_EVENT_ALL, NULL);
- ui->FactorySettingPage_spinbox_supply1_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_supply1_vol_btn_minus, FactorySettingPage_spinbox_supply1_vol_h, FactorySettingPage_spinbox_supply1_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_supply1_vol_btn_minus, ui->FactorySettingPage_spinbox_supply1_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply1_vol_btn_minus, LV_SYMBOL_MINUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply1_vol_btn_minus, lv_FactorySettingPage_spinbox_supply1_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
- //Write style for FactorySettingPage_spinbox_supply1_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply1_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply1_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_supply1_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_supply1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_supply1_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_supply1_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_supply1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_supply1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_supply1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_supply1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply1_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply1_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_supply1_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_supply1_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_supply1_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style for FactorySettingPage_spinbox_supply1_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply1_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply1_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply1_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply1_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply1_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply1_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default
- static lv_style_t style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default;
- ui_init_style(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default);
- lv_style_set_text_color(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_text_font(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, 255);
- lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, 5);
- lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, 0);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_supply1_vol_btn_plus, &style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_supply1_vol_btn_minus, &style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_spinbox_supply2_vol
- ui->FactorySettingPage_spinbox_supply2_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply2_vol, 331, 124);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply2_vol, 331, 124);
- lv_obj_set_width(ui->FactorySettingPage_spinbox_supply2_vol, 70);
- lv_obj_set_height(ui->FactorySettingPage_spinbox_supply2_vol, 30);
- lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_supply2_vol, 2, 2);
- lv_spinbox_set_range(ui->FactorySettingPage_spinbox_supply2_vol, -99, 99);
- int32_t FactorySettingPage_spinbox_supply2_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_supply2_vol);
- ui->FactorySettingPage_spinbox_supply2_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply2_vol, 331, 124);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_supply2_vol_btn_plus, FactorySettingPage_spinbox_supply2_vol_h, FactorySettingPage_spinbox_supply2_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_supply2_vol_btn_plus, ui->FactorySettingPage_spinbox_supply2_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply2_vol_btn_plus, LV_SYMBOL_PLUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply2_vol_btn_plus, lv_FactorySettingPage_spinbox_supply2_vol_increment_event_cb, LV_EVENT_ALL, NULL);
- ui->FactorySettingPage_spinbox_supply2_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_supply2_vol_btn_minus, FactorySettingPage_spinbox_supply2_vol_h, FactorySettingPage_spinbox_supply2_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_supply2_vol_btn_minus, ui->FactorySettingPage_spinbox_supply2_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply2_vol_btn_minus, LV_SYMBOL_MINUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply2_vol_btn_minus, lv_FactorySettingPage_spinbox_supply2_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
- //Write style for FactorySettingPage_spinbox_supply2_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply2_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply2_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_supply2_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_supply2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_supply2_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_supply2_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_supply2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_supply2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_supply2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_supply2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply2_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply2_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_supply2_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_supply2_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_supply2_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style for FactorySettingPage_spinbox_supply2_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply2_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply2_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply2_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply2_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply2_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply2_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default
- static lv_style_t style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default;
- ui_init_style(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default);
- lv_style_set_text_color(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_text_font(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, 255);
- lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, 5);
- lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, 0);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_supply2_vol_btn_plus, &style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_supply2_vol_btn_minus, &style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_spinbox_supply3_vol
- ui->FactorySettingPage_spinbox_supply3_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply3_vol, 331, 176);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply3_vol, 331, 176);
- lv_obj_set_width(ui->FactorySettingPage_spinbox_supply3_vol, 70);
- lv_obj_set_height(ui->FactorySettingPage_spinbox_supply3_vol, 30);
- lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_supply3_vol, 2, 2);
- lv_spinbox_set_range(ui->FactorySettingPage_spinbox_supply3_vol, -99, 99);
- int32_t FactorySettingPage_spinbox_supply3_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_supply3_vol);
- ui->FactorySettingPage_spinbox_supply3_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply3_vol, 331, 176);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_supply3_vol_btn_plus, FactorySettingPage_spinbox_supply3_vol_h, FactorySettingPage_spinbox_supply3_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_supply3_vol_btn_plus, ui->FactorySettingPage_spinbox_supply3_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply3_vol_btn_plus, LV_SYMBOL_PLUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply3_vol_btn_plus, lv_FactorySettingPage_spinbox_supply3_vol_increment_event_cb, LV_EVENT_ALL, NULL);
- ui->FactorySettingPage_spinbox_supply3_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_supply3_vol_btn_minus, FactorySettingPage_spinbox_supply3_vol_h, FactorySettingPage_spinbox_supply3_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_supply3_vol_btn_minus, ui->FactorySettingPage_spinbox_supply3_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply3_vol_btn_minus, LV_SYMBOL_MINUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply3_vol_btn_minus, lv_FactorySettingPage_spinbox_supply3_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
- //Write style for FactorySettingPage_spinbox_supply3_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply3_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply3_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_supply3_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_supply3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_supply3_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_supply3_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_supply3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_supply3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_supply3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_supply3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply3_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply3_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_supply3_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_supply3_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_supply3_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style for FactorySettingPage_spinbox_supply3_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply3_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply3_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply3_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply3_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply3_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply3_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default
- static lv_style_t style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default;
- ui_init_style(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default);
- lv_style_set_text_color(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_text_font(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, 255);
- lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, 5);
- lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, 0);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_supply3_vol_btn_plus, &style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_supply3_vol_btn_minus, &style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_spinbox_supply4_vol
- ui->FactorySettingPage_spinbox_supply4_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply4_vol, 331, 228);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply4_vol, 331, 228);
- lv_obj_set_width(ui->FactorySettingPage_spinbox_supply4_vol, 70);
- lv_obj_set_height(ui->FactorySettingPage_spinbox_supply4_vol, 30);
- lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_supply4_vol, 2, 2);
- lv_spinbox_set_range(ui->FactorySettingPage_spinbox_supply4_vol, -99, 99);
- int32_t FactorySettingPage_spinbox_supply4_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_supply4_vol);
- ui->FactorySettingPage_spinbox_supply4_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply4_vol, 331, 228);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_supply4_vol_btn_plus, FactorySettingPage_spinbox_supply4_vol_h, FactorySettingPage_spinbox_supply4_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_supply4_vol_btn_plus, ui->FactorySettingPage_spinbox_supply4_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply4_vol_btn_plus, LV_SYMBOL_PLUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply4_vol_btn_plus, lv_FactorySettingPage_spinbox_supply4_vol_increment_event_cb, LV_EVENT_ALL, NULL);
- ui->FactorySettingPage_spinbox_supply4_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_supply4_vol_btn_minus, FactorySettingPage_spinbox_supply4_vol_h, FactorySettingPage_spinbox_supply4_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_supply4_vol_btn_minus, ui->FactorySettingPage_spinbox_supply4_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply4_vol_btn_minus, LV_SYMBOL_MINUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply4_vol_btn_minus, lv_FactorySettingPage_spinbox_supply4_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
- //Write style for FactorySettingPage_spinbox_supply4_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply4_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply4_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_supply4_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_supply4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_supply4_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_supply4_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_supply4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_supply4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_supply4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_supply4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply4_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply4_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_supply4_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_supply4_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_supply4_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style for FactorySettingPage_spinbox_supply4_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply4_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply4_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply4_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply4_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply4_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply4_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default
- static lv_style_t style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default;
- ui_init_style(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default);
- lv_style_set_text_color(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_text_font(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, 255);
- lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, 5);
- lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, 0);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_supply4_vol_btn_plus, &style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_supply4_vol_btn_minus, &style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_spinbox_supply5_vol
- ui->FactorySettingPage_spinbox_supply5_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply5_vol, 331, 279);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply5_vol, 331, 279);
- lv_obj_set_width(ui->FactorySettingPage_spinbox_supply5_vol, 70);
- lv_obj_set_height(ui->FactorySettingPage_spinbox_supply5_vol, 30);
- lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_supply5_vol, 2, 2);
- lv_spinbox_set_range(ui->FactorySettingPage_spinbox_supply5_vol, -99, 99);
- int32_t FactorySettingPage_spinbox_supply5_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_supply5_vol);
- ui->FactorySettingPage_spinbox_supply5_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply5_vol, 331, 279);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_supply5_vol_btn_plus, FactorySettingPage_spinbox_supply5_vol_h, FactorySettingPage_spinbox_supply5_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_supply5_vol_btn_plus, ui->FactorySettingPage_spinbox_supply5_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply5_vol_btn_plus, LV_SYMBOL_PLUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply5_vol_btn_plus, lv_FactorySettingPage_spinbox_supply5_vol_increment_event_cb, LV_EVENT_ALL, NULL);
- ui->FactorySettingPage_spinbox_supply5_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_size(ui->FactorySettingPage_spinbox_supply5_vol_btn_minus, FactorySettingPage_spinbox_supply5_vol_h, FactorySettingPage_spinbox_supply5_vol_h);
- lv_obj_align_to(ui->FactorySettingPage_spinbox_supply5_vol_btn_minus, ui->FactorySettingPage_spinbox_supply5_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
- lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply5_vol_btn_minus, LV_SYMBOL_MINUS, 0);
- lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply5_vol_btn_minus, lv_FactorySettingPage_spinbox_supply5_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
- //Write style for FactorySettingPage_spinbox_supply5_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply5_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply5_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_supply5_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_supply5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_supply5_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_supply5_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_supply5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_supply5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_supply5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_supply5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply5_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply5_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_supply5_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_supply5_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_supply5_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write style for FactorySettingPage_spinbox_supply5_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
- lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply5_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply5_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply5_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply5_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply5_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply5_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
- //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default
- static lv_style_t style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default;
- ui_init_style(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default);
- lv_style_set_text_color(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, lv_color_hex(0xffffff));
- lv_style_set_text_font(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
- lv_style_set_text_opa(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, 255);
- lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, 255);
- lv_style_set_bg_color(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
- lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
- lv_style_set_border_width(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, 0);
- lv_style_set_radius(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, 5);
- lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, 0);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_supply5_vol_btn_plus, &style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_add_style(ui->FactorySettingPage_spinbox_supply5_vol_btn_minus, &style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_10
- ui->FactorySettingPage_label_10 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_10, 242, 280);
- lv_obj_set_size(ui->FactorySettingPage_label_10, 50, 22);
- lv_label_set_text(ui->FactorySettingPage_label_10, "五档");
- lv_label_set_long_mode(ui->FactorySettingPage_label_10, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_10, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_10, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_10, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_10, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_9
- ui->FactorySettingPage_label_9 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_9, 242, 229);
- lv_obj_set_size(ui->FactorySettingPage_label_9, 50, 22);
- lv_label_set_text(ui->FactorySettingPage_label_9, "四档");
- lv_label_set_long_mode(ui->FactorySettingPage_label_9, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_9, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_9, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_9, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_9, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_9, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_8
- ui->FactorySettingPage_label_8 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_8, 242, 178);
- lv_obj_set_size(ui->FactorySettingPage_label_8, 50, 22);
- lv_label_set_text(ui->FactorySettingPage_label_8, "三档");
- lv_label_set_long_mode(ui->FactorySettingPage_label_8, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_8, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_8, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_8, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_8, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_8, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_7
- ui->FactorySettingPage_label_7 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_7, 242, 127);
- lv_obj_set_size(ui->FactorySettingPage_label_7, 50, 22);
- lv_label_set_text(ui->FactorySettingPage_label_7, "二档");
- lv_label_set_long_mode(ui->FactorySettingPage_label_7, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_7, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_7, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_7, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_7, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_7, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_6
- ui->FactorySettingPage_label_6 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_6, 242, 76);
- lv_obj_set_size(ui->FactorySettingPage_label_6, 50, 22);
- lv_label_set_text(ui->FactorySettingPage_label_6, "一档");
- lv_label_set_long_mode(ui->FactorySettingPage_label_6, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_6, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_6, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_6, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_11
- ui->FactorySettingPage_label_11 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_11, 69, 28);
- lv_obj_set_size(ui->FactorySettingPage_label_11, 100, 32);
- lv_label_set_text(ui->FactorySettingPage_label_11, "排风风机");
- lv_label_set_long_mode(ui->FactorySettingPage_label_11, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_11, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_11, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_11, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_11, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_label_12
- ui->FactorySettingPage_label_12 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_label_12, 318, 32);
- lv_obj_set_size(ui->FactorySettingPage_label_12, 100, 32);
- lv_label_set_text(ui->FactorySettingPage_label_12, "送风风机");
- lv_label_set_long_mode(ui->FactorySettingPage_label_12, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_12, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_12, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_12, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_12, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_btn_refresh_vol
- ui->FactorySettingPage_btn_refresh_vol = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
- lv_obj_set_pos(ui->FactorySettingPage_btn_refresh_vol, 28, 346);
- lv_obj_set_size(ui->FactorySettingPage_btn_refresh_vol, 177, 33);
- ui->FactorySettingPage_btn_refresh_vol_label = lv_label_create(ui->FactorySettingPage_btn_refresh_vol);
- lv_label_set_text(ui->FactorySettingPage_btn_refresh_vol_label, "刷新");
- lv_label_set_long_mode(ui->FactorySettingPage_btn_refresh_vol_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->FactorySettingPage_btn_refresh_vol_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_refresh_vol, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->FactorySettingPage_btn_refresh_vol_label, LV_PCT(100));
- //Write style for FactorySettingPage_btn_refresh_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_refresh_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_refresh_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_refresh_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_btn_refresh_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_btn_refresh_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_refresh_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_btn_refresh_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_btn_refresh_vol, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_refresh_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_btn_refresh_vol, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes 故障查询
- ui->FactorySettingPage_tabview_1_tab_2 = lv_tabview_add_tab(ui->FactorySettingPage_tabview_1,"故障查询");
- lv_obj_t * FactorySettingPage_tabview_1_tab_2_label = lv_label_create(ui->FactorySettingPage_tabview_1_tab_2);
- lv_label_set_text(FactorySettingPage_tabview_1_tab_2_label, "当前故障显示:");
- //Write codes FactorySettingPage_label_detail_error
- ui->FactorySettingPage_label_detail_error = lv_label_create(ui->FactorySettingPage_tabview_1_tab_2);
- lv_obj_set_pos(ui->FactorySettingPage_label_detail_error, 139, 24);
- lv_obj_set_size(ui->FactorySettingPage_label_detail_error, 272, 310);
- lv_label_set_text(ui->FactorySettingPage_label_detail_error, "E1传感器故障高水位故障进水电磁阀故障送风风机故障排风风机故障排水泵故障通讯故障预留");
- lv_label_set_long_mode(ui->FactorySettingPage_label_detail_error, LV_LABEL_LONG_WRAP);
- //Write style for FactorySettingPage_label_detail_error, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_border_width(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_label_detail_error, lv_color_hex(0xf00000), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_label_detail_error, &lv_font_Alibaba_PuHuiTi_Medium_20, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_label_detail_error, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_label_detail_error, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_top(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_right(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_pad_left(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_btn_error
- ui->FactorySettingPage_btn_error = lv_button_create(ui->FactorySettingPage_tabview_1_tab_2);
- lv_obj_set_pos(ui->FactorySettingPage_btn_error, 181, 365);
- lv_obj_set_size(ui->FactorySettingPage_btn_error, 109, 32);
- ui->FactorySettingPage_btn_error_label = lv_label_create(ui->FactorySettingPage_btn_error);
- lv_label_set_text(ui->FactorySettingPage_btn_error_label, "刷新");
- lv_label_set_long_mode(ui->FactorySettingPage_btn_error_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->FactorySettingPage_btn_error_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_error, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->FactorySettingPage_btn_error_label, LV_PCT(100));
- //Write style for FactorySettingPage_btn_error, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_error, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_error, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_error, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_btn_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_btn_error, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_btn_error, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_btn_error, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_error, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_btn_error, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes 其他
- ui->FactorySettingPage_tabview_1_tab_3 = lv_tabview_add_tab(ui->FactorySettingPage_tabview_1,"其他");
- lv_obj_t * FactorySettingPage_tabview_1_tab_3_label = lv_label_create(ui->FactorySettingPage_tabview_1_tab_3);
- lv_label_set_text(FactorySettingPage_tabview_1_tab_3_label, "");
- //Write codes FactorySettingPage_btn_4
- ui->FactorySettingPage_btn_4 = lv_button_create(ui->FactorySettingPage_tabview_1_tab_3);
- lv_obj_set_pos(ui->FactorySettingPage_btn_4, 150, 85);
- lv_obj_set_size(ui->FactorySettingPage_btn_4, 157, 50);
- ui->FactorySettingPage_btn_4_label = lv_label_create(ui->FactorySettingPage_btn_4);
- lv_label_set_text(ui->FactorySettingPage_btn_4_label, "退出高级设置");
- lv_label_set_long_mode(ui->FactorySettingPage_btn_4_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->FactorySettingPage_btn_4_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_4, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->FactorySettingPage_btn_4_label, LV_PCT(100));
- //Write style for FactorySettingPage_btn_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_4, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_4, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_btn_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_btn_4, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_btn_4, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_btn_4, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_btn_4, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_btn_5
- ui->FactorySettingPage_btn_5 = lv_button_create(ui->FactorySettingPage_tabview_1_tab_3);
- lv_obj_set_pos(ui->FactorySettingPage_btn_5, 150, 165);
- lv_obj_set_size(ui->FactorySettingPage_btn_5, 157, 50);
- ui->FactorySettingPage_btn_5_label = lv_label_create(ui->FactorySettingPage_btn_5);
- lv_label_set_text(ui->FactorySettingPage_btn_5_label, "恢复出厂设置");
- lv_label_set_long_mode(ui->FactorySettingPage_btn_5_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->FactorySettingPage_btn_5_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_5, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->FactorySettingPage_btn_5_label, LV_PCT(100));
- //Write style for FactorySettingPage_btn_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_5, lv_color_hex(0xee0024), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_5, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_btn_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_btn_5, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_btn_5, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_btn_5, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_btn_5, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_btn_filter_life_clear
- ui->FactorySettingPage_btn_filter_life_clear = lv_button_create(ui->FactorySettingPage_tabview_1_tab_3);
- lv_obj_set_pos(ui->FactorySettingPage_btn_filter_life_clear, 150, 5);
- lv_obj_set_size(ui->FactorySettingPage_btn_filter_life_clear, 157, 50);
- ui->FactorySettingPage_btn_filter_life_clear_label = lv_label_create(ui->FactorySettingPage_btn_filter_life_clear);
- lv_label_set_text(ui->FactorySettingPage_btn_filter_life_clear_label, "重置滤网");
- lv_label_set_long_mode(ui->FactorySettingPage_btn_filter_life_clear_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->FactorySettingPage_btn_filter_life_clear_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_filter_life_clear, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->FactorySettingPage_btn_filter_life_clear_label, LV_PCT(100));
- //Write style for FactorySettingPage_btn_filter_life_clear, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_filter_life_clear, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_filter_life_clear, lv_color_hex(0x8f9cff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_filter_life_clear, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_btn_filter_life_clear, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_btn_filter_life_clear, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_filter_life_clear, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_btn_filter_life_clear, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_btn_filter_life_clear, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_filter_life_clear, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_btn_filter_life_clear, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- //Write codes FactorySettingPage_btn_6
- ui->FactorySettingPage_btn_6 = lv_button_create(ui->FactorySettingPage_tabview_1_tab_3);
- lv_obj_set_pos(ui->FactorySettingPage_btn_6, 150, 245);
- lv_obj_set_size(ui->FactorySettingPage_btn_6, 157, 50);
- ui->FactorySettingPage_btn_6_label = lv_label_create(ui->FactorySettingPage_btn_6);
- lv_label_set_text(ui->FactorySettingPage_btn_6_label, "重启设备");
- lv_label_set_long_mode(ui->FactorySettingPage_btn_6_label, LV_LABEL_LONG_WRAP);
- lv_obj_align(ui->FactorySettingPage_btn_6_label, LV_ALIGN_CENTER, 0, 0);
- lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_6, 0, LV_STATE_DEFAULT);
- lv_obj_set_width(ui->FactorySettingPage_btn_6_label, LV_PCT(100));
- //Write style for FactorySettingPage_btn_6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
- lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_6, lv_color_hex(0xa358f9), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_6, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_border_width(ui->FactorySettingPage_btn_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_radius(ui->FactorySettingPage_btn_6, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_color(ui->FactorySettingPage_btn_6, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_font(ui->FactorySettingPage_btn_6, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
- lv_obj_set_style_text_align(ui->FactorySettingPage_btn_6, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
- //The custom code of FactorySettingPage.
- //Update current screen layout.
- lv_obj_update_layout(ui->FactorySettingPage);
- //Init events for screen.
- events_init_FactorySettingPage(ui);
- }
|