From 68f165fd1ad122342aeb6dcffa4821c23bbdf472 Mon Sep 17 00:00:00 2001
From: tao_z <tzj0429@163.com>
Date: Thu, 24 Feb 2022 22:02:48 +0800
Subject: [PATCH] 更新语言环境

---
 CHUSBDLL64.dll                     |    0 
 widgets/flash_bootloader_widget.py |   22 +++++++++++-----------
 ECanVci64.lib                      |    0 
 main.py                            |   10 +++++-----
 ECanVci64.dll                      |    0 
 5 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/CHUSBDLL64.dll b/CHUSBDLL64.dll
new file mode 100644
index 0000000..c6616df
--- /dev/null
+++ b/CHUSBDLL64.dll
Binary files differ
diff --git a/ECanVci64.dll b/ECanVci64.dll
new file mode 100644
index 0000000..cf530e7
--- /dev/null
+++ b/ECanVci64.dll
Binary files differ
diff --git a/ECanVci64.lib b/ECanVci64.lib
new file mode 100644
index 0000000..d1c7beb
--- /dev/null
+++ b/ECanVci64.lib
Binary files differ
diff --git a/main.py b/main.py
index 1ba63cb..e712d80 100644
--- a/main.py
+++ b/main.py
@@ -3,9 +3,9 @@
 from PyQt5.QtWidgets import QApplication
 from asyncqt import QEventLoop
 from widgets.flash_bootloader_widget import FlashBootloaderWidget
-# from widgets.data_identifier_widget import DataIdentifierWidget
-# from widgets.diagnostic_trouble_code_widget import DiagnosticTroubleCodeWidget
-# from widgets.main_widget import MainWidget
+from widgets.data_identifier_widget import DataIdentifierWidget
+from widgets.diagnostic_trouble_code_widget import DiagnosticTroubleCodeWidget
+from widgets.main_widget import MainWidget
 
 if __name__ == '__main__':
 
@@ -14,8 +14,8 @@
     asyncio.set_event_loop(loop)
 
     # w = MainWidget()
-    w = FlashBootloaderWidget()
-    # w = DataIdentifierWidget()
+    # w = FlashBootloaderWidget()
+    w = DataIdentifierWidget()
     # w = DiagnosticTroubleCodeWidget()
     w.show()
 
diff --git a/widgets/flash_bootloader_widget.py b/widgets/flash_bootloader_widget.py
index 05661eb..0d949fe 100644
--- a/widgets/flash_bootloader_widget.py
+++ b/widgets/flash_bootloader_widget.py
@@ -43,14 +43,14 @@
         le_drv.setReadOnly(True)
         le_drv.setObjectName('le_drv')
         btn_drv = QtWidgets.QPushButton(self)
-        btn_drv.setText('驱动程序')
+        btn_drv.setText('Driver')
         btn_drv.setObjectName('btn_drv')
 
         le_app = QtWidgets.QLineEdit(self)
         le_app.setReadOnly(True)
         le_app.setObjectName('le_app')
         btn_app = QtWidgets.QPushButton(self)
-        btn_app.setText('应用程序')
+        btn_app.setText('Application')
         btn_app.setObjectName('btn_app')
         # 创建网格布局 2行2列 void addWidget(QWidget *, int row, int column, int rowSpan, int columnSpan, Qt::Alignment = 0);
         gridlayer_file = QtWidgets.QGridLayout()
@@ -60,7 +60,7 @@
         gridlayer_file.addWidget(btn_app, 1, 1, 1, 1)
 
         gb_file = QtWidgets.QGroupBox(self)
-        gb_file.setTitle('加载文件')
+        gb_file.setTitle('Loading file')
         gb_file.setLayout(gridlayer_file)
 
         cb_interface_type = QtWidgets.QComboBox(self)
@@ -74,18 +74,18 @@
         cb_baudrate.setObjectName('cb_baudrate')
 
         cb_can_channel = QtWidgets.QComboBox(self)
-        cb_can_channel.addItems(['通道1', '通道2'])
+        cb_can_channel.addItems(['Channel-1', 'Channel-2'])
         cb_can_channel.setObjectName('cb_can_channel')
 
         btn_open = QtWidgets.QPushButton(self)
-        btn_open.setText('打开')
+        btn_open.setText('Open')
         btn_open.setObjectName('btn_open')
 
         cb_only_main = QtWidgets.QCheckBox(self)
-        cb_only_main.setText('仅主编程')
+        cb_only_main.setText('Only main Progrom')
 
         btn_start = QtWidgets.QPushButton(self)
-        btn_start.setText('开始刷写')
+        btn_start.setText('Start')
         btn_start.setObjectName('btn_start')
         btn_start.setDisabled(True)
 
@@ -99,7 +99,7 @@
         GL0.addWidget(btn_open, 0, 3, 1, 1)
 
         gb_cfg = QtWidgets.QGroupBox(self)
-        gb_cfg.setTitle('配置')
+        gb_cfg.setTitle('Config')
         gb_cfg.setLayout(GL0)
 
         GL1 = QtWidgets.QGridLayout()
@@ -108,7 +108,7 @@
         GL1.addWidget(progress_bar, 1, 0, 1, 8)
 
         gb_progress = QtWidgets.QGroupBox(self)
-        gb_progress.setTitle('进度控制')
+        gb_progress.setTitle('Progress')
         gb_progress.setLayout(GL1)
 
         tb_log_display = QtWidgets.QTextBrowser(self)
@@ -120,7 +120,7 @@
         table_data_display.setRowCount(8)
 
         table_data_display.setHorizontalHeaderLabels(
-            ['时间', 'CAN ID', 'DLC', '数据'])
+            ['Time', 'CAN ID', 'DLC', 'Data'])
         table_data_display.verticalHeader().setVisible(False)
         table_data_display.horizontalHeader().setStretchLastSection(
             True)  # 设置表格最后一列自适应
@@ -135,7 +135,7 @@
         GL_disp.addWidget(tb_log_display, 0, 0, 1, 1)
 
         gb_log = QtWidgets.QGroupBox(self)
-        gb_log.setTitle('数据事件')
+        gb_log.setTitle('Event log')
         gb_log.setLayout(GL_disp)
 
         # 垂直布局

--
Gitblit v1.8.0