新增BS页中挡位修改触发函数

This commit is contained in:
vmWin10 2025-04-22 13:48:56 +08:00
parent dd20401bce
commit d9df8eccf4
8 changed files with 12 additions and 7 deletions

View File

@ -25,7 +25,7 @@
"uiExportFolderPath": "C:\\Users\\jarvis\\Documents\\FluxDC\\SquareLineProj\\Export",
"projectExportFolderPath": "C:\\Users\\jarvis\\Documents\\FluxDC\\SquareLineProj\\Export",
"custom_variable_prefix": "uic",
"backup_cnt": 1297,
"backup_cnt": 1300,
"autosave_cnt": 0,
"group_color_cnt": 0,
"lvgl_version": "8.3.6",

View File

@ -12534,7 +12534,7 @@
{
"nid": 1000505,
"strtype": "CALL FUNCTION/Function_name",
"strval": "on_spinboxStage_valueChanged",
"strval": "on_spinboxStageBS_valueChanged",
"InheritedType": 10
},
{
@ -12817,8 +12817,7 @@
"InheritedType": 11
}
],
"saved_objtypeKey": "PANEL",
"tree_closed": true
"saved_objtypeKey": "PANEL"
},
{
"guid": "GUID16763883-502735S24514463",
@ -48291,7 +48290,7 @@
"uiExportFolderPath": "C:\\Users\\jarvis\\Documents\\FluxDC\\SquareLineProj\\Export",
"projectExportFolderPath": "C:\\Users\\jarvis\\Documents\\FluxDC\\SquareLineProj\\Export",
"custom_variable_prefix": "uic",
"backup_cnt": 1296,
"backup_cnt": 1299,
"autosave_cnt": 0,
"group_color_cnt": 0,
"lvgl_version": "8.3.6",

View File

@ -558,7 +558,7 @@ void ui_event_pageHome_spinboxStageBS(lv_event_t * e)
lv_event_code_t event_code = lv_event_get_code(e);
if(event_code == LV_EVENT_VALUE_CHANGED) {
on_spinboxStage_valueChanged(e);
on_spinboxStageBS_valueChanged(e);
}
}

View File

@ -214,3 +214,8 @@ void on_buttonStartTestBS_clicked(lv_event_t * e)
{
// Your code here
}
void on_spinboxStageBS_valueChanged(lv_event_t * e)
{
// Your code here
}

View File

@ -12,11 +12,12 @@ extern "C" {
void on_buttonStartTestBS_clicked(lv_event_t * e);
void on_dropdown_deviceTypeBS_valueChanged(lv_event_t * e);
void on_spinboxStage_valueChanged(lv_event_t * e);
void on_spinboxStageBS_valueChanged(lv_event_t * e);
void on_spinboxRate_valueChanged(lv_event_t * e);
void on_buttonRateMinus_clicked(lv_event_t * e);
void on_buttonRatePlus_clicked(lv_event_t * e);
void on_labelTestVolume_valueChanged(lv_event_t * e);
void on_spinboxStage_valueChanged(lv_event_t * e);
void on_buttonStartTest_clicked(lv_event_t * e);
void on_sliderLight_valueChanged(lv_event_t * e);
void on_dropdownDeviceType_valueChanged(lv_event_t * e);