diff --git a/app/HGProductionTool/ProductionTool_zh_CN.qm b/app/HGProductionTool/ProductionTool_zh_CN.qm
index 0946b22..d07b265 100644
Binary files a/app/HGProductionTool/ProductionTool_zh_CN.qm and b/app/HGProductionTool/ProductionTool_zh_CN.qm differ
diff --git a/app/HGProductionTool/ProductionTool_zh_CN.ts b/app/HGProductionTool/ProductionTool_zh_CN.ts
index 3e699fd..ad44820 100644
--- a/app/HGProductionTool/ProductionTool_zh_CN.ts
+++ b/app/HGProductionTool/ProductionTool_zh_CN.ts
@@ -390,7 +390,7 @@
- 图像检测工位
+ 图像测试工位
@@ -635,13 +635,13 @@
-
+
提示
-
+
请至少勾选一台设备
@@ -787,7 +787,7 @@
-
+
提示
@@ -807,7 +807,7 @@
- 速度模式:
+ 目标配置: 速度模式:
@@ -870,7 +870,7 @@
PID:
-
+
无图
@@ -941,7 +941,7 @@
刷新设备列表
-
+
账户在其他地方登录
@@ -950,56 +950,76 @@
网络连接断开
-
+
你已被管理员账户强制下线
-
+
数据库错误
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
提示
-
-
-
+
+
+ 华高生产工具-烧录工位
+
+
+
+
+ 华高生产工具-初检工位
+
+
+
+
+ 华高生产工具-图像测试工位
+
+
+
+
+ 华高生产工具-压力测试工位
+
+
+
+
+
测试中,请勿关闭!
-
+
检测到设备连接,是否启动测试?
-
+
确定
-
+
取消
-
-
-
+
+
+
不能创建更多项目
@@ -1008,52 +1028,52 @@
设备已断开连接
-
+
打开设备失败
-
+
保存
-
+
xls表格(*.xls)
-
+
导出成功
-
+
导出失败
-
+
非法的用户
-
+
密码错误
-
+
数据库错误
-
+
连接错误
-
+
错误
diff --git a/app/HGProductionTool/mainwindow.cpp b/app/HGProductionTool/mainwindow.cpp
index f098f31..7915e95 100644
--- a/app/HGProductionTool/mainwindow.cpp
+++ b/app/HGProductionTool/mainwindow.cpp
@@ -40,6 +40,8 @@ MainWindow::MainWindow(HGPdtToolDbUserMgr pdtToolDbuserMgr, Dialog_logIn::LogInT
if (m_loginType == Dialog_logIn::LogInType_Burn)
{
+ setWindowTitle(tr("production tool-burn station"));
+
ui->act_newDevice->setVisible(false);
ui->act_refreshDevice->setVisible(false);
@@ -83,9 +85,12 @@ MainWindow::MainWindow(HGPdtToolDbUserMgr pdtToolDbuserMgr, Dialog_logIn::LogInT
ui->act_upload->setVisible(false);
}
- HGChar userName[128] = {0};
- HGPdtToolDb_GetUserName(m_pdtToolDbuserMgr, userName, 128);
- setWindowTitle(userName);
+ if (m_loginType == Dialog_logIn::LogInType_InitTest)
+ setWindowTitle(tr("production tool-init test station"));
+ else if (m_loginType == Dialog_logIn::LogInType_ImageTest)
+ setWindowTitle(tr("production tool-image test station"));
+ if (m_loginType == Dialog_logIn::LogInType_PressureTest)
+ setWindowTitle(tr("production tool-pressure test station"));
SANE_Int v = 0;
sane_init_ex(&v, sane_ex_callback, this);