Compare commits
17
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9210b37b44 | ||
|
|
b01bf896bc | ||
|
|
ba849b24aa | ||
|
|
90b24b869b | ||
|
|
7257693800 | ||
|
|
216cab1f17 | ||
|
|
e14847698b | ||
|
|
0c98b14cce | ||
|
|
5c8eb11033 | ||
|
|
eea27efbc6 | ||
|
|
d76078959f | ||
|
|
0e5252bd94 | ||
|
|
6ab9c1b597 | ||
|
|
f0a7b0057c | ||
|
|
9bdf2d3269 | ||
|
|
9e2cd6eefc | ||
|
|
db5b286fa4 |
+1
-1
@@ -11,7 +11,7 @@
|
||||
#include <QDir>
|
||||
|
||||
#pragma execution_character_set("utf-8")
|
||||
const std::string softwareVersion = "20251111-2.2.0-beta";
|
||||
const std::string softwareVersion = "20251116-2.2.0";
|
||||
const std::string euiJsonVersion = "1.0.6";
|
||||
#define globalDatabasePth "./sqlDatabase/eui_db.db" //全局数据库路径
|
||||
#define saveImgEnable 1
|
||||
|
||||
@@ -1,192 +0,0 @@
|
||||
("默认标题") -> ("Default Title")
|
||||
("编辑参数") -> ("Edit Parameters")
|
||||
("值:") -> ("Value:")
|
||||
("重试") -> ("Retry")
|
||||
("重新进行初始化") -> ("Reinitialize")
|
||||
("离线模式") -> ("Offline Mode")
|
||||
("正在初始化...") -> ("Initializing...")
|
||||
("控制台日志...") -> ("Console Log...")
|
||||
("History") -> ("History")
|
||||
("历史记录") -> ("History")
|
||||
("Camera Label") -> ("Camera Label")
|
||||
("相机标签") -> ("Camera Label")
|
||||
("放大窗口") -> ("Zoom In")
|
||||
("缩小窗口") -> ("Zoom Out")
|
||||
("Go Back") -> ("Go Back")
|
||||
("返回上一级") -> ("Go Back")
|
||||
("Back to Menu") -> ("Back to Menu")
|
||||
("返回目录") -> ("Back to Menu")
|
||||
("Current Run Data") -> ("Current Run Data")
|
||||
("长度") -> ("Length")
|
||||
("待读取") -> ("Pending")
|
||||
("宽度:") -> ("Width:")
|
||||
("Detecting...") -> ("Detecting...")
|
||||
("系统状态: %1\n") -> ("System status: %1\n")
|
||||
("监控异常") -> ("Monitoring Error")
|
||||
("监控错误: %1") -> ("Monitor error: %1")
|
||||
("执行命令") -> ("Execute Command")
|
||||
("提示") -> ("Confirm")
|
||||
("确定要执行此操作吗?") -> ("Are you sure you want to execute this action?")
|
||||
("班次") -> ("Shift")
|
||||
("SN查询") -> ("SN Search")
|
||||
("导出为CSV") -> ("Export as CSV")
|
||||
("CSV文件 (*.csv)") -> ("CSV File (*.csv)")
|
||||
("导出成功") -> ("Export Successful")
|
||||
("数据已成功导出到:\n") -> ("Data successfully exported to:\n")
|
||||
("导出失败") -> ("Export Failed")
|
||||
("导出CSV文件失败,请检查路径或数据库状态。") -> ("Failed to export CSV. Please check the path or database status.")
|
||||
("刷新") -> ("Refresh")
|
||||
("查询") -> ("Search")
|
||||
("导出") -> ("Export")
|
||||
("数据库操作界面") -> ("Database Operations")
|
||||
("服务已离线") -> ("Service is offline")
|
||||
("权限不足") -> ("Insufficient permissions")
|
||||
("您没有足够的权限执行此操作。\n\n需要权限级别: %1\n当前权限级别: %2") -> ("You do not have sufficient permissions to perform this action.\n\nRequired level: %1\nCurrent level: %2")
|
||||
("日志") -> ("Log")
|
||||
("控制台") -> ("Console")
|
||||
("系统日志") -> ("System Log")
|
||||
("打开日志文件夹") -> ("Open Log Folder")
|
||||
("自动滚动") -> ("Auto Scroll")
|
||||
("确定") -> ("Confirm")
|
||||
("欢迎!") -> ("Welcome!")
|
||||
("工程师") -> ("Engineer")
|
||||
("售后") -> ("After-sales")
|
||||
("调试") -> ("Debug")
|
||||
("退出") -> ("Exit")
|
||||
("生产数据采集") -> ("Production Data Collection")
|
||||
("(规格上限)") -> ("(Spec Upper Limit)")
|
||||
("(均值)") -> ("(Mean)")
|
||||
("(标准差)") -> ("(Std Dev)")
|
||||
("(规格下限)") -> ("(Spec Lower Limit)")
|
||||
("CPK计算") -> ("CPK Calculation")
|
||||
("cpk长度") -> ("CPK Length")
|
||||
("cpk宽度") -> ("CPK Width")
|
||||
("输入坐标") -> ("Enter Coordinates")
|
||||
("请输入X坐标") -> ("Enter X coordinate")
|
||||
("请输入Y坐标") -> ("Enter Y coordinate")
|
||||
("X坐标:") -> ("X Coordinate:")
|
||||
("Y坐标:") -> ("Y Coordinate:")
|
||||
("输入错误") -> ("Input Error")
|
||||
("请输入有效的坐标数值") -> ("Please enter valid coordinates")
|
||||
("左上") -> ("Top-Left")
|
||||
("中上") -> ("Top-Center")
|
||||
("右上") -> ("Top-Right")
|
||||
("中右") -> ("Right-Center")
|
||||
("中心") -> ("Center")
|
||||
("中左") -> ("Left-Center")
|
||||
("左下") -> ("Bottom-Left")
|
||||
("中下") -> ("Bottom-Center")
|
||||
("右下") -> ("Bottom-Right")
|
||||
("请按照数字顺序依次拍摄标定点图像") -> ("Please capture calibration point images in numeric order")
|
||||
("拍摄当前点") -> ("Capture Current Point")
|
||||
("上一个") -> ("Previous")
|
||||
("下一个") -> ("Next")
|
||||
("修改坐标") -> ("Modify Coordinates")
|
||||
("重新拍摄当前点") -> ("Retake Current Point")
|
||||
("全部重新拍照") -> ("Retake All Points")
|
||||
("准备开始标定") -> ("Ready to start calibration")
|
||||
("第 %1 个标定点已经拍摄过了") -> ("Point %1 has already been captured")
|
||||
("已拍摄第 %1 个标定点") -> ("Captured point %1")
|
||||
("已取消第 %1 个标定点的坐标输入") -> ("Cancelled coordinate input for point %1")
|
||||
("第 %1 个标定点没有图像,无法修改坐标") -> ("Point %1 has no image, cannot modify coordinates")
|
||||
("已修改第 %1 个标定点的坐标") -> ("Modified coordinates for point %1")
|
||||
("重新拍摄选项") -> ("Retake Options")
|
||||
("请选择操作:") -> ("Select an action:")
|
||||
("重新拍摄图像") -> ("Retake Image")
|
||||
("仅修改坐标") -> ("Modify Coordinates Only")
|
||||
("已重新拍摄第 %1 个标定点") -> ("Retook point %1")
|
||||
("确认重新拍摄") -> ("Confirm Retake")
|
||||
("确定要全部重新拍摄吗?\n这将清除所有已拍摄的图像和坐标数据!") -> ("Are you sure you want to retake all points?\nThis will clear all captured images and coordinate data!")
|
||||
("已重置所有标定点,请重新开始标定") -> ("All calibration points have been reset. Please start calibration again")
|
||||
("九点标定完成!正在处理数据...") -> ("Nine-point calibration complete! Processing data...")
|
||||
("标定计算完成!") -> ("Calibration calculations complete!")
|
||||
("保存标定结果...") -> ("Saving calibration results...")
|
||||
("开始时间:") -> ("Start Time:")
|
||||
("结束时间:") -> ("End Time:")
|
||||
("导出数据为表格") -> ("Export Data to Table")
|
||||
("请选择日期") -> ("Please select a date")
|
||||
("导出选项") -> ("Export Options")
|
||||
("选择导出路径") -> ("Select Export Path")
|
||||
("导出指定时间段数据为csv表格") -> ("Export specified time-range data to CSV")
|
||||
("导出数据为CSV表格") -> ("Export data to CSV")
|
||||
("搜索结果") -> ("Search Results")
|
||||
("找不到数据") -> ("No data found")
|
||||
("检索不到数据!") -> ("No data found!")
|
||||
("CSV文件保存成功") -> ("CSV file saved successfully")
|
||||
("无法创建CSV文件") -> ("Unable to create CSV file")
|
||||
("没有权限或空间不足!") -> ("No permission or insufficient space!")
|
||||
("成功!") -> ("Export succeeded!")
|
||||
("无法打开CSV文件") -> ("Unable to open CSV file")
|
||||
("文件已存在且无法被写入!") -> ("File already exists and cannot be written!")
|
||||
("刷新相机") -> ("Refresh Cameras")
|
||||
("开始取流") -> ("Start Grabbing")
|
||||
("保存图像") -> ("Save Image")
|
||||
("实时取流") -> ("Real-time Grabbing")
|
||||
("提示") -> ("Notice")
|
||||
("没有可保存的图像") -> ("No image available to save")
|
||||
("保存失败") -> ("Save Failed")
|
||||
("无法保存图像到所选位置") -> ("Unable to save image to selected location")
|
||||
("停止取流") -> ("Stop Grabbing")
|
||||
("当前版本: v%1 | 提交版本: %2") -> ("Current version: v%1 | Commit: %2")
|
||||
("选择语言/Language/Bahasa:") -> ("Select Language / Language / Bahasa:")
|
||||
("设置1920x1040") -> ("Set 1920x1040")
|
||||
("九点标定") -> ("Nine-Point Calibration")
|
||||
("相机实时取流(只适配软触发相机)") -> ("Camera Real-time Capture (soft-trigger only)")
|
||||
("打开配置文件") -> ("Open Config File")
|
||||
("小工具") -> ("Toolbox")
|
||||
("运行数据") -> ("Run Data")
|
||||
("OK数量") -> ("OK Count")
|
||||
("NG数量") -> ("NG Count")
|
||||
("总数量") -> ("Total Count")
|
||||
("JSON 表格编辑器") -> ("JSON Table Editor")
|
||||
("选项") -> ("Option")
|
||||
("值") -> ("Value")
|
||||
("保存") -> ("Save")
|
||||
("取消") -> ("Cancel")
|
||||
("第 %1 行数据不完整") -> ("Row %1 data is incomplete")
|
||||
("第 %1 行 key 为空") -> ("Row %1 key is empty")
|
||||
("第 %1 行找不到原始类型信息") -> ("Original type information not found for row %1")
|
||||
("类型验证失败") -> ("Type Validation Failed")
|
||||
("第 %1 行值验证失败:\n%2") -> ("Row %1 value validation failed:\n%2")
|
||||
("布尔值控件类型错误") -> ("Boolean control type mismatch")
|
||||
("数字控件类型错误") -> ("Number control type mismatch")
|
||||
("字符串控件类型错误") -> ("String control type mismatch")
|
||||
("获取值错误: %1") -> ("Get value error: %1")
|
||||
("字符串") -> ("String")
|
||||
("数字") -> ("Number")
|
||||
("布尔") -> ("Boolean")
|
||||
("数组") -> ("Array")
|
||||
("对象") -> ("Object")
|
||||
("空值") -> ("Null")
|
||||
("未知") -> ("Unknown")
|
||||
("输入字符串值(不需要引号)") -> ("Enter a string value (no quotes required)")
|
||||
("输入数字值(整数或小数)") -> ("Enter a numeric value (integer or decimal)")
|
||||
("输入布尔值(true 或 false)") -> ("Enter a boolean value (true or false)")
|
||||
("输入JSON数组格式,如:[1,2,3] 或 [\"a\",\"b\"]") -> ("Enter a JSON array, e.g., [1,2,3] or [\"a\",\"b\"]")
|
||||
("输入JSON对象格式,如:{\"key\":\"value\"}") -> ("Enter a JSON object, e.g., {\"key\":\"value\"}")
|
||||
("空值(输入 null)") -> ("Null (enter null)")
|
||||
("请输入有效的JSON值") -> ("Please enter a valid JSON value")
|
||||
("输入值过大(超过10240字符)") -> ("Input value too large (exceeds 10240 characters)")
|
||||
("无效的数字格式") -> ("Invalid numeric format")
|
||||
("布尔值只能是 true 或 false") -> ("Boolean must be true or false")
|
||||
("空值只能是 null") -> ("Null value must be null")
|
||||
("期望数组格式,如:[1,2,3]") -> ("Expected array format, e.g., [1,2,3]")
|
||||
("期望对象格式,如:{\"key\":\"value\"}") -> ("Expected object format, e.g., {\"key\":\"value\"}")
|
||||
("未知的数据类型") -> ("Unknown data type")
|
||||
("JSON解析错误: %1") -> ("JSON parse error: %1")
|
||||
("转换错误: %1") -> ("Conversion error: %1")
|
||||
("通用 JSON 编辑") -> ("General JSON Editor")
|
||||
("确定") -> ("OK")
|
||||
("请输入 JSON:") -> ("Please enter JSON:")
|
||||
("警告") -> ("Warning")
|
||||
("JSON 内容不能为空") -> ("JSON content cannot be empty")
|
||||
("JSON 内容过大,可能导致崩溃") -> ("JSON content is too large and may cause a crash")
|
||||
("解析错误") -> ("Parse Error")
|
||||
("JSON 解析失败:\n%1") -> ("JSON parse failed:\n%1")
|
||||
("错误") -> ("Error")
|
||||
("数字控件INT类型错误") -> ("Integer number control type mismatch")
|
||||
("输入数字值(整数)") -> ("Enter an integer value")
|
||||
("输入数字值(小数)") -> ("Enter a decimal value")
|
||||
("执行命令") -> ("Execute Command")
|
||||
("提示") -> ("Confirm")
|
||||
("确定要执行此操作吗?") -> ("Are you sure you want to execute this action?")
|
||||
@@ -1,3 +0,0 @@
|
||||
展图时,如果图像的长宽超过5000像素时会被压缩一半,直到长宽不超过5000
|
||||
3D相机连接示例<ip#192.168.31.1+deviceId#0+xImageSize#3200+yImageSize#850+imgTarget#1>
|
||||
算法回调函数需要包含完整的算法流程以及发送信号,发送ui图表等操作
|
||||
Binary file not shown.
@@ -1,7 +0,0 @@
|
||||
Language: Cpp
|
||||
BasedOnStyle: Google
|
||||
UseTab: Never # 使用空格而不是制表符。
|
||||
IndentWidth: 4 # 缩进宽度为4个空格。
|
||||
TabWidth: 4 # Tab长度
|
||||
ColumnLimit: 0
|
||||
SortIncludes: false
|
||||
Binary file not shown.
@@ -1,54 +0,0 @@
|
||||
@echo off
|
||||
echo Starting code formatting...
|
||||
|
||||
:: 定义要格式化的多个文件夹
|
||||
set "FOLDER_1=../src"
|
||||
set "FOLDER_2=../include"
|
||||
set "FOLDER_3=../subModule"
|
||||
set "FOLDER_4=../rpcModule"
|
||||
|
||||
echo Formatting multiple folders...
|
||||
echo.
|
||||
|
||||
:: 格式化第一个文件夹
|
||||
if exist "%FOLDER_1%" (
|
||||
echo Processing folder: %FOLDER_1%
|
||||
for /r "%FOLDER_1%" %%i in (*.cpp *.h) do (
|
||||
echo Formatting: %%i
|
||||
clang-format -i "%%i"
|
||||
)
|
||||
echo.
|
||||
)
|
||||
|
||||
:: 格式化第二个文件夹
|
||||
if exist "%FOLDER_2%" (
|
||||
echo Processing folder: %FOLDER_2%
|
||||
for /r "%FOLDER_2%" %%i in (*.cpp *.h) do (
|
||||
echo Formatting: %%i
|
||||
clang-format -i "%%i"
|
||||
)
|
||||
echo.
|
||||
)
|
||||
|
||||
:: 格式化第三个文件夹
|
||||
if exist "%FOLDER_3%" (
|
||||
echo Processing folder: %FOLDER_3%
|
||||
for /r "%FOLDER_3%" %%i in (*.cpp *.h) do (
|
||||
echo Formatting: %%i
|
||||
clang-format -i "%%i"
|
||||
)
|
||||
echo.
|
||||
)
|
||||
|
||||
:: 格式化第4个文件夹
|
||||
if exist "%FOLDER_4%" (
|
||||
echo Processing folder: %FOLDER_4%
|
||||
for /r "%FOLDER_4%" %%i in (*.cpp *.h) do (
|
||||
echo Formatting: %%i
|
||||
clang-format -i "%%i"
|
||||
)
|
||||
echo.
|
||||
)
|
||||
|
||||
echo Formatting completed!
|
||||
pause
|
||||
Binary file not shown.
+1
-1
@@ -765,7 +765,7 @@
|
||||
"ms-MY": "Akan berubah selepas restart",
|
||||
"zh-CN": "重启后将会更改"
|
||||
},
|
||||
"您没有足够的权限执行此操作。\n\n需要权限级别: %1\n当前权限级别: %2": {
|
||||
"You do not have sufficient permissions to perform this action.\n\nRequired level: %1\nCurrent level: %2": {
|
||||
"ms-MY": "Anda tidak mempunyai kebenaran yang mencukupi untuk melaksanakan tindakan ini.\n\nTahap diperlukan: %1\nTahap semasa: %2",
|
||||
"us-EN": "You do not have sufficient permissions to perform this action.\n\nRequired level: %1\nCurrent level: %2",
|
||||
"zh-CN": "您没有足够的权限执行此操作。\n\n所需等级: %1\n当前等级: %2"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 42 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 75 KiB |
Reference in New Issue
Block a user