Browse Source

显示字体修改

master
sc 6 months ago
parent
commit
05afd19e80
  1. 2
      .settings/language.settings.xml
  2. 4
      .settings/projcfg.ini
  3. 56
      applications/data/DATA_comm.c
  4. 9
      applications/data/SC828_DATA_table.h
  5. 6
      applications/lvgl/guider/generated/gui_guider.h
  6. 1908
      applications/lvgl/guider/generated/guider_fonts/lv_font_Acme_Regular_16.c
  7. 2463
      applications/lvgl/guider/generated/guider_fonts/lv_font_montserratMedium_16.c
  8. 5138
      applications/lvgl/guider/generated/guider_fonts/lv_font_montserratMedium_28.c
  9. 5720
      applications/lvgl/guider/generated/guider_fonts/lv_font_montserratMedium_30.c
  10. 218
      applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_16.c
  11. 3007
      applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_21.c
  12. 20
      applications/lvgl/guider/generated/setup_scr_screen.c
  13. 9
      applications/lvgl/ui_data_labels.c
  14. 36
      applications/lvgl/ui_data_labels.h
  15. 22
      sconscript_update.bat

2
.settings/language.settings.xml

@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-1131141442876082369" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-1130869187985072700" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>

4
.settings/projcfg.ini

@ -1,5 +1,5 @@
#RT-Thread Studio Project Configuration
#Wed Dec 03 21:07:10 CST 2025
#Wed Feb 11 13:52:22 CST 2026
project_type=rtt
chip_name=STM32H743IITx
cpu_name=None
@ -17,6 +17,6 @@ tool_chain=gcc
uart_name=uart3
tx_pin_name=PB10
rtt_nano_path=
output_project_path=C\:/RT-ThreadStudio/workspace
output_project_path=C\:\\RT-ThreadStudio\\workspace
hardware_adapter=ST-LINK
project_name=828F

56
applications/data/DATA_comm.c

@ -338,39 +338,39 @@ void pasre_DAT(const char *api, const char *json_str)
int ID_s;
GET_INT_FROM_ANY(ID_s,root, "ID",0);
if (!(ID_s < 0 || ID_s >= 99))
if (!(ID_s < 0 || ID_s >= 255))
{
// 1. 如果不是最后一项,将 [index+1, 98] 前移一位到 [index, 97]
if (ID_s < 98) {
memmove(&step_table[ID_s],&step_table[ID_s + 1],(98 - ID_s) * sizeof(IO_STEP_DATA));
if (ID_s < 254) {
memmove(&step_table[ID_s],&step_table[ID_s + 1],(254 - ID_s) * sizeof(IO_STEP_DATA));
}
}
// 2. 末尾(最后一个位置)填入空步骤
step_table[99].RUN = 0;
step_table[99].Parameter1 = 0;
step_table[99].Parameter2 = 0;
step_table[99].Parameter3 = 0;
step_table[99].Parameter4 = 0;
step_table[99].Parameter5 = 0;
step_table[99].Parameter1_S1 = 0;
step_table[99].Parameter2_S1 = 0;
step_table[99].Parameter3_S1 = 0;
step_table[99].Parameter4_S1 = 0;
step_table[99].Parameter5_S1 = 0;
step_table[99].Parameter1_S2 = 0;
step_table[99].Parameter2_S2 = 0;
step_table[99].Parameter3_S2 = 0;
step_table[99].Parameter4_S2 = 0;
step_table[99].Parameter5_S2 = 0;
step_table[99].Parameter1_S3 = 0;
step_table[99].Parameter2_S3 = 0;
step_table[99].Parameter3_S3 = 0;
step_table[99].Parameter4_S3 = 0;
step_table[99].Parameter5_S3 = 0;
rt_snprintf(step_table[99].StepID, 3,"000");
rt_snprintf(step_table[99].StepID_S1, 3,"000");
rt_snprintf(step_table[99].StepID_S2, 3,"000");
rt_snprintf(step_table[99].StepID_S3, 3,"000");
step_table[255].RUN = 0;
step_table[255].Parameter1 = 0;
step_table[255].Parameter2 = 0;
step_table[255].Parameter3 = 0;
step_table[255].Parameter4 = 0;
step_table[255].Parameter5 = 0;
step_table[255].Parameter1_S1 = 0;
step_table[255].Parameter2_S1 = 0;
step_table[255].Parameter3_S1 = 0;
step_table[255].Parameter4_S1 = 0;
step_table[255].Parameter5_S1 = 0;
step_table[255].Parameter1_S2 = 0;
step_table[255].Parameter2_S2 = 0;
step_table[255].Parameter3_S2 = 0;
step_table[255].Parameter4_S2 = 0;
step_table[255].Parameter5_S2 = 0;
step_table[255].Parameter1_S3 = 0;
step_table[255].Parameter2_S3 = 0;
step_table[255].Parameter3_S3 = 0;
step_table[255].Parameter4_S3 = 0;
step_table[255].Parameter5_S3 = 0;
rt_snprintf(step_table[255].StepID, 3,"000");
rt_snprintf(step_table[255].StepID_S1, 3,"000");
rt_snprintf(step_table[255].StepID_S2, 3,"000");
rt_snprintf(step_table[255].StepID_S3, 3,"000");
}
else
{}

9
applications/data/SC828_DATA_table.h

@ -19,15 +19,6 @@ typedef struct {
str_id_t name; // 名称(可选,用于调试)
} IO_State_AIO;
typedef struct {
char Dyelot[32]; // 单号
int ReDye;
char *ProgramName; // 工艺
int lock;
int State;
char *Remark; //
} WorkOrder_DATA;
typedef struct {
int pin; // ID
rt_int32_t current_data; // 当前状态

6
applications/lvgl/guider/generated/gui_guider.h

@ -460,20 +460,18 @@ LV_IMG_DECLARE(_IconParkLock_alpha_40x40);
LV_IMG_DECLARE(_ico_link_alpha_40x40);
LV_IMG_DECLARE(_IconParkPlay_alpha_40x40);
LV_FONT_DECLARE(lv_font_montserratMedium_28)
LV_FONT_DECLARE(lv_font_simsun_28)
LV_FONT_DECLARE(lv_font_simsun_30)
LV_FONT_DECLARE(lv_font_montserratMedium_16)
LV_FONT_DECLARE(lv_font_simsun_16)
LV_FONT_DECLARE(lv_font_simsun_24)
LV_FONT_DECLARE(lv_font_simsun_12)
LV_FONT_DECLARE(lv_font_montserratMedium_12)
LV_FONT_DECLARE(lv_font_simsun_16)
LV_FONT_DECLARE(lv_font_montserratMedium_15)
LV_FONT_DECLARE(lv_font_Alatsi_Regular_20)
LV_FONT_DECLARE(lv_font_Alatsi_Regular_18)
LV_FONT_DECLARE(lv_font_simsun_14)
LV_FONT_DECLARE(lv_font_simsun_32)
LV_FONT_DECLARE(lv_font_montserratMedium_30)
LV_FONT_DECLARE(lv_font_simsun_28)
LV_FONT_DECLARE(lv_font_simsun_18)

1908
applications/lvgl/guider/generated/guider_fonts/lv_font_Acme_Regular_16.c

File diff suppressed because it is too large

2463
applications/lvgl/guider/generated/guider_fonts/lv_font_montserratMedium_16.c

File diff suppressed because it is too large

5138
applications/lvgl/guider/generated/guider_fonts/lv_font_montserratMedium_28.c

File diff suppressed because it is too large

5720
applications/lvgl/guider/generated/guider_fonts/lv_font_montserratMedium_30.c

File diff suppressed because it is too large

218
applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_16.c

@ -797,6 +797,24 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+6392 "排" */
0x0, 0xf, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0x0,
0x0, 0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0x0,
0x0, 0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0x0,
0xff, 0xff, 0xf0, 0xff, 0x0, 0xff, 0xff, 0xf0,
0x0, 0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0x0,
0x0, 0xf, 0xf, 0xf, 0x0, 0xf0, 0x0, 0x0,
0x0, 0xf, 0xf0, 0xf, 0x0, 0xf0, 0x0, 0x0,
0x0, 0xf, 0xf, 0xff, 0x0, 0xff, 0xff, 0x0,
0x0, 0xff, 0x0, 0xf, 0x0, 0xf0, 0x0, 0x0,
0xff, 0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0x0,
0x0, 0xf, 0xff, 0xff, 0x0, 0xff, 0xff, 0xf0,
0x0, 0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0x0,
0x0, 0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0x0,
0xf, 0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0x0,
0x0, 0xf0, 0x0, 0xf, 0x0, 0xf0, 0x0, 0x0,
/* U+63D2 "插" */
0x0, 0xf, 0x0, 0x0, 0x0, 0xf, 0xff, 0x0,
0x0, 0xf, 0x0, 0xff, 0xff, 0xf0, 0x0, 0x0,
@ -815,6 +833,60 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0xf, 0xf, 0x0, 0xf0, 0x0, 0x0, 0x0, 0xf0,
0x0, 0xf0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+660E "明" */
0x0, 0x0, 0x0, 0x0, 0xff, 0xff, 0xff, 0x0,
0xf, 0xff, 0xff, 0x0, 0xf0, 0x0, 0xf, 0x0,
0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0xf, 0x0,
0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0xf, 0x0,
0xf, 0x0, 0xf, 0x0, 0xff, 0xff, 0xff, 0x0,
0xf, 0xff, 0xff, 0x0, 0xf0, 0x0, 0xf, 0x0,
0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0xf, 0x0,
0xf, 0x0, 0xf, 0x0, 0xf0, 0x0, 0xf, 0x0,
0xf, 0x0, 0xf, 0x0, 0xff, 0xff, 0xff, 0x0,
0xf, 0xff, 0xff, 0x0, 0xf0, 0x0, 0xf, 0x0,
0x0, 0x0, 0x0, 0x0, 0xf0, 0x0, 0xf, 0x0,
0x0, 0x0, 0x0, 0xf, 0x0, 0x0, 0xf, 0x0,
0x0, 0x0, 0x0, 0xf, 0x0, 0x0, 0xf, 0x0,
0x0, 0x0, 0x0, 0xf0, 0x0, 0x0, 0xf, 0x0,
0x0, 0x0, 0xf, 0x0, 0x0, 0xf, 0xf, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x0,
/* U+7A0B "程" */
0x0, 0x0, 0xff, 0xf, 0xff, 0xff, 0xf0, 0x0,
0xf, 0xff, 0x0, 0xf, 0x0, 0x0, 0xf0, 0x0,
0x0, 0xf, 0x0, 0xf, 0x0, 0x0, 0xf0, 0x0,
0x0, 0xf, 0x0, 0xf, 0x0, 0x0, 0xf0, 0x0,
0xff, 0xff, 0xff, 0xf, 0x0, 0x0, 0xf0, 0x0,
0x0, 0xf, 0x0, 0xf, 0xff, 0xff, 0xf0, 0x0,
0x0, 0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0xff, 0xf0, 0xff, 0xff, 0xff, 0xff, 0x0,
0xf, 0xf, 0xf, 0x0, 0xf, 0x0, 0x0, 0x0,
0xf, 0xf, 0x0, 0x0, 0xf, 0x0, 0x0, 0x0,
0xf0, 0xf, 0x0, 0xff, 0xff, 0xff, 0xff, 0x0,
0x0, 0xf, 0x0, 0x0, 0xf, 0x0, 0x0, 0x0,
0x0, 0xf, 0x0, 0x0, 0xf, 0x0, 0x0, 0x0,
0x0, 0xf, 0x0, 0x0, 0xf, 0x0, 0x0, 0x0,
0x0, 0xf, 0xf, 0xff, 0xff, 0xff, 0xff, 0xf0,
0x0, 0xf, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+7EC6 "细" */
0x0, 0xf, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0xf, 0xf0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0xf0, 0x0, 0xf, 0xff, 0xff, 0xff, 0x0,
0xf, 0x0, 0xf, 0xf, 0x0, 0xf0, 0xf, 0x0,
0xff, 0xff, 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0,
0x0, 0x0, 0xf0, 0xf, 0x0, 0xf0, 0xf, 0x0,
0x0, 0xf, 0x0, 0xf, 0x0, 0xf0, 0xf, 0x0,
0x0, 0xf0, 0x0, 0xf, 0xff, 0xff, 0xff, 0x0,
0xf, 0xff, 0xff, 0xf, 0x0, 0xf0, 0xf, 0x0,
0x0, 0x0, 0x0, 0xf, 0x0, 0xf0, 0xf, 0x0,
0x0, 0x0, 0x0, 0xf, 0x0, 0xf0, 0xf, 0x0,
0x0, 0xf, 0xff, 0xf, 0x0, 0xf0, 0xf, 0x0,
0xff, 0xf0, 0x0, 0xf, 0xff, 0xff, 0xff, 0x0,
0x0, 0x0, 0x0, 0xf, 0x0, 0x0, 0xf, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+7F16 "编" */
0x0, 0xf, 0x0, 0x0, 0xf0, 0x0, 0x0, 0x0,
0x0, 0xf, 0xf0, 0x0, 0xf, 0x0, 0x0, 0x0,
@ -1963,66 +2035,70 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 4815, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 4943, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5071, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5199, .adv_w = 256, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5335, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 5431, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 5543, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 5639, .adv_w = 176, .box_w = 11, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 5705, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5833, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5961, .adv_w = 288, .box_w = 18, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 6087, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6215, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6323, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6451, .adv_w = 128, .box_w = 8, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 6507, .adv_w = 192, .box_w = 12, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 6591, .adv_w = 288, .box_w = 18, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6735, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6831, .adv_w = 176, .box_w = 11, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6919, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 6999, .adv_w = 224, .box_w = 14, .box_h = 18, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 7125, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7230, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7328, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 7408, .adv_w = 224, .box_w = 16, .box_h = 14, .ofs_x = -1, .ofs_y = -1},
{.bitmap_index = 7520, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7590, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7660, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7758, .adv_w = 224, .box_w = 14, .box_h = 4, .ofs_x = 0, .ofs_y = 4},
{.bitmap_index = 7786, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 7894, .adv_w = 320, .box_w = 20, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 8054, .adv_w = 288, .box_w = 20, .box_h = 16, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 8214, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 8342, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 8412, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 8482, .adv_w = 320, .box_w = 20, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8622, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 8718, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 8846, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 8991, .adv_w = 224, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9096, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9208, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9306, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9404, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 9500, .adv_w = 160, .box_w = 12, .box_h = 16, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 9596, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9708, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9820, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 9928, .adv_w = 256, .box_w = 18, .box_h = 18, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 10090, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10186, .adv_w = 320, .box_w = 20, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 10336, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 10436, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 10536, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 10636, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 10736, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 10836, .adv_w = 320, .box_w = 21, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 10983, .adv_w = 224, .box_w = 12, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 11079, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 11191, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 11336, .adv_w = 320, .box_w = 20, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11456, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 11552, .adv_w = 258, .box_w = 17, .box_h = 11, .ofs_x = 0, .ofs_y = 1}
{.bitmap_index = 5199, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5327, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5455, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5583, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5711, .adv_w = 256, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5847, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 5943, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 6055, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6151, .adv_w = 176, .box_w = 11, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6217, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6345, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6473, .adv_w = 288, .box_w = 18, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 6599, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6727, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6835, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6963, .adv_w = 128, .box_w = 8, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7019, .adv_w = 192, .box_w = 12, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7103, .adv_w = 288, .box_w = 18, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 7247, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 7343, .adv_w = 176, .box_w = 11, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 7431, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 7511, .adv_w = 224, .box_w = 14, .box_h = 18, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 7637, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7742, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7840, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 7920, .adv_w = 224, .box_w = 16, .box_h = 14, .ofs_x = -1, .ofs_y = -1},
{.bitmap_index = 8032, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8102, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8172, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8270, .adv_w = 224, .box_w = 14, .box_h = 4, .ofs_x = 0, .ofs_y = 4},
{.bitmap_index = 8298, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 8406, .adv_w = 320, .box_w = 20, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 8566, .adv_w = 288, .box_w = 20, .box_h = 16, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 8726, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 8854, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 8924, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 8994, .adv_w = 320, .box_w = 20, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9134, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 9230, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9358, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 9503, .adv_w = 224, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9608, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9720, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9818, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9916, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 10012, .adv_w = 160, .box_w = 12, .box_h = 16, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 10108, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10220, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10332, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 10440, .adv_w = 256, .box_w = 18, .box_h = 18, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 10602, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10698, .adv_w = 320, .box_w = 20, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 10848, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 10948, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 11048, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 11148, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 11248, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 11348, .adv_w = 320, .box_w = 21, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 11495, .adv_w = 224, .box_w = 12, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 11591, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 11703, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 11848, .adv_w = 320, .box_w = 20, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11968, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 12064, .adv_w = 258, .box_w = 17, .box_h = 11, .ofs_x = 0, .ofs_y = 1}
};
/*---------------------
@ -2030,16 +2106,16 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
*--------------------*/
static const uint16_t unicode_list_1[] = {
0x0, 0x4c, 0x109, 0x1c4, 0x3d3, 0xafc, 0xd89, 0x1376,
0x2eba, 0x321e, 0x3f21, 0x3f35, 0x4608, 0x9fa5, 0x9fac, 0x9faf,
0x9fb0, 0x9fb1, 0x9fb5, 0x9fb7, 0x9fb9, 0x9fbd, 0x9fc0, 0x9fc5,
0x9fca, 0x9fcb, 0x9fcc, 0x9fe2, 0x9fe7, 0x9fec, 0x9fef, 0x9ff0,
0x9ff1, 0x9ff5, 0x9ff6, 0x9ff7, 0x9ff8, 0xa00b, 0xa00c, 0xa012,
0xa014, 0xa015, 0xa018, 0xa01b, 0xa01c, 0xa01d, 0xa01f, 0xa037,
0xa039, 0xa068, 0xa069, 0xa06b, 0xa06d, 0xa084, 0xa08b, 0xa08e,
0xa097, 0xa0c0, 0xa0c8, 0xa0ff, 0xa18f, 0xa1e4, 0xa1e5, 0xa1e6,
0xa1e7, 0xa1e8, 0xa22b, 0xa237, 0xa291, 0xa2a8, 0xa4fe, 0xa766,
0xa846
0x0, 0x4c, 0x109, 0x1c4, 0x3d3, 0xafc, 0xd89, 0x1336,
0x1376, 0x15b2, 0x29af, 0x2e6a, 0x2eba, 0x321e, 0x3f21, 0x3f35,
0x4608, 0x9fa5, 0x9fac, 0x9faf, 0x9fb0, 0x9fb1, 0x9fb5, 0x9fb7,
0x9fb9, 0x9fbd, 0x9fc0, 0x9fc5, 0x9fca, 0x9fcb, 0x9fcc, 0x9fe2,
0x9fe7, 0x9fec, 0x9fef, 0x9ff0, 0x9ff1, 0x9ff5, 0x9ff6, 0x9ff7,
0x9ff8, 0xa00b, 0xa00c, 0xa012, 0xa014, 0xa015, 0xa018, 0xa01b,
0xa01c, 0xa01d, 0xa01f, 0xa037, 0xa039, 0xa068, 0xa069, 0xa06b,
0xa06d, 0xa084, 0xa08b, 0xa08e, 0xa097, 0xa0c0, 0xa0c8, 0xa0ff,
0xa18f, 0xa1e4, 0xa1e5, 0xa1e6, 0xa1e7, 0xa1e8, 0xa22b, 0xa237,
0xa291, 0xa2a8, 0xa4fe, 0xa766, 0xa846
};
/*Collect the unicode lists and glyph_id offsets*/
@ -2051,7 +2127,7 @@ static const lv_font_fmt_txt_cmap_t cmaps[] =
},
{
.range_start = 20572, .range_length = 43079, .glyph_id_start = 96,
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 73, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 77, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
}
};

3007
applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_21.c

File diff suppressed because it is too large

20
applications/lvgl/guider/generated/setup_scr_screen.c

@ -145,7 +145,7 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_temp, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_temp, &lv_font_montserratMedium_28, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_temp, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_temp, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_temp, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -168,7 +168,7 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_water, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_water, &lv_font_montserratMedium_28, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_water, &lv_font_simsun_28, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_water, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_water, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -214,7 +214,7 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_SYS_TIME, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_SYS_TIME, &lv_font_montserratMedium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_SYS_TIME, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_SYS_TIME, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_SYS_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -237,7 +237,7 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_set_style_border_width(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_RUN_TIME, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_RUN_TIME, &lv_font_montserratMedium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_RUN_TIME, &lv_font_simsun_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_RUN_TIME, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_RUN_TIME, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -336,12 +336,12 @@ void setup_scr_screen(lv_ui *ui)
//Write codes screen_w_edit
ui->screen_w_edit = lv_btn_create(ui->screen_tabview_tab_1);
ui->screen_w_edit_label = lv_label_create(ui->screen_w_edit);
lv_label_set_text(ui->screen_w_edit_label, "编辑");
lv_label_set_text(ui->screen_w_edit_label, "编辑/明细");
lv_label_set_long_mode(ui->screen_w_edit_label, LV_LABEL_LONG_WRAP);
lv_obj_align(ui->screen_w_edit_label, LV_ALIGN_CENTER, 0, 0);
lv_obj_set_style_pad_all(ui->screen_w_edit, 0, LV_STATE_DEFAULT);
lv_obj_set_width(ui->screen_w_edit_label, LV_PCT(100));
lv_obj_set_pos(ui->screen_w_edit, 881, 345);
lv_obj_set_pos(ui->screen_w_edit, 880, 345);
lv_obj_set_size(ui->screen_w_edit, 100, 50);
//Write style for screen_w_edit, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
@ -427,12 +427,12 @@ void setup_scr_screen(lv_ui *ui)
//Write codes screen_w_w
ui->screen_w_w = lv_btn_create(ui->screen_tabview_tab_1);
ui->screen_w_w_label = lv_label_create(ui->screen_w_w);
lv_label_set_text(ui->screen_w_w_label, "工艺");
lv_label_set_text(ui->screen_w_w_label, "工艺/排程");
lv_label_set_long_mode(ui->screen_w_w_label, LV_LABEL_LONG_WRAP);
lv_obj_align(ui->screen_w_w_label, LV_ALIGN_CENTER, 0, 0);
lv_obj_set_style_pad_all(ui->screen_w_w, 0, LV_STATE_DEFAULT);
lv_obj_set_width(ui->screen_w_w_label, LV_PCT(100));
lv_obj_set_pos(ui->screen_w_w, 880, 280);
lv_obj_set_pos(ui->screen_w_w, 881, 280);
lv_obj_set_size(ui->screen_w_w, 100, 50);
//Write style for screen_w_w, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
@ -7093,7 +7093,7 @@ void setup_scr_screen(lv_ui *ui)
//Write style for screen_machine_name_rt, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_text_color(ui->screen_machine_name_rt, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_machine_name_rt, &lv_font_montserratMedium_30, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_machine_name_rt, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_machine_name_rt, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_machine_name_rt, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_machine_name_rt, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -7156,7 +7156,7 @@ void setup_scr_screen(lv_ui *ui)
//Write style for screen_machine_id_rt, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_text_color(ui->screen_machine_id_rt, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_machine_id_rt, &lv_font_montserratMedium_30, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_machine_id_rt, &lv_font_simsun_30, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_machine_id_rt, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_machine_id_rt, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_machine_id_rt, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);

9
applications/lvgl/ui_data_labels.c

@ -30,13 +30,16 @@ lv_obj_t *do_led_array[64];
lv_obj_t *di_labels[24]; // DI: AIO4001 ~ AIO4024 (24个)
lv_obj_t *do_labels[16]; // DO: AIO5001 ~ AIO5016 (16个)
WorkOrder_DATA_tab * Work_DATA_tab=NULL;
WorkOrder_DATA_tab * WorkDATA_tab=NULL;
Program_DATA_tab * ProgramDATA_tab=NULL;
STEP_DATA_tab * StepDATA_tab=NULL;
extern struct rt_memheap sram_SRAM1,sdram_heap;
void ui_init_io(lv_ui *ui) {
Work_DATA_tab = rt_memheap_alloc(&sdram_heap, sizeof(WorkOrder_DATA_tab)*64);
WorkDATA_tab = rt_memheap_alloc(&sdram_heap, sizeof(WorkOrder_DATA_tab)*128);
ProgramDATA_tab = rt_memheap_alloc(&sdram_heap, sizeof(Program_DATA_tab)*512);
StepDATA_tab = rt_memheap_alloc(&sdram_heap, sizeof(STEP_DATA_tab)*256);
//di
di_led_array[0] = ui->screen_di1;
di_led_array[1] = ui->screen_di2;

36
applications/lvgl/ui_data_labels.h

@ -34,7 +34,41 @@ typedef struct {
char Remark[32];
char USER[32];
} WorkOrder_DATA_tab;
extern WorkOrder_DATA_tab * Work_DATA_tab;
typedef struct {
char WorkOrder[32];
char Dyelot[32]; // 单号
int ReDye;
char ProgramName[64];
char StartTime[24];
char EndTime[24];
char Time[10];
int lock;
int State;
char ColorName[32];
char ColorNumber[32];
char Client[32];
char ClothWeight[32];
char ClothSpecies[32];
char BathRatio[32];
char Total[32];
char Remark[32];
char USER[32];
} Program_DATA_tab;
typedef struct {
char Dyelot[32]; // 单号
int ReDye;
char StepName[20];
char StepID_S1[3];
char StepID_S2[3];
char StepID_S3[3];
} STEP_DATA_tab;
extern WorkOrder_DATA_tab * WorkDATA_tab;
extern Program_DATA_tab * ProgramDATA_tab;
extern STEP_DATA_tab * StepDATA_tab;
extern lv_obj_t *di_led_array[64];
extern lv_obj_t *do_led_array[64];

22
sconscript_update.bat

@ -0,0 +1,22 @@
@echo off
call C:/RT-ThreadStudio/platform/env_released/env-new/.venv/Scripts/activate.bat
cd /d C:\RT-ThreadStudio\workspace\828F
set RTT_ROOT=
set ENV_ROOT=C:/RT-ThreadStudio/platform/env_released/env-new
set RTT_EXEC_PATH=C:/RT-ThreadStudio/repo/Extract/ToolChain_Support_Packages/ARM/GNU_Tools_for_ARM_Embedded_Processors/13.3/bin
set KCONF_EXEC_PATH=%ENV_ROOT%\tools\exec
set RTT_CC=gcc
set RTTS_PLATFORM=STUDIO
set SCONS=%ENV_ROOT%\tools\python-3.11.9-amd64\Scripts
set PKGS_ROOT=%ENV_ROOT%\packages
set PATH=%ENV_ROOT%\tools\git-2.41.0-32-bit\cmd;%PATH%
set PATH=%ENV_ROOT%\tools\python-3.11.9-amd64;%PATH%
set PATH=%ENV_ROOT%\tools\python-3.11.9-amd64\Scripts;%PATH%
set PATH=%ENV_ROOT%\tools\bin;%PATH%
set PATH=%RTT_EXEC_PATH%;%PATH%
set PATH=%KCONF_EXEC_PATH%;%PATH%
set PATH=%ENV_ROOT%\tools\scripts\pkgs;%PATH%
set PATH=%ENV_ROOT%\tools\qemu\qemu32;%PATH%
set PYTHONPATH=%ENV_ROOT%\tools\python-3.11.9-amd64;
set PATH=%PATH%;
scons --target=eclipse
Loading…
Cancel
Save