setup_scr_FactorySettingPage.c 114 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210
  1. /*
  2. * Copyright 2025 NXP
  3. * NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
  4. * accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
  5. * activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
  6. * comply with and are bound by, such license terms. If you do not agree to be bound by the applicable license
  7. * terms, then you may not retain, install, activate or otherwise use the software.
  8. */
  9. #include "lvgl.h"
  10. #include <stdio.h>
  11. #include "gui_guider.h"
  12. #include "events_init.h"
  13. #include "widgets_init.h"
  14. #include "custom.h"
  15. void setup_scr_FactorySettingPage(lv_ui *ui)
  16. {
  17. //Write codes FactorySettingPage
  18. ui->FactorySettingPage = lv_obj_create(NULL);
  19. lv_obj_set_size(ui->FactorySettingPage, 480, 480);
  20. lv_obj_set_scrollbar_mode(ui->FactorySettingPage, LV_SCROLLBAR_MODE_OFF);
  21. //Write style for FactorySettingPage, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  22. lv_obj_set_style_bg_opa(ui->FactorySettingPage, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  23. //Write codes FactorySettingPage_tabview_1
  24. ui->FactorySettingPage_tabview_1 = lv_tabview_create(ui->FactorySettingPage);
  25. lv_obj_set_pos(ui->FactorySettingPage_tabview_1, 0, 0);
  26. lv_obj_set_size(ui->FactorySettingPage_tabview_1, 480, 480);
  27. lv_obj_set_scrollbar_mode(ui->FactorySettingPage_tabview_1, LV_SCROLLBAR_MODE_OFF);
  28. lv_tabview_set_tab_bar_position(ui->FactorySettingPage_tabview_1, LV_DIR_TOP);
  29. lv_tabview_set_tab_bar_size(ui->FactorySettingPage_tabview_1, 50);
  30. //Write style for FactorySettingPage_tabview_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  31. lv_obj_set_style_bg_opa(ui->FactorySettingPage_tabview_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  32. lv_obj_set_style_bg_color(ui->FactorySettingPage_tabview_1, lv_color_hex(0xf9f9f9), LV_PART_MAIN|LV_STATE_DEFAULT);
  33. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_tabview_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  34. lv_obj_set_style_text_color(ui->FactorySettingPage_tabview_1, lv_color_hex(0x4d4d4d), LV_PART_MAIN|LV_STATE_DEFAULT);
  35. lv_obj_set_style_text_font(ui->FactorySettingPage_tabview_1, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  36. lv_obj_set_style_text_opa(ui->FactorySettingPage_tabview_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  37. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_tabview_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  38. lv_obj_set_style_text_line_space(ui->FactorySettingPage_tabview_1, 16, LV_PART_MAIN|LV_STATE_DEFAULT);
  39. lv_obj_set_style_border_width(ui->FactorySettingPage_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  40. lv_obj_set_style_radius(ui->FactorySettingPage_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  41. lv_obj_set_style_shadow_width(ui->FactorySettingPage_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  42. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_tabview_1_extra_btnm_main_default
  43. static lv_style_t style_FactorySettingPage_tabview_1_extra_btnm_main_default;
  44. ui_init_style(&style_FactorySettingPage_tabview_1_extra_btnm_main_default);
  45. lv_style_set_bg_opa(&style_FactorySettingPage_tabview_1_extra_btnm_main_default, 255);
  46. lv_style_set_bg_color(&style_FactorySettingPage_tabview_1_extra_btnm_main_default, lv_color_hex(0xffffff));
  47. lv_style_set_bg_grad_dir(&style_FactorySettingPage_tabview_1_extra_btnm_main_default, LV_GRAD_DIR_NONE);
  48. lv_style_set_border_width(&style_FactorySettingPage_tabview_1_extra_btnm_main_default, 0);
  49. lv_style_set_radius(&style_FactorySettingPage_tabview_1_extra_btnm_main_default, 0);
  50. 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);
  51. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_tabview_1_extra_btnm_items_default
  52. static lv_style_t style_FactorySettingPage_tabview_1_extra_btnm_items_default;
  53. ui_init_style(&style_FactorySettingPage_tabview_1_extra_btnm_items_default);
  54. lv_style_set_text_color(&style_FactorySettingPage_tabview_1_extra_btnm_items_default, lv_color_hex(0xe3610c));
  55. lv_style_set_text_font(&style_FactorySettingPage_tabview_1_extra_btnm_items_default, &lv_font_Alibaba_PuHuiTi_Medium_16);
  56. lv_style_set_text_opa(&style_FactorySettingPage_tabview_1_extra_btnm_items_default, 255);
  57. 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);
  58. //Write style state: LV_STATE_CHECKED for &style_FactorySettingPage_tabview_1_extra_btnm_items_checked
  59. static lv_style_t style_FactorySettingPage_tabview_1_extra_btnm_items_checked;
  60. ui_init_style(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked);
  61. lv_style_set_text_color(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
  62. lv_style_set_text_font(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, &lv_font_montserratMedium_12);
  63. lv_style_set_text_opa(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, 255);
  64. lv_style_set_border_width(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, 4);
  65. lv_style_set_border_opa(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, 255);
  66. lv_style_set_border_color(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
  67. lv_style_set_border_side(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, LV_BORDER_SIDE_BOTTOM);
  68. lv_style_set_radius(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, 0);
  69. lv_style_set_bg_opa(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, 60);
  70. lv_style_set_bg_color(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
  71. lv_style_set_bg_grad_dir(&style_FactorySettingPage_tabview_1_extra_btnm_items_checked, LV_GRAD_DIR_NONE);
  72. 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);
  73. //Write codes 风档电压
  74. ui->FactorySettingPage_tabview_1_tab_1 = lv_tabview_add_tab(ui->FactorySettingPage_tabview_1,"风档电压");
  75. lv_obj_t * FactorySettingPage_tabview_1_tab_1_label = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  76. lv_label_set_text(FactorySettingPage_tabview_1_tab_1_label, "风挡电压:\n");
  77. //Write codes FactorySettingPage_spinbox_exhaust1_vol
  78. ui->FactorySettingPage_spinbox_exhaust1_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
  79. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust1_vol, 88, 71);
  80. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust1_vol, 88, 71);
  81. lv_obj_set_width(ui->FactorySettingPage_spinbox_exhaust1_vol, 70);
  82. lv_obj_set_height(ui->FactorySettingPage_spinbox_exhaust1_vol, 30);
  83. lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_exhaust1_vol, 2, 2);
  84. lv_spinbox_set_range(ui->FactorySettingPage_spinbox_exhaust1_vol, -99, 99);
  85. int32_t FactorySettingPage_spinbox_exhaust1_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_exhaust1_vol);
  86. ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  87. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust1_vol, 88, 71);
  88. lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus, FactorySettingPage_spinbox_exhaust1_vol_h, FactorySettingPage_spinbox_exhaust1_vol_h);
  89. lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus, ui->FactorySettingPage_spinbox_exhaust1_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
  90. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus, LV_SYMBOL_PLUS, 0);
  91. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_plus, lv_FactorySettingPage_spinbox_exhaust1_vol_increment_event_cb, LV_EVENT_ALL, NULL);
  92. ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  93. lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus, FactorySettingPage_spinbox_exhaust1_vol_h, FactorySettingPage_spinbox_exhaust1_vol_h);
  94. lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus, ui->FactorySettingPage_spinbox_exhaust1_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
  95. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus, LV_SYMBOL_MINUS, 0);
  96. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust1_vol_btn_minus, lv_FactorySettingPage_spinbox_exhaust1_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
  97. //Write style for FactorySettingPage_spinbox_exhaust1_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  98. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  99. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust1_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  100. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust1_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  101. lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_exhaust1_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  102. lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_exhaust1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  103. lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_exhaust1_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  104. lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_exhaust1_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
  105. lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_exhaust1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  106. lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_exhaust1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  107. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_exhaust1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  108. lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_exhaust1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  109. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust1_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  110. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust1_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
  111. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  112. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_exhaust1_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  113. lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_exhaust1_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  114. lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_exhaust1_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  115. //Write style for FactorySettingPage_spinbox_exhaust1_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
  116. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust1_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
  117. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust1_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
  118. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust1_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  119. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust1_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  120. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust1_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
  121. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust1_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
  122. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default
  123. static lv_style_t style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default;
  124. ui_init_style(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default);
  125. lv_style_set_text_color(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, lv_color_hex(0xffffff));
  126. lv_style_set_text_font(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
  127. lv_style_set_text_opa(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, 255);
  128. lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, 255);
  129. lv_style_set_bg_color(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
  130. lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
  131. lv_style_set_border_width(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, 0);
  132. lv_style_set_radius(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, 5);
  133. lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_exhaust1_vol_extra_btns_main_default, 0);
  134. 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);
  135. 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);
  136. //Write codes FactorySettingPage_spinbox_exhaust3_vol
  137. ui->FactorySettingPage_spinbox_exhaust3_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
  138. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust3_vol, 88, 176);
  139. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust3_vol, 88, 176);
  140. lv_obj_set_width(ui->FactorySettingPage_spinbox_exhaust3_vol, 70);
  141. lv_obj_set_height(ui->FactorySettingPage_spinbox_exhaust3_vol, 30);
  142. lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_exhaust3_vol, 2, 2);
  143. lv_spinbox_set_range(ui->FactorySettingPage_spinbox_exhaust3_vol, -99, 99);
  144. int32_t FactorySettingPage_spinbox_exhaust3_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_exhaust3_vol);
  145. ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  146. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust3_vol, 88, 176);
  147. lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus, FactorySettingPage_spinbox_exhaust3_vol_h, FactorySettingPage_spinbox_exhaust3_vol_h);
  148. lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus, ui->FactorySettingPage_spinbox_exhaust3_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
  149. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus, LV_SYMBOL_PLUS, 0);
  150. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_plus, lv_FactorySettingPage_spinbox_exhaust3_vol_increment_event_cb, LV_EVENT_ALL, NULL);
  151. ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  152. lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus, FactorySettingPage_spinbox_exhaust3_vol_h, FactorySettingPage_spinbox_exhaust3_vol_h);
  153. lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus, ui->FactorySettingPage_spinbox_exhaust3_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
  154. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus, LV_SYMBOL_MINUS, 0);
  155. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust3_vol_btn_minus, lv_FactorySettingPage_spinbox_exhaust3_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
  156. //Write style for FactorySettingPage_spinbox_exhaust3_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  157. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  158. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust3_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  159. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust3_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  160. lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_exhaust3_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  161. lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_exhaust3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  162. lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_exhaust3_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  163. lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_exhaust3_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
  164. lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_exhaust3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  165. lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_exhaust3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  166. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_exhaust3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  167. lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_exhaust3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  168. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust3_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  169. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust3_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
  170. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  171. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_exhaust3_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  172. lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_exhaust3_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  173. lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_exhaust3_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  174. //Write style for FactorySettingPage_spinbox_exhaust3_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
  175. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust3_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
  176. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust3_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
  177. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust3_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  178. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust3_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  179. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust3_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
  180. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust3_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
  181. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default
  182. static lv_style_t style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default;
  183. ui_init_style(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default);
  184. lv_style_set_text_color(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, lv_color_hex(0xffffff));
  185. lv_style_set_text_font(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
  186. lv_style_set_text_opa(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, 255);
  187. lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, 255);
  188. lv_style_set_bg_color(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
  189. lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
  190. lv_style_set_border_width(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, 0);
  191. lv_style_set_radius(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, 5);
  192. lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_exhaust3_vol_extra_btns_main_default, 0);
  193. 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);
  194. 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);
  195. //Write codes FactorySettingPage_spinbox_exhaust5_vol
  196. ui->FactorySettingPage_spinbox_exhaust5_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
  197. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust5_vol, 88, 279);
  198. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust5_vol, 88, 279);
  199. lv_obj_set_width(ui->FactorySettingPage_spinbox_exhaust5_vol, 70);
  200. lv_obj_set_height(ui->FactorySettingPage_spinbox_exhaust5_vol, 30);
  201. lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_exhaust5_vol, 2, 2);
  202. lv_spinbox_set_range(ui->FactorySettingPage_spinbox_exhaust5_vol, -99, 99);
  203. int32_t FactorySettingPage_spinbox_exhaust5_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_exhaust5_vol);
  204. ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  205. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust5_vol, 88, 279);
  206. lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus, FactorySettingPage_spinbox_exhaust5_vol_h, FactorySettingPage_spinbox_exhaust5_vol_h);
  207. lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus, ui->FactorySettingPage_spinbox_exhaust5_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
  208. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus, LV_SYMBOL_PLUS, 0);
  209. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_plus, lv_FactorySettingPage_spinbox_exhaust5_vol_increment_event_cb, LV_EVENT_ALL, NULL);
  210. ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  211. lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus, FactorySettingPage_spinbox_exhaust5_vol_h, FactorySettingPage_spinbox_exhaust5_vol_h);
  212. lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus, ui->FactorySettingPage_spinbox_exhaust5_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
  213. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus, LV_SYMBOL_MINUS, 0);
  214. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust5_vol_btn_minus, lv_FactorySettingPage_spinbox_exhaust5_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
  215. //Write style for FactorySettingPage_spinbox_exhaust5_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  216. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  217. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust5_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  218. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust5_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  219. lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_exhaust5_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  220. lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_exhaust5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  221. lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_exhaust5_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  222. lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_exhaust5_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
  223. lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_exhaust5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  224. lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_exhaust5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  225. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_exhaust5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  226. lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_exhaust5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  227. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust5_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  228. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust5_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
  229. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  230. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_exhaust5_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  231. lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_exhaust5_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  232. lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_exhaust5_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  233. //Write style for FactorySettingPage_spinbox_exhaust5_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
  234. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust5_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
  235. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust5_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
  236. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust5_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  237. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust5_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  238. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust5_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
  239. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust5_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
  240. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default
  241. static lv_style_t style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default;
  242. ui_init_style(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default);
  243. lv_style_set_text_color(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, lv_color_hex(0xffffff));
  244. lv_style_set_text_font(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
  245. lv_style_set_text_opa(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, 255);
  246. lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, 255);
  247. lv_style_set_bg_color(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
  248. lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
  249. lv_style_set_border_width(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, 0);
  250. lv_style_set_radius(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, 5);
  251. lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_exhaust5_vol_extra_btns_main_default, 0);
  252. 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);
  253. 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);
  254. //Write codes FactorySettingPage_spinbox_exhaust4_vol
  255. ui->FactorySettingPage_spinbox_exhaust4_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
  256. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust4_vol, 88, 228);
  257. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust4_vol, 88, 228);
  258. lv_obj_set_width(ui->FactorySettingPage_spinbox_exhaust4_vol, 70);
  259. lv_obj_set_height(ui->FactorySettingPage_spinbox_exhaust4_vol, 30);
  260. lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_exhaust4_vol, 2, 2);
  261. lv_spinbox_set_range(ui->FactorySettingPage_spinbox_exhaust4_vol, -99, 99);
  262. int32_t FactorySettingPage_spinbox_exhaust4_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_exhaust4_vol);
  263. ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  264. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust4_vol, 88, 228);
  265. lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus, FactorySettingPage_spinbox_exhaust4_vol_h, FactorySettingPage_spinbox_exhaust4_vol_h);
  266. lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus, ui->FactorySettingPage_spinbox_exhaust4_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
  267. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus, LV_SYMBOL_PLUS, 0);
  268. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_plus, lv_FactorySettingPage_spinbox_exhaust4_vol_increment_event_cb, LV_EVENT_ALL, NULL);
  269. ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  270. lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus, FactorySettingPage_spinbox_exhaust4_vol_h, FactorySettingPage_spinbox_exhaust4_vol_h);
  271. lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus, ui->FactorySettingPage_spinbox_exhaust4_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
  272. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus, LV_SYMBOL_MINUS, 0);
  273. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust4_vol_btn_minus, lv_FactorySettingPage_spinbox_exhaust4_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
  274. //Write style for FactorySettingPage_spinbox_exhaust4_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  275. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  276. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust4_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  277. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust4_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  278. lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_exhaust4_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  279. lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_exhaust4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  280. lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_exhaust4_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  281. lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_exhaust4_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
  282. lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_exhaust4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  283. lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_exhaust4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  284. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_exhaust4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  285. lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_exhaust4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  286. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust4_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  287. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust4_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
  288. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  289. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_exhaust4_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  290. lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_exhaust4_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  291. lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_exhaust4_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  292. //Write style for FactorySettingPage_spinbox_exhaust4_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
  293. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust4_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
  294. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust4_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
  295. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust4_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  296. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust4_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  297. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust4_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
  298. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust4_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
  299. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default
  300. static lv_style_t style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default;
  301. ui_init_style(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default);
  302. lv_style_set_text_color(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, lv_color_hex(0xffffff));
  303. lv_style_set_text_font(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
  304. lv_style_set_text_opa(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, 255);
  305. lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, 255);
  306. lv_style_set_bg_color(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
  307. lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
  308. lv_style_set_border_width(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, 0);
  309. lv_style_set_radius(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, 5);
  310. lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_exhaust4_vol_extra_btns_main_default, 0);
  311. 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);
  312. 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);
  313. //Write codes FactorySettingPage_spinbox_exhaust2_vol
  314. ui->FactorySettingPage_spinbox_exhaust2_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
  315. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust2_vol, 88, 124);
  316. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust2_vol, 88, 124);
  317. lv_obj_set_width(ui->FactorySettingPage_spinbox_exhaust2_vol, 70);
  318. lv_obj_set_height(ui->FactorySettingPage_spinbox_exhaust2_vol, 30);
  319. lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_exhaust2_vol, 2, 2);
  320. lv_spinbox_set_range(ui->FactorySettingPage_spinbox_exhaust2_vol, -99, 99);
  321. int32_t FactorySettingPage_spinbox_exhaust2_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_exhaust2_vol);
  322. ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  323. lv_obj_set_pos(ui->FactorySettingPage_spinbox_exhaust2_vol, 88, 124);
  324. lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus, FactorySettingPage_spinbox_exhaust2_vol_h, FactorySettingPage_spinbox_exhaust2_vol_h);
  325. lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus, ui->FactorySettingPage_spinbox_exhaust2_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
  326. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus, LV_SYMBOL_PLUS, 0);
  327. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_plus, lv_FactorySettingPage_spinbox_exhaust2_vol_increment_event_cb, LV_EVENT_ALL, NULL);
  328. ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  329. lv_obj_set_size(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus, FactorySettingPage_spinbox_exhaust2_vol_h, FactorySettingPage_spinbox_exhaust2_vol_h);
  330. lv_obj_align_to(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus, ui->FactorySettingPage_spinbox_exhaust2_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
  331. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus, LV_SYMBOL_MINUS, 0);
  332. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_exhaust2_vol_btn_minus, lv_FactorySettingPage_spinbox_exhaust2_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
  333. //Write style for FactorySettingPage_spinbox_exhaust2_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  334. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  335. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust2_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  336. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust2_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  337. lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_exhaust2_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  338. lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_exhaust2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  339. lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_exhaust2_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  340. lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_exhaust2_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
  341. lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_exhaust2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  342. lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_exhaust2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  343. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_exhaust2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  344. lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_exhaust2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  345. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust2_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  346. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust2_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
  347. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  348. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_exhaust2_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  349. lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_exhaust2_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  350. lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_exhaust2_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  351. //Write style for FactorySettingPage_spinbox_exhaust2_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
  352. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_exhaust2_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
  353. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_exhaust2_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
  354. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_exhaust2_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  355. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_exhaust2_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  356. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_exhaust2_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
  357. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_exhaust2_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
  358. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default
  359. static lv_style_t style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default;
  360. ui_init_style(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default);
  361. lv_style_set_text_color(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, lv_color_hex(0xffffff));
  362. lv_style_set_text_font(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
  363. lv_style_set_text_opa(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, 255);
  364. lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, 255);
  365. lv_style_set_bg_color(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
  366. lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
  367. lv_style_set_border_width(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, 0);
  368. lv_style_set_radius(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, 5);
  369. lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_exhaust2_vol_extra_btns_main_default, 0);
  370. 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);
  371. 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);
  372. //Write codes FactorySettingPage_label_4
  373. ui->FactorySettingPage_label_4 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  374. lv_obj_set_pos(ui->FactorySettingPage_label_4, -2, 232);
  375. lv_obj_set_size(ui->FactorySettingPage_label_4, 50, 22);
  376. lv_label_set_text(ui->FactorySettingPage_label_4, "四档");
  377. lv_label_set_long_mode(ui->FactorySettingPage_label_4, LV_LABEL_LONG_WRAP);
  378. //Write style for FactorySettingPage_label_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  379. lv_obj_set_style_border_width(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  380. lv_obj_set_style_radius(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  381. lv_obj_set_style_text_color(ui->FactorySettingPage_label_4, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  382. lv_obj_set_style_text_font(ui->FactorySettingPage_label_4, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  383. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  384. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  385. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  386. lv_obj_set_style_text_align(ui->FactorySettingPage_label_4, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  387. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  388. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  389. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  390. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  391. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  392. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  393. //Write codes FactorySettingPage_label_2
  394. ui->FactorySettingPage_label_2 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  395. lv_obj_set_pos(ui->FactorySettingPage_label_2, -2, 128);
  396. lv_obj_set_size(ui->FactorySettingPage_label_2, 50, 22);
  397. lv_label_set_text(ui->FactorySettingPage_label_2, "二档");
  398. lv_label_set_long_mode(ui->FactorySettingPage_label_2, LV_LABEL_LONG_WRAP);
  399. //Write style for FactorySettingPage_label_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  400. lv_obj_set_style_border_width(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  401. lv_obj_set_style_radius(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  402. lv_obj_set_style_text_color(ui->FactorySettingPage_label_2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  403. lv_obj_set_style_text_font(ui->FactorySettingPage_label_2, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  404. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  405. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  406. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  407. lv_obj_set_style_text_align(ui->FactorySettingPage_label_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  408. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  409. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  410. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  411. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  412. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  413. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  414. //Write codes FactorySettingPage_label_3
  415. ui->FactorySettingPage_label_3 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  416. lv_obj_set_pos(ui->FactorySettingPage_label_3, -2, 180);
  417. lv_obj_set_size(ui->FactorySettingPage_label_3, 50, 22);
  418. lv_label_set_text(ui->FactorySettingPage_label_3, "三档");
  419. lv_label_set_long_mode(ui->FactorySettingPage_label_3, LV_LABEL_LONG_WRAP);
  420. //Write style for FactorySettingPage_label_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  421. lv_obj_set_style_border_width(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  422. lv_obj_set_style_radius(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  423. lv_obj_set_style_text_color(ui->FactorySettingPage_label_3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  424. lv_obj_set_style_text_font(ui->FactorySettingPage_label_3, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  425. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  426. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  427. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  428. lv_obj_set_style_text_align(ui->FactorySettingPage_label_3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  429. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  430. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  431. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  432. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  433. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  434. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  435. //Write codes FactorySettingPage_label_1
  436. ui->FactorySettingPage_label_1 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  437. lv_obj_set_pos(ui->FactorySettingPage_label_1, -2, 75);
  438. lv_obj_set_size(ui->FactorySettingPage_label_1, 50, 22);
  439. lv_label_set_text(ui->FactorySettingPage_label_1, "一档");
  440. lv_label_set_long_mode(ui->FactorySettingPage_label_1, LV_LABEL_LONG_WRAP);
  441. //Write style for FactorySettingPage_label_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  442. lv_obj_set_style_border_width(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  443. lv_obj_set_style_radius(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  444. lv_obj_set_style_text_color(ui->FactorySettingPage_label_1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  445. lv_obj_set_style_text_font(ui->FactorySettingPage_label_1, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  446. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  447. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  448. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  449. lv_obj_set_style_text_align(ui->FactorySettingPage_label_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  450. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  451. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  452. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  453. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  454. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  455. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  456. //Write codes FactorySettingPage_label_5
  457. ui->FactorySettingPage_label_5 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  458. lv_obj_set_pos(ui->FactorySettingPage_label_5, -2, 283);
  459. lv_obj_set_size(ui->FactorySettingPage_label_5, 50, 22);
  460. lv_label_set_text(ui->FactorySettingPage_label_5, "五档");
  461. lv_label_set_long_mode(ui->FactorySettingPage_label_5, LV_LABEL_LONG_WRAP);
  462. //Write style for FactorySettingPage_label_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  463. lv_obj_set_style_border_width(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  464. lv_obj_set_style_radius(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  465. lv_obj_set_style_text_color(ui->FactorySettingPage_label_5, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  466. lv_obj_set_style_text_font(ui->FactorySettingPage_label_5, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  467. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  468. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  469. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  470. lv_obj_set_style_text_align(ui->FactorySettingPage_label_5, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  471. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  472. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  473. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  474. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  475. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  476. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  477. //Write codes FactorySettingPage_btn_fan_vol_save
  478. ui->FactorySettingPage_btn_fan_vol_save = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  479. lv_obj_set_pos(ui->FactorySettingPage_btn_fan_vol_save, 247, 346);
  480. lv_obj_set_size(ui->FactorySettingPage_btn_fan_vol_save, 177, 33);
  481. ui->FactorySettingPage_btn_fan_vol_save_label = lv_label_create(ui->FactorySettingPage_btn_fan_vol_save);
  482. lv_label_set_text(ui->FactorySettingPage_btn_fan_vol_save_label, "保存");
  483. lv_label_set_long_mode(ui->FactorySettingPage_btn_fan_vol_save_label, LV_LABEL_LONG_WRAP);
  484. lv_obj_align(ui->FactorySettingPage_btn_fan_vol_save_label, LV_ALIGN_CENTER, 0, 0);
  485. lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_fan_vol_save, 0, LV_STATE_DEFAULT);
  486. lv_obj_set_width(ui->FactorySettingPage_btn_fan_vol_save_label, LV_PCT(100));
  487. //Write style for FactorySettingPage_btn_fan_vol_save, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  488. lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_fan_vol_save, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  489. lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_fan_vol_save, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  490. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_fan_vol_save, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  491. lv_obj_set_style_border_width(ui->FactorySettingPage_btn_fan_vol_save, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  492. lv_obj_set_style_radius(ui->FactorySettingPage_btn_fan_vol_save, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  493. lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_fan_vol_save, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  494. lv_obj_set_style_text_color(ui->FactorySettingPage_btn_fan_vol_save, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  495. lv_obj_set_style_text_font(ui->FactorySettingPage_btn_fan_vol_save, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  496. lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_fan_vol_save, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  497. lv_obj_set_style_text_align(ui->FactorySettingPage_btn_fan_vol_save, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  498. //Write codes FactorySettingPage_spinbox_supply1_vol
  499. ui->FactorySettingPage_spinbox_supply1_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
  500. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply1_vol, 331, 71);
  501. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply1_vol, 331, 71);
  502. lv_obj_set_width(ui->FactorySettingPage_spinbox_supply1_vol, 70);
  503. lv_obj_set_height(ui->FactorySettingPage_spinbox_supply1_vol, 30);
  504. lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_supply1_vol, 2, 2);
  505. lv_spinbox_set_range(ui->FactorySettingPage_spinbox_supply1_vol, -99, 99);
  506. int32_t FactorySettingPage_spinbox_supply1_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_supply1_vol);
  507. ui->FactorySettingPage_spinbox_supply1_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  508. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply1_vol, 331, 71);
  509. lv_obj_set_size(ui->FactorySettingPage_spinbox_supply1_vol_btn_plus, FactorySettingPage_spinbox_supply1_vol_h, FactorySettingPage_spinbox_supply1_vol_h);
  510. lv_obj_align_to(ui->FactorySettingPage_spinbox_supply1_vol_btn_plus, ui->FactorySettingPage_spinbox_supply1_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
  511. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply1_vol_btn_plus, LV_SYMBOL_PLUS, 0);
  512. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply1_vol_btn_plus, lv_FactorySettingPage_spinbox_supply1_vol_increment_event_cb, LV_EVENT_ALL, NULL);
  513. ui->FactorySettingPage_spinbox_supply1_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  514. lv_obj_set_size(ui->FactorySettingPage_spinbox_supply1_vol_btn_minus, FactorySettingPage_spinbox_supply1_vol_h, FactorySettingPage_spinbox_supply1_vol_h);
  515. lv_obj_align_to(ui->FactorySettingPage_spinbox_supply1_vol_btn_minus, ui->FactorySettingPage_spinbox_supply1_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
  516. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply1_vol_btn_minus, LV_SYMBOL_MINUS, 0);
  517. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply1_vol_btn_minus, lv_FactorySettingPage_spinbox_supply1_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
  518. //Write style for FactorySettingPage_spinbox_supply1_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  519. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  520. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply1_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  521. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply1_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  522. lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_supply1_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  523. lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_supply1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  524. lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_supply1_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  525. lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_supply1_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
  526. lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_supply1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  527. lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_supply1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  528. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_supply1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  529. lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_supply1_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  530. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply1_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  531. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply1_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
  532. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply1_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  533. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_supply1_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  534. lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_supply1_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  535. lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_supply1_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  536. //Write style for FactorySettingPage_spinbox_supply1_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
  537. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply1_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
  538. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply1_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
  539. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply1_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  540. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply1_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  541. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply1_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
  542. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply1_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
  543. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default
  544. static lv_style_t style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default;
  545. ui_init_style(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default);
  546. lv_style_set_text_color(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, lv_color_hex(0xffffff));
  547. lv_style_set_text_font(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
  548. lv_style_set_text_opa(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, 255);
  549. lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, 255);
  550. lv_style_set_bg_color(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
  551. lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
  552. lv_style_set_border_width(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, 0);
  553. lv_style_set_radius(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, 5);
  554. lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_supply1_vol_extra_btns_main_default, 0);
  555. 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);
  556. 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);
  557. //Write codes FactorySettingPage_spinbox_supply2_vol
  558. ui->FactorySettingPage_spinbox_supply2_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
  559. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply2_vol, 331, 124);
  560. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply2_vol, 331, 124);
  561. lv_obj_set_width(ui->FactorySettingPage_spinbox_supply2_vol, 70);
  562. lv_obj_set_height(ui->FactorySettingPage_spinbox_supply2_vol, 30);
  563. lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_supply2_vol, 2, 2);
  564. lv_spinbox_set_range(ui->FactorySettingPage_spinbox_supply2_vol, -99, 99);
  565. int32_t FactorySettingPage_spinbox_supply2_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_supply2_vol);
  566. ui->FactorySettingPage_spinbox_supply2_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  567. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply2_vol, 331, 124);
  568. lv_obj_set_size(ui->FactorySettingPage_spinbox_supply2_vol_btn_plus, FactorySettingPage_spinbox_supply2_vol_h, FactorySettingPage_spinbox_supply2_vol_h);
  569. lv_obj_align_to(ui->FactorySettingPage_spinbox_supply2_vol_btn_plus, ui->FactorySettingPage_spinbox_supply2_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
  570. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply2_vol_btn_plus, LV_SYMBOL_PLUS, 0);
  571. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply2_vol_btn_plus, lv_FactorySettingPage_spinbox_supply2_vol_increment_event_cb, LV_EVENT_ALL, NULL);
  572. ui->FactorySettingPage_spinbox_supply2_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  573. lv_obj_set_size(ui->FactorySettingPage_spinbox_supply2_vol_btn_minus, FactorySettingPage_spinbox_supply2_vol_h, FactorySettingPage_spinbox_supply2_vol_h);
  574. lv_obj_align_to(ui->FactorySettingPage_spinbox_supply2_vol_btn_minus, ui->FactorySettingPage_spinbox_supply2_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
  575. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply2_vol_btn_minus, LV_SYMBOL_MINUS, 0);
  576. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply2_vol_btn_minus, lv_FactorySettingPage_spinbox_supply2_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
  577. //Write style for FactorySettingPage_spinbox_supply2_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  578. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  579. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply2_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  580. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply2_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  581. lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_supply2_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  582. lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_supply2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  583. lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_supply2_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  584. lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_supply2_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
  585. lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_supply2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  586. lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_supply2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  587. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_supply2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  588. lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_supply2_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  589. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply2_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  590. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply2_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
  591. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply2_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  592. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_supply2_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  593. lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_supply2_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  594. lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_supply2_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  595. //Write style for FactorySettingPage_spinbox_supply2_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
  596. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply2_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
  597. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply2_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
  598. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply2_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  599. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply2_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  600. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply2_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
  601. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply2_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
  602. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default
  603. static lv_style_t style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default;
  604. ui_init_style(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default);
  605. lv_style_set_text_color(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, lv_color_hex(0xffffff));
  606. lv_style_set_text_font(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
  607. lv_style_set_text_opa(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, 255);
  608. lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, 255);
  609. lv_style_set_bg_color(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
  610. lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
  611. lv_style_set_border_width(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, 0);
  612. lv_style_set_radius(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, 5);
  613. lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_supply2_vol_extra_btns_main_default, 0);
  614. 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);
  615. 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);
  616. //Write codes FactorySettingPage_spinbox_supply3_vol
  617. ui->FactorySettingPage_spinbox_supply3_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
  618. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply3_vol, 331, 176);
  619. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply3_vol, 331, 176);
  620. lv_obj_set_width(ui->FactorySettingPage_spinbox_supply3_vol, 70);
  621. lv_obj_set_height(ui->FactorySettingPage_spinbox_supply3_vol, 30);
  622. lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_supply3_vol, 2, 2);
  623. lv_spinbox_set_range(ui->FactorySettingPage_spinbox_supply3_vol, -99, 99);
  624. int32_t FactorySettingPage_spinbox_supply3_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_supply3_vol);
  625. ui->FactorySettingPage_spinbox_supply3_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  626. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply3_vol, 331, 176);
  627. lv_obj_set_size(ui->FactorySettingPage_spinbox_supply3_vol_btn_plus, FactorySettingPage_spinbox_supply3_vol_h, FactorySettingPage_spinbox_supply3_vol_h);
  628. lv_obj_align_to(ui->FactorySettingPage_spinbox_supply3_vol_btn_plus, ui->FactorySettingPage_spinbox_supply3_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
  629. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply3_vol_btn_plus, LV_SYMBOL_PLUS, 0);
  630. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply3_vol_btn_plus, lv_FactorySettingPage_spinbox_supply3_vol_increment_event_cb, LV_EVENT_ALL, NULL);
  631. ui->FactorySettingPage_spinbox_supply3_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  632. lv_obj_set_size(ui->FactorySettingPage_spinbox_supply3_vol_btn_minus, FactorySettingPage_spinbox_supply3_vol_h, FactorySettingPage_spinbox_supply3_vol_h);
  633. lv_obj_align_to(ui->FactorySettingPage_spinbox_supply3_vol_btn_minus, ui->FactorySettingPage_spinbox_supply3_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
  634. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply3_vol_btn_minus, LV_SYMBOL_MINUS, 0);
  635. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply3_vol_btn_minus, lv_FactorySettingPage_spinbox_supply3_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
  636. //Write style for FactorySettingPage_spinbox_supply3_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  637. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  638. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply3_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  639. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply3_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  640. lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_supply3_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  641. lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_supply3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  642. lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_supply3_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  643. lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_supply3_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
  644. lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_supply3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  645. lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_supply3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  646. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_supply3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  647. lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_supply3_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  648. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply3_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  649. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply3_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
  650. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply3_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  651. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_supply3_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  652. lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_supply3_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  653. lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_supply3_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  654. //Write style for FactorySettingPage_spinbox_supply3_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
  655. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply3_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
  656. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply3_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
  657. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply3_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  658. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply3_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  659. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply3_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
  660. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply3_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
  661. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default
  662. static lv_style_t style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default;
  663. ui_init_style(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default);
  664. lv_style_set_text_color(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, lv_color_hex(0xffffff));
  665. lv_style_set_text_font(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
  666. lv_style_set_text_opa(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, 255);
  667. lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, 255);
  668. lv_style_set_bg_color(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
  669. lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
  670. lv_style_set_border_width(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, 0);
  671. lv_style_set_radius(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, 5);
  672. lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_supply3_vol_extra_btns_main_default, 0);
  673. 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);
  674. 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);
  675. //Write codes FactorySettingPage_spinbox_supply4_vol
  676. ui->FactorySettingPage_spinbox_supply4_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
  677. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply4_vol, 331, 228);
  678. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply4_vol, 331, 228);
  679. lv_obj_set_width(ui->FactorySettingPage_spinbox_supply4_vol, 70);
  680. lv_obj_set_height(ui->FactorySettingPage_spinbox_supply4_vol, 30);
  681. lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_supply4_vol, 2, 2);
  682. lv_spinbox_set_range(ui->FactorySettingPage_spinbox_supply4_vol, -99, 99);
  683. int32_t FactorySettingPage_spinbox_supply4_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_supply4_vol);
  684. ui->FactorySettingPage_spinbox_supply4_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  685. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply4_vol, 331, 228);
  686. lv_obj_set_size(ui->FactorySettingPage_spinbox_supply4_vol_btn_plus, FactorySettingPage_spinbox_supply4_vol_h, FactorySettingPage_spinbox_supply4_vol_h);
  687. lv_obj_align_to(ui->FactorySettingPage_spinbox_supply4_vol_btn_plus, ui->FactorySettingPage_spinbox_supply4_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
  688. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply4_vol_btn_plus, LV_SYMBOL_PLUS, 0);
  689. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply4_vol_btn_plus, lv_FactorySettingPage_spinbox_supply4_vol_increment_event_cb, LV_EVENT_ALL, NULL);
  690. ui->FactorySettingPage_spinbox_supply4_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  691. lv_obj_set_size(ui->FactorySettingPage_spinbox_supply4_vol_btn_minus, FactorySettingPage_spinbox_supply4_vol_h, FactorySettingPage_spinbox_supply4_vol_h);
  692. lv_obj_align_to(ui->FactorySettingPage_spinbox_supply4_vol_btn_minus, ui->FactorySettingPage_spinbox_supply4_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
  693. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply4_vol_btn_minus, LV_SYMBOL_MINUS, 0);
  694. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply4_vol_btn_minus, lv_FactorySettingPage_spinbox_supply4_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
  695. //Write style for FactorySettingPage_spinbox_supply4_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  696. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  697. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply4_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  698. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply4_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  699. lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_supply4_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  700. lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_supply4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  701. lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_supply4_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  702. lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_supply4_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
  703. lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_supply4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  704. lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_supply4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  705. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_supply4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  706. lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_supply4_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  707. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply4_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  708. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply4_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
  709. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply4_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  710. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_supply4_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  711. lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_supply4_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  712. lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_supply4_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  713. //Write style for FactorySettingPage_spinbox_supply4_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
  714. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply4_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
  715. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply4_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
  716. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply4_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  717. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply4_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  718. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply4_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
  719. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply4_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
  720. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default
  721. static lv_style_t style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default;
  722. ui_init_style(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default);
  723. lv_style_set_text_color(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, lv_color_hex(0xffffff));
  724. lv_style_set_text_font(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
  725. lv_style_set_text_opa(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, 255);
  726. lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, 255);
  727. lv_style_set_bg_color(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
  728. lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
  729. lv_style_set_border_width(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, 0);
  730. lv_style_set_radius(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, 5);
  731. lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_supply4_vol_extra_btns_main_default, 0);
  732. 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);
  733. 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);
  734. //Write codes FactorySettingPage_spinbox_supply5_vol
  735. ui->FactorySettingPage_spinbox_supply5_vol = lv_spinbox_create(ui->FactorySettingPage_tabview_1_tab_1);
  736. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply5_vol, 331, 279);
  737. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply5_vol, 331, 279);
  738. lv_obj_set_width(ui->FactorySettingPage_spinbox_supply5_vol, 70);
  739. lv_obj_set_height(ui->FactorySettingPage_spinbox_supply5_vol, 30);
  740. lv_spinbox_set_digit_format(ui->FactorySettingPage_spinbox_supply5_vol, 2, 2);
  741. lv_spinbox_set_range(ui->FactorySettingPage_spinbox_supply5_vol, -99, 99);
  742. int32_t FactorySettingPage_spinbox_supply5_vol_h = lv_obj_get_height(ui->FactorySettingPage_spinbox_supply5_vol);
  743. ui->FactorySettingPage_spinbox_supply5_vol_btn_plus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  744. lv_obj_set_pos(ui->FactorySettingPage_spinbox_supply5_vol, 331, 279);
  745. lv_obj_set_size(ui->FactorySettingPage_spinbox_supply5_vol_btn_plus, FactorySettingPage_spinbox_supply5_vol_h, FactorySettingPage_spinbox_supply5_vol_h);
  746. lv_obj_align_to(ui->FactorySettingPage_spinbox_supply5_vol_btn_plus, ui->FactorySettingPage_spinbox_supply5_vol, LV_ALIGN_OUT_RIGHT_MID, 5, 0);
  747. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply5_vol_btn_plus, LV_SYMBOL_PLUS, 0);
  748. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply5_vol_btn_plus, lv_FactorySettingPage_spinbox_supply5_vol_increment_event_cb, LV_EVENT_ALL, NULL);
  749. ui->FactorySettingPage_spinbox_supply5_vol_btn_minus = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  750. lv_obj_set_size(ui->FactorySettingPage_spinbox_supply5_vol_btn_minus, FactorySettingPage_spinbox_supply5_vol_h, FactorySettingPage_spinbox_supply5_vol_h);
  751. lv_obj_align_to(ui->FactorySettingPage_spinbox_supply5_vol_btn_minus, ui->FactorySettingPage_spinbox_supply5_vol, LV_ALIGN_OUT_LEFT_MID, -5, 0);
  752. lv_obj_set_style_bg_image_src(ui->FactorySettingPage_spinbox_supply5_vol_btn_minus, LV_SYMBOL_MINUS, 0);
  753. lv_obj_add_event_cb(ui->FactorySettingPage_spinbox_supply5_vol_btn_minus, lv_FactorySettingPage_spinbox_supply5_vol_decrement_event_cb, LV_EVENT_ALL, NULL);
  754. //Write style for FactorySettingPage_spinbox_supply5_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  755. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  756. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply5_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  757. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply5_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  758. lv_obj_set_style_border_width(ui->FactorySettingPage_spinbox_supply5_vol, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
  759. lv_obj_set_style_border_opa(ui->FactorySettingPage_spinbox_supply5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  760. lv_obj_set_style_border_color(ui->FactorySettingPage_spinbox_supply5_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  761. lv_obj_set_style_border_side(ui->FactorySettingPage_spinbox_supply5_vol, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
  762. lv_obj_set_style_pad_top(ui->FactorySettingPage_spinbox_supply5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  763. lv_obj_set_style_pad_right(ui->FactorySettingPage_spinbox_supply5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  764. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_spinbox_supply5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  765. lv_obj_set_style_pad_left(ui->FactorySettingPage_spinbox_supply5_vol, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
  766. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply5_vol, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  767. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply5_vol, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
  768. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply5_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  769. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_spinbox_supply5_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  770. lv_obj_set_style_radius(ui->FactorySettingPage_spinbox_supply5_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  771. lv_obj_set_style_shadow_width(ui->FactorySettingPage_spinbox_supply5_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  772. //Write style for FactorySettingPage_spinbox_supply5_vol, Part: LV_PART_CURSOR, State: LV_STATE_DEFAULT.
  773. lv_obj_set_style_text_color(ui->FactorySettingPage_spinbox_supply5_vol, lv_color_hex(0xffffff), LV_PART_CURSOR|LV_STATE_DEFAULT);
  774. lv_obj_set_style_text_font(ui->FactorySettingPage_spinbox_supply5_vol, &lv_font_montserratMedium_12, LV_PART_CURSOR|LV_STATE_DEFAULT);
  775. lv_obj_set_style_text_opa(ui->FactorySettingPage_spinbox_supply5_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  776. lv_obj_set_style_bg_opa(ui->FactorySettingPage_spinbox_supply5_vol, 255, LV_PART_CURSOR|LV_STATE_DEFAULT);
  777. lv_obj_set_style_bg_color(ui->FactorySettingPage_spinbox_supply5_vol, lv_color_hex(0x2195f6), LV_PART_CURSOR|LV_STATE_DEFAULT);
  778. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_spinbox_supply5_vol, LV_GRAD_DIR_NONE, LV_PART_CURSOR|LV_STATE_DEFAULT);
  779. //Write style state: LV_STATE_DEFAULT for &style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default
  780. static lv_style_t style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default;
  781. ui_init_style(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default);
  782. lv_style_set_text_color(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, lv_color_hex(0xffffff));
  783. lv_style_set_text_font(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, &lv_font_montserratMedium_12);
  784. lv_style_set_text_opa(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, 255);
  785. lv_style_set_bg_opa(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, 255);
  786. lv_style_set_bg_color(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, lv_color_hex(0x2195f6));
  787. lv_style_set_bg_grad_dir(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, LV_GRAD_DIR_NONE);
  788. lv_style_set_border_width(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, 0);
  789. lv_style_set_radius(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, 5);
  790. lv_style_set_shadow_width(&style_FactorySettingPage_spinbox_supply5_vol_extra_btns_main_default, 0);
  791. 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);
  792. 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);
  793. //Write codes FactorySettingPage_label_10
  794. ui->FactorySettingPage_label_10 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  795. lv_obj_set_pos(ui->FactorySettingPage_label_10, 242, 280);
  796. lv_obj_set_size(ui->FactorySettingPage_label_10, 50, 22);
  797. lv_label_set_text(ui->FactorySettingPage_label_10, "五档");
  798. lv_label_set_long_mode(ui->FactorySettingPage_label_10, LV_LABEL_LONG_WRAP);
  799. //Write style for FactorySettingPage_label_10, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  800. lv_obj_set_style_border_width(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  801. lv_obj_set_style_radius(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  802. lv_obj_set_style_text_color(ui->FactorySettingPage_label_10, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  803. lv_obj_set_style_text_font(ui->FactorySettingPage_label_10, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  804. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  805. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  806. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  807. lv_obj_set_style_text_align(ui->FactorySettingPage_label_10, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  808. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  809. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  810. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  811. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  812. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  813. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  814. //Write codes FactorySettingPage_label_9
  815. ui->FactorySettingPage_label_9 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  816. lv_obj_set_pos(ui->FactorySettingPage_label_9, 242, 229);
  817. lv_obj_set_size(ui->FactorySettingPage_label_9, 50, 22);
  818. lv_label_set_text(ui->FactorySettingPage_label_9, "四档");
  819. lv_label_set_long_mode(ui->FactorySettingPage_label_9, LV_LABEL_LONG_WRAP);
  820. //Write style for FactorySettingPage_label_9, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  821. lv_obj_set_style_border_width(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  822. lv_obj_set_style_radius(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  823. lv_obj_set_style_text_color(ui->FactorySettingPage_label_9, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  824. lv_obj_set_style_text_font(ui->FactorySettingPage_label_9, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  825. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_9, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  826. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  827. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  828. lv_obj_set_style_text_align(ui->FactorySettingPage_label_9, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  829. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  830. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  831. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  832. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  833. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  834. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  835. //Write codes FactorySettingPage_label_8
  836. ui->FactorySettingPage_label_8 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  837. lv_obj_set_pos(ui->FactorySettingPage_label_8, 242, 178);
  838. lv_obj_set_size(ui->FactorySettingPage_label_8, 50, 22);
  839. lv_label_set_text(ui->FactorySettingPage_label_8, "三档");
  840. lv_label_set_long_mode(ui->FactorySettingPage_label_8, LV_LABEL_LONG_WRAP);
  841. //Write style for FactorySettingPage_label_8, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  842. lv_obj_set_style_border_width(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  843. lv_obj_set_style_radius(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  844. lv_obj_set_style_text_color(ui->FactorySettingPage_label_8, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  845. lv_obj_set_style_text_font(ui->FactorySettingPage_label_8, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  846. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_8, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  847. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  848. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  849. lv_obj_set_style_text_align(ui->FactorySettingPage_label_8, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  850. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  851. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  852. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  853. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  854. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  855. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  856. //Write codes FactorySettingPage_label_7
  857. ui->FactorySettingPage_label_7 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  858. lv_obj_set_pos(ui->FactorySettingPage_label_7, 242, 127);
  859. lv_obj_set_size(ui->FactorySettingPage_label_7, 50, 22);
  860. lv_label_set_text(ui->FactorySettingPage_label_7, "二档");
  861. lv_label_set_long_mode(ui->FactorySettingPage_label_7, LV_LABEL_LONG_WRAP);
  862. //Write style for FactorySettingPage_label_7, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  863. lv_obj_set_style_border_width(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  864. lv_obj_set_style_radius(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  865. lv_obj_set_style_text_color(ui->FactorySettingPage_label_7, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  866. lv_obj_set_style_text_font(ui->FactorySettingPage_label_7, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  867. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_7, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  868. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  869. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  870. lv_obj_set_style_text_align(ui->FactorySettingPage_label_7, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  871. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  872. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  873. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  874. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  875. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  876. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  877. //Write codes FactorySettingPage_label_6
  878. ui->FactorySettingPage_label_6 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  879. lv_obj_set_pos(ui->FactorySettingPage_label_6, 242, 76);
  880. lv_obj_set_size(ui->FactorySettingPage_label_6, 50, 22);
  881. lv_label_set_text(ui->FactorySettingPage_label_6, "一档");
  882. lv_label_set_long_mode(ui->FactorySettingPage_label_6, LV_LABEL_LONG_WRAP);
  883. //Write style for FactorySettingPage_label_6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  884. lv_obj_set_style_border_width(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  885. lv_obj_set_style_radius(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  886. lv_obj_set_style_text_color(ui->FactorySettingPage_label_6, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  887. lv_obj_set_style_text_font(ui->FactorySettingPage_label_6, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  888. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  889. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  890. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  891. lv_obj_set_style_text_align(ui->FactorySettingPage_label_6, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  892. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  893. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  894. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  895. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  896. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  897. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  898. //Write codes FactorySettingPage_label_11
  899. ui->FactorySettingPage_label_11 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  900. lv_obj_set_pos(ui->FactorySettingPage_label_11, 69, 28);
  901. lv_obj_set_size(ui->FactorySettingPage_label_11, 100, 32);
  902. lv_label_set_text(ui->FactorySettingPage_label_11, "排风风机");
  903. lv_label_set_long_mode(ui->FactorySettingPage_label_11, LV_LABEL_LONG_WRAP);
  904. //Write style for FactorySettingPage_label_11, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  905. lv_obj_set_style_border_width(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  906. lv_obj_set_style_radius(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  907. lv_obj_set_style_text_color(ui->FactorySettingPage_label_11, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  908. lv_obj_set_style_text_font(ui->FactorySettingPage_label_11, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  909. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  910. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  911. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  912. lv_obj_set_style_text_align(ui->FactorySettingPage_label_11, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  913. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  914. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  915. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  916. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  917. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  918. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  919. //Write codes FactorySettingPage_label_12
  920. ui->FactorySettingPage_label_12 = lv_label_create(ui->FactorySettingPage_tabview_1_tab_1);
  921. lv_obj_set_pos(ui->FactorySettingPage_label_12, 318, 32);
  922. lv_obj_set_size(ui->FactorySettingPage_label_12, 100, 32);
  923. lv_label_set_text(ui->FactorySettingPage_label_12, "送风风机");
  924. lv_label_set_long_mode(ui->FactorySettingPage_label_12, LV_LABEL_LONG_WRAP);
  925. //Write style for FactorySettingPage_label_12, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  926. lv_obj_set_style_border_width(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  927. lv_obj_set_style_radius(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  928. lv_obj_set_style_text_color(ui->FactorySettingPage_label_12, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
  929. lv_obj_set_style_text_font(ui->FactorySettingPage_label_12, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  930. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  931. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  932. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  933. lv_obj_set_style_text_align(ui->FactorySettingPage_label_12, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  934. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  935. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  936. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  937. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  938. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  939. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  940. //Write codes FactorySettingPage_btn_refresh_vol
  941. ui->FactorySettingPage_btn_refresh_vol = lv_button_create(ui->FactorySettingPage_tabview_1_tab_1);
  942. lv_obj_set_pos(ui->FactorySettingPage_btn_refresh_vol, 28, 346);
  943. lv_obj_set_size(ui->FactorySettingPage_btn_refresh_vol, 177, 33);
  944. ui->FactorySettingPage_btn_refresh_vol_label = lv_label_create(ui->FactorySettingPage_btn_refresh_vol);
  945. lv_label_set_text(ui->FactorySettingPage_btn_refresh_vol_label, "刷新");
  946. lv_label_set_long_mode(ui->FactorySettingPage_btn_refresh_vol_label, LV_LABEL_LONG_WRAP);
  947. lv_obj_align(ui->FactorySettingPage_btn_refresh_vol_label, LV_ALIGN_CENTER, 0, 0);
  948. lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_refresh_vol, 0, LV_STATE_DEFAULT);
  949. lv_obj_set_width(ui->FactorySettingPage_btn_refresh_vol_label, LV_PCT(100));
  950. //Write style for FactorySettingPage_btn_refresh_vol, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  951. lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_refresh_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  952. lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_refresh_vol, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  953. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_refresh_vol, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  954. lv_obj_set_style_border_width(ui->FactorySettingPage_btn_refresh_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  955. lv_obj_set_style_radius(ui->FactorySettingPage_btn_refresh_vol, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  956. lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_refresh_vol, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  957. lv_obj_set_style_text_color(ui->FactorySettingPage_btn_refresh_vol, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  958. lv_obj_set_style_text_font(ui->FactorySettingPage_btn_refresh_vol, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  959. lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_refresh_vol, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  960. lv_obj_set_style_text_align(ui->FactorySettingPage_btn_refresh_vol, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  961. //Write codes 故障查询
  962. ui->FactorySettingPage_tabview_1_tab_2 = lv_tabview_add_tab(ui->FactorySettingPage_tabview_1,"故障查询");
  963. lv_obj_t * FactorySettingPage_tabview_1_tab_2_label = lv_label_create(ui->FactorySettingPage_tabview_1_tab_2);
  964. lv_label_set_text(FactorySettingPage_tabview_1_tab_2_label, "当前故障显示:");
  965. //Write codes FactorySettingPage_label_detail_error
  966. ui->FactorySettingPage_label_detail_error = lv_label_create(ui->FactorySettingPage_tabview_1_tab_2);
  967. lv_obj_set_pos(ui->FactorySettingPage_label_detail_error, 139, 24);
  968. lv_obj_set_size(ui->FactorySettingPage_label_detail_error, 272, 310);
  969. lv_label_set_text(ui->FactorySettingPage_label_detail_error, "E1传感器故障高水位故障进水电磁阀故障送风风机故障排风风机故障排水泵故障通讯故障预留");
  970. lv_label_set_long_mode(ui->FactorySettingPage_label_detail_error, LV_LABEL_LONG_WRAP);
  971. //Write style for FactorySettingPage_label_detail_error, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  972. lv_obj_set_style_border_width(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  973. lv_obj_set_style_radius(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  974. lv_obj_set_style_text_color(ui->FactorySettingPage_label_detail_error, lv_color_hex(0xf00000), LV_PART_MAIN|LV_STATE_DEFAULT);
  975. lv_obj_set_style_text_font(ui->FactorySettingPage_label_detail_error, &lv_font_Alibaba_PuHuiTi_Medium_20, LV_PART_MAIN|LV_STATE_DEFAULT);
  976. lv_obj_set_style_text_opa(ui->FactorySettingPage_label_detail_error, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  977. lv_obj_set_style_text_letter_space(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  978. lv_obj_set_style_text_line_space(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  979. lv_obj_set_style_text_align(ui->FactorySettingPage_label_detail_error, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
  980. lv_obj_set_style_bg_opa(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  981. lv_obj_set_style_pad_top(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  982. lv_obj_set_style_pad_right(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  983. lv_obj_set_style_pad_bottom(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  984. lv_obj_set_style_pad_left(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  985. lv_obj_set_style_shadow_width(ui->FactorySettingPage_label_detail_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  986. //Write codes FactorySettingPage_btn_error
  987. ui->FactorySettingPage_btn_error = lv_button_create(ui->FactorySettingPage_tabview_1_tab_2);
  988. lv_obj_set_pos(ui->FactorySettingPage_btn_error, 181, 365);
  989. lv_obj_set_size(ui->FactorySettingPage_btn_error, 109, 32);
  990. ui->FactorySettingPage_btn_error_label = lv_label_create(ui->FactorySettingPage_btn_error);
  991. lv_label_set_text(ui->FactorySettingPage_btn_error_label, "刷新");
  992. lv_label_set_long_mode(ui->FactorySettingPage_btn_error_label, LV_LABEL_LONG_WRAP);
  993. lv_obj_align(ui->FactorySettingPage_btn_error_label, LV_ALIGN_CENTER, 0, 0);
  994. lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_error, 0, LV_STATE_DEFAULT);
  995. lv_obj_set_width(ui->FactorySettingPage_btn_error_label, LV_PCT(100));
  996. //Write style for FactorySettingPage_btn_error, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  997. lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_error, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  998. lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_error, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  999. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_error, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  1000. lv_obj_set_style_border_width(ui->FactorySettingPage_btn_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  1001. lv_obj_set_style_radius(ui->FactorySettingPage_btn_error, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  1002. lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_error, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  1003. lv_obj_set_style_text_color(ui->FactorySettingPage_btn_error, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  1004. lv_obj_set_style_text_font(ui->FactorySettingPage_btn_error, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  1005. lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_error, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  1006. lv_obj_set_style_text_align(ui->FactorySettingPage_btn_error, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  1007. //Write codes 其他
  1008. ui->FactorySettingPage_tabview_1_tab_3 = lv_tabview_add_tab(ui->FactorySettingPage_tabview_1,"其他");
  1009. lv_obj_t * FactorySettingPage_tabview_1_tab_3_label = lv_label_create(ui->FactorySettingPage_tabview_1_tab_3);
  1010. lv_label_set_text(FactorySettingPage_tabview_1_tab_3_label, "");
  1011. //Write codes FactorySettingPage_btn_4
  1012. ui->FactorySettingPage_btn_4 = lv_button_create(ui->FactorySettingPage_tabview_1_tab_3);
  1013. lv_obj_set_pos(ui->FactorySettingPage_btn_4, 150, 85);
  1014. lv_obj_set_size(ui->FactorySettingPage_btn_4, 157, 50);
  1015. ui->FactorySettingPage_btn_4_label = lv_label_create(ui->FactorySettingPage_btn_4);
  1016. lv_label_set_text(ui->FactorySettingPage_btn_4_label, "退出高级设置");
  1017. lv_label_set_long_mode(ui->FactorySettingPage_btn_4_label, LV_LABEL_LONG_WRAP);
  1018. lv_obj_align(ui->FactorySettingPage_btn_4_label, LV_ALIGN_CENTER, 0, 0);
  1019. lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_4, 0, LV_STATE_DEFAULT);
  1020. lv_obj_set_width(ui->FactorySettingPage_btn_4_label, LV_PCT(100));
  1021. //Write style for FactorySettingPage_btn_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  1022. lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  1023. lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_4, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
  1024. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_4, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  1025. lv_obj_set_style_border_width(ui->FactorySettingPage_btn_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  1026. lv_obj_set_style_radius(ui->FactorySettingPage_btn_4, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  1027. lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  1028. lv_obj_set_style_text_color(ui->FactorySettingPage_btn_4, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  1029. lv_obj_set_style_text_font(ui->FactorySettingPage_btn_4, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  1030. lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  1031. lv_obj_set_style_text_align(ui->FactorySettingPage_btn_4, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  1032. //Write codes FactorySettingPage_btn_5
  1033. ui->FactorySettingPage_btn_5 = lv_button_create(ui->FactorySettingPage_tabview_1_tab_3);
  1034. lv_obj_set_pos(ui->FactorySettingPage_btn_5, 150, 165);
  1035. lv_obj_set_size(ui->FactorySettingPage_btn_5, 157, 50);
  1036. ui->FactorySettingPage_btn_5_label = lv_label_create(ui->FactorySettingPage_btn_5);
  1037. lv_label_set_text(ui->FactorySettingPage_btn_5_label, "恢复出厂设置");
  1038. lv_label_set_long_mode(ui->FactorySettingPage_btn_5_label, LV_LABEL_LONG_WRAP);
  1039. lv_obj_align(ui->FactorySettingPage_btn_5_label, LV_ALIGN_CENTER, 0, 0);
  1040. lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_5, 0, LV_STATE_DEFAULT);
  1041. lv_obj_set_width(ui->FactorySettingPage_btn_5_label, LV_PCT(100));
  1042. //Write style for FactorySettingPage_btn_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  1043. lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  1044. lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_5, lv_color_hex(0xee0024), LV_PART_MAIN|LV_STATE_DEFAULT);
  1045. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_5, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  1046. lv_obj_set_style_border_width(ui->FactorySettingPage_btn_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  1047. lv_obj_set_style_radius(ui->FactorySettingPage_btn_5, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  1048. lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  1049. lv_obj_set_style_text_color(ui->FactorySettingPage_btn_5, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  1050. lv_obj_set_style_text_font(ui->FactorySettingPage_btn_5, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  1051. lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  1052. lv_obj_set_style_text_align(ui->FactorySettingPage_btn_5, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  1053. //Write codes FactorySettingPage_btn_filter_life_clear
  1054. ui->FactorySettingPage_btn_filter_life_clear = lv_button_create(ui->FactorySettingPage_tabview_1_tab_3);
  1055. lv_obj_set_pos(ui->FactorySettingPage_btn_filter_life_clear, 150, 5);
  1056. lv_obj_set_size(ui->FactorySettingPage_btn_filter_life_clear, 157, 50);
  1057. ui->FactorySettingPage_btn_filter_life_clear_label = lv_label_create(ui->FactorySettingPage_btn_filter_life_clear);
  1058. lv_label_set_text(ui->FactorySettingPage_btn_filter_life_clear_label, "重置滤网");
  1059. lv_label_set_long_mode(ui->FactorySettingPage_btn_filter_life_clear_label, LV_LABEL_LONG_WRAP);
  1060. lv_obj_align(ui->FactorySettingPage_btn_filter_life_clear_label, LV_ALIGN_CENTER, 0, 0);
  1061. lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_filter_life_clear, 0, LV_STATE_DEFAULT);
  1062. lv_obj_set_width(ui->FactorySettingPage_btn_filter_life_clear_label, LV_PCT(100));
  1063. //Write style for FactorySettingPage_btn_filter_life_clear, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  1064. lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_filter_life_clear, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  1065. lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_filter_life_clear, lv_color_hex(0x8f9cff), LV_PART_MAIN|LV_STATE_DEFAULT);
  1066. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_filter_life_clear, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  1067. lv_obj_set_style_border_width(ui->FactorySettingPage_btn_filter_life_clear, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  1068. lv_obj_set_style_radius(ui->FactorySettingPage_btn_filter_life_clear, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  1069. lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_filter_life_clear, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  1070. lv_obj_set_style_text_color(ui->FactorySettingPage_btn_filter_life_clear, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  1071. lv_obj_set_style_text_font(ui->FactorySettingPage_btn_filter_life_clear, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  1072. lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_filter_life_clear, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  1073. lv_obj_set_style_text_align(ui->FactorySettingPage_btn_filter_life_clear, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  1074. //Write codes FactorySettingPage_btn_6
  1075. ui->FactorySettingPage_btn_6 = lv_button_create(ui->FactorySettingPage_tabview_1_tab_3);
  1076. lv_obj_set_pos(ui->FactorySettingPage_btn_6, 150, 245);
  1077. lv_obj_set_size(ui->FactorySettingPage_btn_6, 157, 50);
  1078. ui->FactorySettingPage_btn_6_label = lv_label_create(ui->FactorySettingPage_btn_6);
  1079. lv_label_set_text(ui->FactorySettingPage_btn_6_label, "重启设备");
  1080. lv_label_set_long_mode(ui->FactorySettingPage_btn_6_label, LV_LABEL_LONG_WRAP);
  1081. lv_obj_align(ui->FactorySettingPage_btn_6_label, LV_ALIGN_CENTER, 0, 0);
  1082. lv_obj_set_style_pad_all(ui->FactorySettingPage_btn_6, 0, LV_STATE_DEFAULT);
  1083. lv_obj_set_width(ui->FactorySettingPage_btn_6_label, LV_PCT(100));
  1084. //Write style for FactorySettingPage_btn_6, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
  1085. lv_obj_set_style_bg_opa(ui->FactorySettingPage_btn_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  1086. lv_obj_set_style_bg_color(ui->FactorySettingPage_btn_6, lv_color_hex(0xa358f9), LV_PART_MAIN|LV_STATE_DEFAULT);
  1087. lv_obj_set_style_bg_grad_dir(ui->FactorySettingPage_btn_6, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
  1088. lv_obj_set_style_border_width(ui->FactorySettingPage_btn_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  1089. lv_obj_set_style_radius(ui->FactorySettingPage_btn_6, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
  1090. lv_obj_set_style_shadow_width(ui->FactorySettingPage_btn_6, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
  1091. lv_obj_set_style_text_color(ui->FactorySettingPage_btn_6, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
  1092. lv_obj_set_style_text_font(ui->FactorySettingPage_btn_6, &lv_font_Alibaba_PuHuiTi_Medium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
  1093. lv_obj_set_style_text_opa(ui->FactorySettingPage_btn_6, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
  1094. lv_obj_set_style_text_align(ui->FactorySettingPage_btn_6, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
  1095. //The custom code of FactorySettingPage.
  1096. //Update current screen layout.
  1097. lv_obj_update_layout(ui->FactorySettingPage);
  1098. //Init events for screen.
  1099. events_init_FactorySettingPage(ui);
  1100. }