12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187 |
- /*
- * 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, 174, 34);
- lv_obj_set_size(ui->FactorySettingPage_label_detail_error, 100, 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_CENTER, 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 其他
- 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.
- // lv_spinbox_set_range(ui->FactorySettingPage_spinbox_filter_life, 1, 99);
- //Update current screen layout.
- lv_obj_update_layout(ui->FactorySettingPage);
- //Init events for screen.
- events_init_FactorySettingPage(ui);
- }
|