diff --git a/app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.qm b/app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.qm index 1e643d9..a135cd2 100644 Binary files a/app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.qm and b/app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.qm differ diff --git a/app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.ts b/app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.ts index fb69185..09f884a 100644 --- a/app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.ts +++ b/app/HGPdtJsonTool/HGPdtJsonTool_zh_CN.ts @@ -148,20 +148,17 @@ 是否锁定: - Test item: Test Id: - 测试项: + 测试项: - Test station: - 测试工位: + 测试工位: - Test type: - 测试类型: + 测试类型: Add @@ -172,7 +169,7 @@ 测试内容: - + Device type: 设备类型: @@ -185,49 +182,49 @@ 删除勾选项 - + SelectAll 全选 - + huagao 华高 - + microtek 中晶 - + hanvon 汉王 - + lanxum 立思辰 - + deli 得力 - + unis 紫光 - + cumtenn 沧田 @@ -235,6 +232,12 @@ nuetral 中性 + + + + auge + 奥鸽 + G100-3399 @@ -255,6 +258,11 @@ G400-3399 + + + G306 + G306 + Not dormant @@ -296,7 +304,7 @@ 4小时 - + Lock 锁定 @@ -353,35 +361,30 @@ 硬盘大小:%1 - + Not locked 不锁定 - Burn - 烧录工位 + 烧录工位 - Initial inspection - 初检工位 + 初检工位 - Image inspection - 图像测试工位 + 图像测试工位 - - - + + automatic testing 自动测试 - - + Manual testing 人工测试 @@ -390,7 +393,7 @@ 例如:0xFFFF - + selected 选择 @@ -399,41 +402,51 @@ 序号 - + Test ID 测试ID - + Test items 测试项目 - + Test station 测试工位 - + Test type 测试类型 - + Test content 测试内容 - - - - - + + resolution + 分辨率 + + + + correct date + 校正数据 + + + + + + + Prompt 提示 - + Please add test item 请添加测试项 @@ -442,32 +455,32 @@ 请添加设备基本信息 - + Pid is empty, device not supported Pid为空,设备不支持 - + Select profile path 选择配置文件 - + Json(*.json) 配置文件(*.json) - + Successfully generated 生成成功 - + Generate filed 生成失败 - + Incomplete information, please check 信息不完整,请检查 diff --git a/app/HGPdtJsonTool/mainwindow.cpp b/app/HGPdtJsonTool/mainwindow.cpp index 610da12..2998962 100644 --- a/app/HGPdtJsonTool/mainwindow.cpp +++ b/app/HGPdtJsonTool/mainwindow.cpp @@ -28,7 +28,7 @@ MainWindow::~MainWindow() void MainWindow::initDeviceInfo() { - QStringList oemName{ tr("huagao"), tr("microtek"), tr("hanvon"), tr("lanxum"), tr("deli"), tr("unis"), tr("cumtenn") }; + QStringList oemName{ tr("huagao"), tr("microtek"), tr("hanvon"), tr("lanxum"), tr("deli"), tr("unis"), tr("cumtenn"), tr("auge") }; ui->comboBox_OEM->addItems(oemName); QStringList deviceType{ tr("G100-3399"), tr("G200-3399"), tr("G300-3288"), tr("G306"), tr("G400-3399") }; @@ -300,6 +300,26 @@ QPair MainWindow::getVidPid(QString oem, QString deviceType) pid = "0"; } } + else if (oem == tr("auge")) + { + vid = "0x3072"; + if (deviceType == "G100-3399") + { + pid = "0x0130"; + } + else if (deviceType == "G200-3399") + { + pid = "0x0230"; + } + else if (deviceType == "G300-3288") + { + pid = "0x0330"; + } + else if (deviceType == "G400-3399") + { + pid = "0x0430"; + } + } QPair vidPid; vidPid.first = vid;