更新:

1、Modbus主站:配置界面弹窗初始游标位置调整;
2、设置菜单:对取值范围较大的值增加了弹窗设定数值的功能;
This commit is contained in:
吴俊潮 2025-05-29 11:39:04 +08:00
parent 477661196a
commit 9bebdfe7ff
11 changed files with 18889 additions and 18038 deletions

View File

@ -7,6 +7,7 @@ extern TABVIEW_DATA tabdata;
extern int16_t save_cnt; extern int16_t save_cnt;
extern int16_t reset_cnt; extern int16_t reset_cnt;
extern int32_t color_table[7]; extern int32_t color_table[7];
extern uint8_t setting_window_num[5];
//页面数量 //页面数量
#define I0_PAGE_MAX 3 #define I0_PAGE_MAX 3
@ -140,6 +141,16 @@ void communication_switch(void);
//修改通讯子菜单的值 //修改通讯子菜单的值
void set_communication_modify(uint8_t con, int8_t step); void set_communication_modify(uint8_t con, int8_t step);
//唤出弹窗电压mV上限、电压mV下限、电阻上限、电阻下限、频率上限、频率下限、热电偶上限、热电偶下限、热电阻上限、热电阻下限
uint8_t setting_window_display(void);
void setting_val2window(int16_t val);
void setting_window2val(void);
void setting_window_num_check(uint8_t cur, uint8_t cur_prv);
void setting_window_set_num(uint8_t cur);
#endif #endif

View File

@ -64,6 +64,7 @@ typedef enum
SET_ITEM_CHOOSE, //设置菜单:选项卡选择 SET_ITEM_CHOOSE, //设置菜单:选项卡选择
SET_CONTENT_CHOOSE, //设置菜单:内容选择 SET_CONTENT_CHOOSE, //设置菜单:内容选择
SET_CONTENT_MODIFY, //设置菜单:内容修改 SET_CONTENT_MODIFY, //设置菜单:内容修改
SET_WINDOW_MODIFY, //设置菜单,弹窗,选择与修改内容
SET_SHOW_LOG, //设置菜单:查看记录 SET_SHOW_LOG, //设置菜单:查看记录
SET_COMMUNICATION_SWITCH, //通信模式切换 SET_COMMUNICATION_SWITCH, //通信模式切换
SET_COMMUNICATION_MODIFY, //通信模式修改 SET_COMMUNICATION_MODIFY, //通信模式修改

View File

@ -209,7 +209,7 @@ void config_window_update(void)
{ {
case MOD_CONF_SLAVE_ID: case MOD_CONF_SLAVE_ID:
{ {
//前两位显示“0x”游标从2开始2-3 //前两位显示“0x”游标从3开始2-3
window_config_num[0] = 20; window_config_num[0] = 20;
window_config_num[1] = 21; window_config_num[1] = 21;
window_config_num[2] = mod_master.target_id >> 4; window_config_num[2] = mod_master.target_id >> 4;
@ -218,7 +218,7 @@ void config_window_update(void)
{ {
config_window_num_set(i, window_config_num[i]); config_window_num_set(i, window_config_num[i]);
} }
window_config_cursor = 2; window_config_cursor = 3;
window_config_cursor_prv = 99; window_config_cursor_prv = 99;
config_window_num_check(window_config_cursor, window_config_cursor_prv); config_window_num_check(window_config_cursor, window_config_cursor_prv);
@ -228,7 +228,7 @@ void config_window_update(void)
case MOD_CONF_START_ADDRESS: case MOD_CONF_START_ADDRESS:
{ {
//游标从0开始0-3 //游标从3开始0-3
window_config_num[0] = 0x000F & (mod_master.start_address >> 12); window_config_num[0] = 0x000F & (mod_master.start_address >> 12);
window_config_num[1] = 0x000F & (mod_master.start_address >> 8); window_config_num[1] = 0x000F & (mod_master.start_address >> 8);
window_config_num[2] = 0x000F & (mod_master.start_address >> 4); window_config_num[2] = 0x000F & (mod_master.start_address >> 4);
@ -237,7 +237,7 @@ void config_window_update(void)
{ {
config_window_num_set(i, window_config_num[i]); config_window_num_set(i, window_config_num[i]);
} }
window_config_cursor = 0; window_config_cursor = 3;
window_config_cursor_prv = 99; window_config_cursor_prv = 99;
config_window_num_check(window_config_cursor, window_config_cursor_prv); config_window_num_check(window_config_cursor, window_config_cursor_prv);
@ -247,7 +247,7 @@ void config_window_update(void)
case MOD_CONF_COMMAND: case MOD_CONF_COMMAND:
{ {
//前两位显示“0x”游标从2开始2-3 //前两位显示“0x”游标从3开始2-3
window_config_num[0] = 20; window_config_num[0] = 20;
window_config_num[1] = 21; window_config_num[1] = 21;
window_config_num[2] = mod_master.command_code >> 4; window_config_num[2] = mod_master.command_code >> 4;
@ -256,7 +256,7 @@ void config_window_update(void)
{ {
config_window_num_set(i, window_config_num[i]); config_window_num_set(i, window_config_num[i]);
} }
window_config_cursor = 2; window_config_cursor = 3;
window_config_cursor_prv = 99; window_config_cursor_prv = 99;
config_window_num_check(window_config_cursor, window_config_cursor_prv); config_window_num_check(window_config_cursor, window_config_cursor_prv);
@ -275,7 +275,7 @@ void config_window_update(void)
{ {
config_window_num_set(i, window_config_num[i]); config_window_num_set(i, window_config_num[i]);
} }
window_config_cursor = 1; window_config_cursor = 3;
window_config_cursor_prv = 99; window_config_cursor_prv = 99;
config_window_num_check(window_config_cursor, window_config_cursor_prv); config_window_num_check(window_config_cursor, window_config_cursor_prv);

View File

@ -16,6 +16,9 @@ int32_t color_table[7] =
uint8_t com_switch_cursor = 0; uint8_t com_switch_cursor = 0;
uint8_t com_switch_cursor_prv = 99; uint8_t com_switch_cursor_prv = 99;
//串口中的数字第0-3表示数字第4为标志符号0正1负
uint8_t setting_window_num[5] = {0};
//设置菜单数据初始化 //设置菜单数据初始化
void tab_data_init(void) void tab_data_init(void)
{ {
@ -981,3 +984,475 @@ void set_communication_modify(uint8_t con, int8_t step)
break; break;
} }
} }
void setting_val2window(int16_t val)
{
//符号位
if( val < 0 )
{
lv_label_set_text(guider_ui.screen_setting_num_sign, "-");
val *= -1;
setting_window_num[4] = 1;
}
else
{
lv_label_set_text(guider_ui.screen_setting_num_sign, "+");
setting_window_num[4] = 0;
}
char str_temp[8] = {0};
setting_window_num[0] = (uint8_t)( val/1000 );
sprintf(str_temp, "%d", setting_window_num[0]);
lv_label_set_text(guider_ui.screen_setting_num_0, str_temp);
setting_window_num[1] = (uint8_t)( ( val/100 )%10 );
sprintf(str_temp, "%d", setting_window_num[1]);
lv_label_set_text(guider_ui.screen_setting_num_1, str_temp);
setting_window_num[2] = (uint8_t)( ( val/10 )%10 );
sprintf(str_temp, "%d", setting_window_num[2]);
lv_label_set_text(guider_ui.screen_setting_num_2, str_temp);
setting_window_num[3] = (uint8_t)( val%10 );
sprintf(str_temp, "%d", setting_window_num[3]);
lv_label_set_text(guider_ui.screen_setting_num_3, str_temp);
}
void setting_window2val(void)
{
int16_t val_win = 0;
val_win = setting_window_num[0]*1000 + setting_window_num[1]*100 + setting_window_num[2]*10 + setting_window_num[3];
if( setting_window_num[4] == 1 ) val_win *= -1;
switch (tabdata.current_content)
{
case VOL_UP_SET:
{
//既要保证不超出最大上限,又要保证不低于当前的下限
if(tabdata.item0_page0_vunit != VOLTAGE_MV) return;
if( val_win <= tabdata.item0_page0_vlow[1] )
{
tabdata.item0_page0_vup[1] = tabdata.item0_page0_vlow[1];
}
else if( val_win >= VOL[1].up )
{
tabdata.item0_page0_vup[1] = VOL[1].up;
}
else
{
tabdata.item0_page0_vup[1] = val_win;
}
}
break;
case VOL_LOW_SET:
{
//既要保证不低于最小下限,又要保证不超过当前的上限
if(tabdata.item0_page0_vunit != VOLTAGE_MV) return;
if( val_win <= VOL[1].low )
{
tabdata.item0_page0_vlow[1] = VOL[1].low;
}
else if( val_win >= tabdata.item0_page0_vup[1] )
{
tabdata.item0_page0_vlow[1] = tabdata.item0_page0_vup[1];
}
else
{
tabdata.item0_page0_vlow[1] = val_win;
}
}
break;
case RES_UP_SET:
{
//既要保证不超出最大上限,又要保证不低于当前的下限
if( val_win <= tabdata.item0_page1_rlow)
{
tabdata.item0_page0_rup = tabdata.item0_page1_rlow;
}
else if( val_win >= RES.up )
{
tabdata.item0_page0_rup = RES.up;
}
else
{
tabdata.item0_page0_rup = val_win;
}
}
break;
case RES_LOW_SET:
{
//既要保证不低于最小下限,又要保证不超过当前的上限
if( val_win <= RES.low )
{
tabdata.item0_page1_rlow = RES.low;
}
else if( val_win >= tabdata.item0_page0_rup )
{
tabdata.item0_page1_rlow = tabdata.item0_page0_rup;
}
else
{
tabdata.item0_page1_rlow = val_win;
}
}
break;
case FRE_UP_SET:
{
//既要保证不超出最大上限,又要保证不低于当前的下限
if( val_win <= tabdata.item0_page1_flow )
{
tabdata.item0_page1_fup = tabdata.item0_page1_flow;
}
else if( val_win >= FRE.up )
{
tabdata.item0_page1_fup = FRE.up;
}
else
{
tabdata.item0_page1_fup = (uint8_t)val_win;
}
}
break;
case FRE_LOW_SET:
{
//既要保证不低于最小下限,又要保证不超过当前的上限
if( val_win <= FRE.low )
{
tabdata.item0_page1_flow = FRE.low;
}
else if( val_win >= tabdata.item0_page1_fup )
{
tabdata.item0_page1_flow = tabdata.item0_page1_fup;
}
else
{
tabdata.item0_page1_flow = (uint8_t)val_win;
}
}
break;
case TC_UP_SET:
{
//既要保证不超出最大上限,又要保证不低于当前的下限
uint8_t type = (uint8_t)tabdata.item0_page1_TCtype - 5;
if( val_win <= tabdata.item0_page1_TClow[type] )
{
tabdata.item0_page1_TCup[type] = tabdata.item0_page1_TClow[type];
}
else if( val_win >= TC[type].up )
{
tabdata.item0_page1_TCup[type] = TC[type].up;
}
else
{
tabdata.item0_page1_TCup[type] = val_win;
}
}
break;
case TC_LOW_SET:
{
//既要保证不低于最小下限,又要保证不超过当前的上限
uint8_t type = (uint8_t)tabdata.item0_page1_TCtype - 5;
if( val_win <= TC[type].low )
{
tabdata.item0_page1_TClow[type] = TC[type].low;
}
else if( val_win >= tabdata.item0_page1_TCup[type] )
{
tabdata.item0_page1_TClow[type] = tabdata.item0_page1_TCup[type];
}
else
{
tabdata.item0_page1_TClow[type] = val_win;
}
}
break;
case RTD_UP_SET:
{
//既要保证不超出最大上限,又要保证不低于当前的下限
if( val_win <= tabdata.item0_page2_RTDlow )
{
tabdata.item0_page2_RTDup = tabdata.item0_page2_RTDlow;
}
else if( val_win >= RTD.up )
{
tabdata.item0_page2_RTDup = RTD.up;
}
else
{
tabdata.item0_page2_RTDup = val_win;
}
}
break;
case RTD_LOW_SET:
{
//既要保证不低于最小下限,又要保证不超过当前的上限
if( val_win <= RTD.low )
{
tabdata.item0_page2_RTDlow = RTD.low;
}
else if( val_win >= tabdata.item0_page2_RTDup )
{
tabdata.item0_page2_RTDlow = tabdata.item0_page2_RTDup;
}
else
{
tabdata.item0_page2_RTDlow = val_win;
}
}
break;
default:
break;
}
}
uint8_t setting_window_display(void)
{
uint8_t result = 0;
//根据内容游标获取当前数值
int16_t val_current = 0;
switch (tabdata.current_content)
{
case VOL_UP_SET:
{
if(tabdata.item0_page0_vunit != VOLTAGE_MV) return result;
val_current = tabdata.item0_page0_vup[1];
result = 1;
}
break;
case VOL_LOW_SET:
{
if(tabdata.item0_page0_vunit != VOLTAGE_MV) return result;
val_current = tabdata.item0_page0_vlow[1];
result = 1;
}
break;
case RES_UP_SET:
{
val_current = tabdata.item0_page0_rup;
result = 1;
}
break;
case RES_LOW_SET:
{
val_current = tabdata.item0_page1_rlow;
result = 1;
}
break;
case FRE_UP_SET:
{
val_current = (int16_t)tabdata.item0_page1_fup;
result = 1;
}
break;
case FRE_LOW_SET:
{
val_current = (int16_t)tabdata.item0_page1_flow;
result = 1;
}
break;
case TC_UP_SET:
{
val_current = tabdata.item0_page1_TCup[(uint8_t)tabdata.item0_page1_TCtype - 5];
result = 1;
}
break;
case TC_LOW_SET:
{
val_current = tabdata.item0_page1_TClow[(uint8_t)tabdata.item0_page1_TCtype - 5];
result = 1;
}
break;
case RTD_UP_SET:
{
val_current = tabdata.item0_page2_RTDup;
result = 1;
}
break;
case RTD_LOW_SET:
{
val_current = tabdata.item0_page2_RTDlow;
result = 1;
}
break;
default:
result = 0;
break;
}
if(result == 1)
{
//显示弹窗
setting_val2window(val_current);
lv_obj_clear_flag(guider_ui.screen_setting_window_set, LV_OBJ_FLAG_HIDDEN);
//点亮游标
}
return result;
}
void setting_window_num_check(uint8_t cur, uint8_t cur_prv)
{
switch (cur)
{
case 0:
{
lv_obj_set_style_bg_color(guider_ui.screen_setting_num_0, lv_color_hex(COLOR_ITEMS_CHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case 1:
{
lv_obj_set_style_bg_color(guider_ui.screen_setting_num_1, lv_color_hex(COLOR_ITEMS_CHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case 2:
{
lv_obj_set_style_bg_color(guider_ui.screen_setting_num_2, lv_color_hex(COLOR_ITEMS_CHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case 3:
{
lv_obj_set_style_bg_color(guider_ui.screen_setting_num_3, lv_color_hex(COLOR_ITEMS_CHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case 4:
{
lv_obj_set_style_bg_color(guider_ui.screen_setting_num_sign, lv_color_hex(COLOR_ITEMS_CHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
default:
break;
}
switch (cur_prv)
{
case 0:
{
lv_obj_set_style_bg_color(guider_ui.screen_setting_num_0, lv_color_hex(COLOR_ITEMS_UNCHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case 1:
{
lv_obj_set_style_bg_color(guider_ui.screen_setting_num_1, lv_color_hex(COLOR_ITEMS_UNCHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case 2:
{
lv_obj_set_style_bg_color(guider_ui.screen_setting_num_2, lv_color_hex(COLOR_ITEMS_UNCHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case 3:
{
lv_obj_set_style_bg_color(guider_ui.screen_setting_num_3, lv_color_hex(COLOR_ITEMS_UNCHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case 4:
{
lv_obj_set_style_bg_color(guider_ui.screen_setting_num_sign, lv_color_hex(COLOR_ITEMS_UNCHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
default:
break;
}
}
void setting_window_set_num(uint8_t cur)
{
char str_temp[8] = {0};
switch (cur)
{
case 0:
{
sprintf(str_temp, "%d", setting_window_num[0]);
lv_label_set_text(guider_ui.screen_setting_num_0, str_temp);
}
break;
case 1:
{
sprintf(str_temp, "%d", setting_window_num[1]);
lv_label_set_text(guider_ui.screen_setting_num_1, str_temp);
}
break;
case 2:
{
sprintf(str_temp, "%d", setting_window_num[2]);
lv_label_set_text(guider_ui.screen_setting_num_2, str_temp);
}
break;
case 3:
{
sprintf(str_temp, "%d", setting_window_num[3]);
lv_label_set_text(guider_ui.screen_setting_num_3, str_temp);
}
break;
case 4:
{
if( setting_window_num[4] == 1)
{
lv_label_set_text(guider_ui.screen_setting_num_sign, "-");
}
else
{
lv_label_set_text(guider_ui.screen_setting_num_sign, "+");
}
}
break;
default:
break;
}
}

View File

@ -196,6 +196,25 @@ void key_config_update(OPERATIONS ope)
} }
break; break;
case SET_WINDOW_MODIFY:
{
//使能:上、下、左、右、返回
key_config(KEY_UP, KEY_STATUS_ENABLE);
key_config(KEY_DOWN, KEY_STATUS_ENABLE);
key_config(KEY_LEFT, KEY_STATUS_ENABLE);
key_config(KEY_RIGHT, KEY_STATUS_ENABLE);
key_config(KEY_BACK, KEY_STATUS_ENABLE);
//不使能其他按键
key_config(KEY_OK, KEY_STATUS_DISABLE);
key_config(KEY_IN, KEY_STATUS_DISABLE);
key_config(KEY_OUT, KEY_STATUS_DISABLE);
key_config(KEY_SOURCE, KEY_STATUS_DISABLE);
key_config(KEY_MENU, KEY_STATUS_DISABLE);
key_config(KEY_SWITCH, KEY_STATUS_DISABLE);
}
break;
case SET_SHOW_LOG: case SET_SHOW_LOG:
{ {
//使能:左、右、返回 //使能:左、右、返回

View File

@ -306,7 +306,7 @@ void key_functions_modbus(void)
mod_master.byte_num -= 1; mod_master.byte_num -= 1;
if( mod_master.byte_num > 200) mod_master.byte_num = 16; if( mod_master.byte_num > 200) mod_master.byte_num = 16;
sprintf(str_temp, "%d", mod_master.byte_num); sprintf(str_temp, "< %d >", mod_master.byte_num);
lv_label_set_text(guider_ui.screen_modbus_config_value_bytes, str_temp); lv_label_set_text(guider_ui.screen_modbus_config_value_bytes, str_temp);
} }
break; break;
@ -316,7 +316,7 @@ void key_functions_modbus(void)
mod_master.timeout -= 100; mod_master.timeout -= 100;
if( mod_master.timeout > 60000) mod_master.timeout = 10000; if( mod_master.timeout > 60000) mod_master.timeout = 10000;
sprintf(str_temp, "%d", mod_master.timeout); sprintf(str_temp, "< %d >", mod_master.timeout);
lv_label_set_text(guider_ui.screen_modbus_config_value_timeout, str_temp); lv_label_set_text(guider_ui.screen_modbus_config_value_timeout, str_temp);
} }
break; break;
@ -413,7 +413,7 @@ void key_functions_modbus(void)
mod_master.byte_num += 1; mod_master.byte_num += 1;
if( mod_master.byte_num > 16) mod_master.byte_num = 0; if( mod_master.byte_num > 16) mod_master.byte_num = 0;
sprintf(str_temp, "%d", mod_master.byte_num); sprintf(str_temp, "< %d >", mod_master.byte_num);
lv_label_set_text(guider_ui.screen_modbus_config_value_bytes, str_temp); lv_label_set_text(guider_ui.screen_modbus_config_value_bytes, str_temp);
} }
break; break;
@ -423,7 +423,7 @@ void key_functions_modbus(void)
mod_master.timeout += 100; mod_master.timeout += 100;
if( mod_master.timeout > 10000) mod_master.timeout = 0; if( mod_master.timeout > 10000) mod_master.timeout = 0;
sprintf(str_temp, "%d", mod_master.timeout); sprintf(str_temp, "< %d >", mod_master.timeout);
lv_label_set_text(guider_ui.screen_modbus_config_value_timeout, str_temp); lv_label_set_text(guider_ui.screen_modbus_config_value_timeout, str_temp);
} }
break; break;
@ -499,6 +499,8 @@ void key_functions_modbus(void)
case MOD_CONF_BYTES: case MOD_CONF_BYTES:
{ {
lv_obj_set_style_bg_color(guider_ui.screen_modbus_config_value_bytes, lv_color_hex(COLOR_CONTENTS_FOCUSED), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(guider_ui.screen_modbus_config_value_bytes, lv_color_hex(COLOR_CONTENTS_FOCUSED), LV_PART_MAIN|LV_STATE_DEFAULT);
sprintf(str_temp, "< %d >", mod_master.byte_num);
lv_label_set_text(guider_ui.screen_modbus_config_value_bytes, str_temp);
current_operation = MODBUS_MASTER_CONFIG_MODIFY; current_operation = MODBUS_MASTER_CONFIG_MODIFY;
key_config_update(current_operation); key_config_update(current_operation);
} }
@ -507,6 +509,8 @@ void key_functions_modbus(void)
case MOD_CONF_TIMEOUT: case MOD_CONF_TIMEOUT:
{ {
lv_obj_set_style_bg_color(guider_ui.screen_modbus_config_value_timeout, lv_color_hex(COLOR_CONTENTS_FOCUSED), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(guider_ui.screen_modbus_config_value_timeout, lv_color_hex(COLOR_CONTENTS_FOCUSED), LV_PART_MAIN|LV_STATE_DEFAULT);
sprintf(str_temp, "< %d >", mod_master.timeout);
lv_label_set_text(guider_ui.screen_modbus_config_value_timeout, str_temp);
current_operation = MODBUS_MASTER_CONFIG_MODIFY; current_operation = MODBUS_MASTER_CONFIG_MODIFY;
key_config_update(current_operation); key_config_update(current_operation);
} }
@ -644,7 +648,7 @@ void key_functions_modbus(void)
case MOD_TRX_SEND: case MOD_TRX_SEND:
{ {
window_trx_focus = 1; trx_focus = 1;
trx_items_check(mod_mas_trx_cursor, MOD_TRX_NONE); trx_items_check(mod_mas_trx_cursor, MOD_TRX_NONE);
modbus_rtu_master_send(); modbus_rtu_master_send();
@ -744,12 +748,16 @@ void key_functions_modbus(void)
case MOD_CONF_BYTES: case MOD_CONF_BYTES:
{ {
lv_obj_set_style_bg_color(guider_ui.screen_modbus_config_value_bytes, lv_color_hex(COLOR_CONTENTS_CHECKED), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(guider_ui.screen_modbus_config_value_bytes, lv_color_hex(COLOR_CONTENTS_CHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
sprintf(str_temp, "%d", mod_master.byte_num);
lv_label_set_text(guider_ui.screen_modbus_config_value_bytes, str_temp);
} }
break; break;
case MOD_CONF_TIMEOUT: case MOD_CONF_TIMEOUT:
{ {
lv_obj_set_style_bg_color(guider_ui.screen_modbus_config_value_timeout, lv_color_hex(COLOR_CONTENTS_CHECKED), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(guider_ui.screen_modbus_config_value_timeout, lv_color_hex(COLOR_CONTENTS_CHECKED), LV_PART_MAIN|LV_STATE_DEFAULT);
sprintf(str_temp, "%d", mod_master.timeout);
lv_label_set_text(guider_ui.screen_modbus_config_value_timeout, str_temp);
} }
break; break;

View File

@ -1,7 +1,8 @@
#include "key_functions_setting.h" #include "key_functions_setting.h"
//KEY_SETTING //KEY_SETTING
uint8_t log_page = 1; uint8_t log_page = 1; //输入/输出记录页面的页码
uint8_t setting_window_cursor = 0, setting_window_cursor_prv = 0; //弹窗内的游标
void key_functions_setting(void) void key_functions_setting(void)
{ {
if( key_pv.status == KEY_STATUS_DISABLE ) return; if( key_pv.status == KEY_STATUS_DISABLE ) return;
@ -121,6 +122,28 @@ void key_functions_setting(void)
} }
break; break;
case SET_WINDOW_MODIFY:
{
lv_obj_add_flag(guider_ui.screen_setting_window_set, LV_OBJ_FLAG_HIDDEN);
//熄灭游标
setting_window_num_check(99, setting_window_cursor);
setting_window_cursor = 3;
setting_window_cursor_prv = 99;
//取消焦点
tabdata.content_focus = 0;
setting_contents_check(tabdata.content_cursor, tabdata.content_cursor_prv);
//更新文本
setting_window2val();
set_item0_text(tabdata.current_content);
current_operation = SET_CONTENT_CHOOSE;
key_config_update(current_operation);
}
break;
case SET_SHOW_LOG: case SET_SHOW_LOG:
{ {
//恢复至原本页面 //恢复至原本页面
@ -183,6 +206,7 @@ void key_functions_setting(void)
tabdata.item_cursor_prv = tabdata.item_cursor; tabdata.item_cursor_prv = tabdata.item_cursor;
tabdata.item_cursor = (ITEMS)cursor_temp; tabdata.item_cursor = (ITEMS)cursor_temp;
//更新文本
setting_items_check(tabdata.item_cursor, tabdata.item_cursor_prv); setting_items_check(tabdata.item_cursor, tabdata.item_cursor_prv);
} }
break; break;
@ -233,6 +257,23 @@ void key_functions_setting(void)
} }
break; break;
case SET_WINDOW_MODIFY:
{
//增加弹窗内指定数字的值
if(setting_window_cursor == 4)
{
setting_window_num[setting_window_cursor] = !setting_window_num[setting_window_cursor];
}
else
{
setting_window_num[setting_window_cursor] += 1;
if( setting_window_num[setting_window_cursor] > 9 ) setting_window_num[setting_window_cursor] = 0;
}
setting_window_set_num(setting_window_cursor);
}
break;
case SET_COMMUNICATION_SWITCH: case SET_COMMUNICATION_SWITCH:
{ {
cursor_start = 0; cursor_start = 0;
@ -321,6 +362,24 @@ void key_functions_setting(void)
} }
break; break;
case SET_WINDOW_MODIFY:
{
//减小弹窗内指定数字的值
if(setting_window_cursor == 4)
{
setting_window_num[setting_window_cursor] = !setting_window_num[setting_window_cursor];
}
else
{
setting_window_num[setting_window_cursor] -= 1;
if( setting_window_num[setting_window_cursor] > 200 ) setting_window_num[setting_window_cursor] = 9;
}
//更新文本
setting_window_set_num(setting_window_cursor);
}
break;
case SET_COMMUNICATION_SWITCH: case SET_COMMUNICATION_SWITCH:
{ {
cursor_start = 0; cursor_start = 0;
@ -375,11 +434,25 @@ void key_functions_setting(void)
{ {
case ITEM_0: case ITEM_0:
{ {
set_item0_text(tabdata.current_content); if( setting_window_display() == 0 )
{
set_item0_text(tabdata.current_content);
//当前操作从“内容选择” 切换 至“内容修改”,按键配置同步更新 //当前操作从“内容选择” 切换 至“内容修改”,按键配置同步更新
current_operation = SET_CONTENT_MODIFY; current_operation = SET_CONTENT_MODIFY;
key_config_update(current_operation); key_config_update(current_operation);
}
else
{
//点亮窗口内游标游标从第3位开始
setting_window_cursor = 3;
setting_window_cursor_prv = 99;
setting_window_num_check(setting_window_cursor, setting_window_cursor_prv);
//当前操作从“内容选择” 切换 至“弹窗修改”,按键配置同步更新
current_operation = SET_WINDOW_MODIFY;
key_config_update(current_operation);
}
} }
break; break;
@ -558,6 +631,17 @@ void key_functions_setting(void)
} }
break; break;
case SET_WINDOW_MODIFY:
{
//向左移动弹窗内游标
setting_window_cursor_prv = setting_window_cursor;
setting_window_cursor -= 1;
if(setting_window_cursor > 200) setting_window_cursor = 4;
setting_window_num_check(setting_window_cursor, setting_window_cursor_prv);
}
break;
case SET_SHOW_LOG: case SET_SHOW_LOG:
{ {
//查看记录 //查看记录
@ -654,6 +738,17 @@ void key_functions_setting(void)
} }
break; break;
case SET_WINDOW_MODIFY:
{
//向右移动弹窗内游标
setting_window_cursor_prv = setting_window_cursor;
setting_window_cursor += 1;
if(setting_window_cursor > 4) setting_window_cursor = 0;
setting_window_num_check(setting_window_cursor, setting_window_cursor_prv);
}
break;
case SET_SHOW_LOG: case SET_SHOW_LOG:
{ {
//查看记录 //查看记录

View File

@ -35,39 +35,39 @@ static char item0_contents_text_chinese[ITEM0_CONTENT_MAX][TEXT_LENGTH_MAX] =
"电压单位", "电压单位",
"电压上限", "电压上限",
"电压下限", "电压下限",
"电流上限", "电流上限 mA",
"电流下限", "电流下限 mA",
"电阻上限", "电阻上限 Ω",
"电阻下限", "电阻下限 Ω",
"频率上限", "频率上限 KHz",
"频率下限", "频率下限 KHz",
"热电偶类型", "热电偶类型",
"热电偶上限", "热电偶上限",
"热电偶下限", "热电偶下限",
"热电阻上限", "热电阻上限",
"热电阻下限" "热电阻下限"
}; };
static char item0_contents_text_english[ITEM0_CONTENT_MAX][TEXT_LENGTH_MAX] = static char item0_contents_text_english[ITEM0_CONTENT_MAX][TEXT_LENGTH_MAX] =
{ {
"Voltage unit", "Volt unit",
"Voltage max", "Volt max",
"Voltage min", "Volt min",
"Current max", "Cur max mA",
"Current min", "Cur min mA",
"Res max", "Res max Ω",
"Res min", "Res min Ω",
"Fre max", "Fre max KHz",
"Fre min", "Fre min KHz",
"TC type", "TC type",
"TC max", "TC max",
"TC min", "TC min",
"RTD max", "RTD max",
"RTD min" "RTD min"
}; };
static char item1_contents_text_chinese[ITEM1_CONTENT_MAX][TEXT_LENGTH_MAX] = static char item1_contents_text_chinese[ITEM1_CONTENT_MAX][TEXT_LENGTH_MAX] =

View File

@ -240,7 +240,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
//Write codes screen_modbus_trx_label_Data //Write codes screen_modbus_trx_label_Data
ui->screen_modbus_trx_label_Data = lv_label_create(ui->screen_modbus_trx); ui->screen_modbus_trx_label_Data = lv_label_create(ui->screen_modbus_trx);
lv_label_set_text(ui->screen_modbus_trx_label_Data, "数据:"); lv_label_set_text(ui->screen_modbus_trx_label_Data, "(HEX)数据:");
lv_label_set_long_mode(ui->screen_modbus_trx_label_Data, LV_LABEL_LONG_WRAP); lv_label_set_long_mode(ui->screen_modbus_trx_label_Data, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_modbus_trx_label_Data, 3, 3); lv_obj_set_pos(ui->screen_modbus_trx_label_Data, 3, 3);
lv_obj_set_size(ui->screen_modbus_trx_label_Data, 95, 18); lv_obj_set_size(ui->screen_modbus_trx_label_Data, 95, 18);
@ -294,7 +294,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_37, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_37, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_37, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_37, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_37, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_37, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_37, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_37, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_37, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_37, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_37, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_37, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -303,6 +303,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_37, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_37, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_37, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_37, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_37, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_37, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_37, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -320,7 +322,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_36, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_36, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_36, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_36, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_36, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_36, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_36, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_36, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_36, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_36, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_36, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_36, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -329,6 +331,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_36, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_36, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_36, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_36, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_36, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_36, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_36, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -346,7 +350,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_35, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_35, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_35, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_35, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_35, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_35, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_35, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_35, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_35, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_35, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_35, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_35, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -355,6 +359,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_35, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_35, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_35, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_35, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_35, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_35, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_35, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -372,7 +378,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_34, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_34, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_34, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_34, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_34, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_34, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_34, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_34, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_34, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_34, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_34, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_34, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -381,6 +387,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_34, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_34, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_34, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_34, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_34, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_34, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_34, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -398,7 +406,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_33, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_33, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_33, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_33, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_33, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_33, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_33, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_33, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_33, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_33, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_33, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_33, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -407,6 +415,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_33, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_33, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_33, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_33, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_33, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_33, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_33, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -424,7 +434,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_32, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_32, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_32, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_32, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_32, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_32, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_32, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_32, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_32, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_32, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_32, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_32, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -433,6 +443,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_32, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_32, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_32, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_32, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_32, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_32, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_32, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -450,7 +462,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_31, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_31, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_31, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_31, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_31, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_31, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_31, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_31, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_31, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_31, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_31, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_31, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -459,6 +471,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_31, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_31, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_31, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_31, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_31, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_31, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_31, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -476,7 +490,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_30, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_30, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_30, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_30, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_30, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_30, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_30, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_30, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_30, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_30, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_30, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_30, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -485,6 +499,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_30, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_30, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_30, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_30, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_30, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_30, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_30, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -502,7 +518,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_27, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_27, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_27, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_27, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_27, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_27, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_27, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_27, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_27, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_27, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_27, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_27, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -511,6 +527,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_27, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_27, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_27, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_27, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_27, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_27, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_27, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -528,7 +546,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_26, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_26, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_26, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_26, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_26, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_26, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_26, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_26, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_26, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_26, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_26, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_26, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -537,6 +555,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_26, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_26, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_26, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_26, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_26, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_26, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_26, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -554,7 +574,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_25, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_25, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_25, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_25, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_25, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_25, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_25, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_25, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_25, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_25, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_25, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_25, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -563,6 +583,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_25, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_25, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_25, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_25, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_25, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_25, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_25, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -580,7 +602,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_24, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_24, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_24, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_24, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_24, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_24, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_24, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_24, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_24, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_24, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_24, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_24, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -589,6 +611,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_24, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_24, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_24, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_24, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_24, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_24, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_24, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -606,7 +630,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_23, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_23, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_23, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_23, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_23, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_23, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_23, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_23, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_23, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_23, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_23, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_23, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -615,6 +639,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_23, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_23, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_23, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_23, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_23, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_23, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_23, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -632,7 +658,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_22, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_22, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_22, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_22, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_22, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_22, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_22, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_22, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_22, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_22, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_22, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_22, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -641,6 +667,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_22, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_22, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_22, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_22, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_22, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_22, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_22, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -658,7 +686,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_21, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_21, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_21, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_21, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_21, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_21, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_21, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_21, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_21, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_21, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_21, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_21, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -667,6 +695,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_21, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_21, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_21, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_21, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_21, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_21, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_21, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -684,7 +714,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_20, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_20, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_20, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_20, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_20, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_20, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_20, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_20, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_20, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_20, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_20, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_20, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -693,6 +723,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_20, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_20, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_20, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_20, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_20, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_20, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_20, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -710,7 +742,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_17, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_17, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_17, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_17, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_17, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_17, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_17, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_17, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_17, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_17, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_17, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_17, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -719,6 +751,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_17, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_17, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_17, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_17, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_17, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_17, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_17, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -736,7 +770,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_16, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_16, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_16, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_16, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_16, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_16, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_16, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_16, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_16, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_16, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_16, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_16, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -745,6 +779,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_16, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_16, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_16, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_16, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_16, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_16, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -762,7 +798,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_15, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_15, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_15, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_15, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_15, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_15, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_15, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_15, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_15, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_15, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_15, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_15, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -771,6 +807,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_15, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_15, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_15, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_15, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_15, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_15, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -788,7 +826,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_14, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_14, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_14, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_14, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_14, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_14, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_14, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_14, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_14, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_14, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_14, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_14, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -797,6 +835,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_14, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_14, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_14, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_14, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_14, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_14, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -814,7 +854,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_13, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_13, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_13, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_13, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_13, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_13, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_13, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_13, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_13, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_13, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_13, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_13, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -823,6 +863,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_13, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_13, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_13, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_13, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_13, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_13, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -840,7 +882,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_12, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_12, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_12, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_12, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_12, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_12, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_12, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_12, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_12, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_12, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -849,6 +891,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_12, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_12, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_12, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_12, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -866,7 +910,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_11, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_11, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_11, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_11, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_11, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_11, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_11, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_11, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_11, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_11, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -875,6 +919,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_11, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_11, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_11, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_11, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -892,7 +938,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_10, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_10, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_10, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_10, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_10, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_10, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_10, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_10, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_10, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_10, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -901,6 +947,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_10, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_10, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_10, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_10, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -918,7 +966,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_07, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_07, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_07, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_07, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_07, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_07, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_07, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_07, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_07, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_07, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_07, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_07, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_07, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_07, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -927,6 +975,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_07, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_07, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_07, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_07, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_07, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_07, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_07, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_07, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_07, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_07, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_07, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_07, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_07, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_07, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -944,7 +994,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_06, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_06, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_06, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_06, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_06, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_06, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_06, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_06, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_06, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_06, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_06, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_06, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_06, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_06, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -953,6 +1003,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_06, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_06, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_06, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_06, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_06, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_06, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_06, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_06, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_06, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_06, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_06, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_06, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_06, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_06, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -970,7 +1022,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_05, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_05, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_05, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_05, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_05, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_05, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_05, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_05, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_05, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_05, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_05, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_05, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -979,6 +1031,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_05, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_05, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_05, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_05, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_05, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_05, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -996,7 +1050,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_04, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_04, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_04, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_04, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_04, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_04, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_04, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_04, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_04, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_04, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_04, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_04, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -1005,6 +1059,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_04, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_04, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_04, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_04, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_04, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_04, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -1022,7 +1078,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_03, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_03, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_03, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_03, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_03, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_03, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_03, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_03, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_03, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_03, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_03, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_03, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -1031,6 +1087,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_03, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_03, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_03, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_03, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_03, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_03, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -1048,7 +1106,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_02, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_02, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_02, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_02, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_02, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_02, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_02, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_02, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_02, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_02, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_02, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_02, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -1057,6 +1115,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_02, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_02, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_02, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_02, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_02, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_02, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -1074,7 +1134,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_01, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_01, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_01, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_01, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_01, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_01, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_01, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_01, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_01, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_01, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_01, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_01, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -1083,6 +1143,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_01, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_01, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_01, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_01, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_01, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_01, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -1100,7 +1162,7 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_modbus_trx_num_00, 3, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_modbus_trx_num_00, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_00, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_opa(ui->screen_modbus_trx_num_00, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_modbus_trx_num_00, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_color(ui->screen_modbus_trx_num_00, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_modbus_trx_num_00, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_side(ui->screen_modbus_trx_num_00, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_modbus_trx_num_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_modbus_trx_num_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_modbus_trx_num_00, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_modbus_trx_num_00, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_modbus_trx_num_00, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_modbus_trx_num_00, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -1109,6 +1171,8 @@ void setup_scr_screen_modbus_trx(lv_ui *ui)
lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_modbus_trx_num_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_modbus_trx_num_00, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_modbus_trx_num_00, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_00, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_modbus_trx_num_00, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_modbus_trx_num_00, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_modbus_trx_num_00, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_modbus_trx_num_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_modbus_trx_num_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_modbus_trx_num_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

View File

@ -645,7 +645,7 @@ void setup_scr_screen_setting(lv_ui *ui)
lv_obj_set_style_text_letter_space(ui->screen_setting_num_sign, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_setting_num_sign, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_num_sign, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_setting_num_sign, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_num_sign, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_setting_num_sign, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_num_sign, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_setting_num_sign, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_num_sign, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_setting_num_sign, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_num_sign, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_setting_num_sign, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_num_sign, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_setting_num_sign, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

File diff suppressed because it is too large Load Diff