From dbecb1ff1572ae9cbe1c3e33eae1e6cbcde35cee Mon Sep 17 00:00:00 2001 From: shefengchun <1077478963@qq.com> Date: Wed, 15 Feb 2023 09:34:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8A=A8=E6=80=81=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FusionSettings/DensityCorrection.vue | 1165 +++++++++++------ .../FusionSettings/FourPointCalibration.vue | 780 ++++------- .../FusionSettings/SurfaceCorrection.vue | 1122 ++++++---------- src/components/FusionSettingsDialog.vue | 2 +- src/entities/DensityCorrection.ts | 7 + src/entities/DensityCorrectionPoint.ts | 7 + src/i18n/en-US/index.ts | 10 +- src/i18n/zh-CN/index.ts | 10 +- 8 files changed, 1459 insertions(+), 1644 deletions(-) create mode 100644 src/entities/DensityCorrection.ts create mode 100644 src/entities/DensityCorrectionPoint.ts diff --git a/src/components/FusionSettings/DensityCorrection.vue b/src/components/FusionSettings/DensityCorrection.vue index f040a7a..f61e155 100644 --- a/src/components/FusionSettings/DensityCorrection.vue +++ b/src/components/FusionSettings/DensityCorrection.vue @@ -1,33 +1,39 @@ + diff --git a/src/components/FusionSettings/FourPointCalibration.vue b/src/components/FusionSettings/FourPointCalibration.vue index 772f124..88c0f28 100644 --- a/src/components/FusionSettings/FourPointCalibration.vue +++ b/src/components/FusionSettings/FourPointCalibration.vue @@ -1,120 +1,97 @@ - diff --git a/src/components/FusionSettings/SurfaceCorrection.vue b/src/components/FusionSettings/SurfaceCorrection.vue index 71d21ad..60e6750 100644 --- a/src/components/FusionSettings/SurfaceCorrection.vue +++ b/src/components/FusionSettings/SurfaceCorrection.vue @@ -1,222 +1,133 @@ + diff --git a/src/components/FusionSettingsDialog.vue b/src/components/FusionSettingsDialog.vue index 8d555a8..5e7abdc 100644 --- a/src/components/FusionSettingsDialog.vue +++ b/src/components/FusionSettingsDialog.vue @@ -321,7 +321,7 @@ export default defineComponent({ tmp = '9' break; case 'DensityCorrection': - tmp = 'density' + tmp = 'hor_density' break; default: break; diff --git a/src/entities/DensityCorrection.ts b/src/entities/DensityCorrection.ts new file mode 100644 index 0000000..2b43f5c --- /dev/null +++ b/src/entities/DensityCorrection.ts @@ -0,0 +1,7 @@ +export default class DensityCorrection { + control_point = 0; + x = 0; + y = 0; + def_x = 0; + def_y = 0; +} diff --git a/src/entities/DensityCorrectionPoint.ts b/src/entities/DensityCorrectionPoint.ts new file mode 100644 index 0000000..6c1cf6b --- /dev/null +++ b/src/entities/DensityCorrectionPoint.ts @@ -0,0 +1,7 @@ +export default class DensityCorrectionPoint { + control_point = 0; + x = 0; + y = 0; + def_x = 0; + def_y = 0; +} diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index ef22767..184cc91 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -453,5 +453,13 @@ export default { "line width":"line width", "level":"level", "vertical":"vertical", - "auxiliary lines":"auxiliary lines" + "auxiliary lines":"auxiliary lines", + "level point":"level point amount", + "vertical point ":"vertical point amount", + "point amount":"point amount", + "add control points":"add control points", + "reduce control points":"reduce control points", + "OK to delete you will lose the data you adjusted now":"OK to delete you will lose the data you adjusted now", + "Please enter the points you need to add":"Please enter the points you need to add", + "Whether to add control points":"Whether to add control points" }; diff --git a/src/i18n/zh-CN/index.ts b/src/i18n/zh-CN/index.ts index 7b55ac1..ffc897e 100644 --- a/src/i18n/zh-CN/index.ts +++ b/src/i18n/zh-CN/index.ts @@ -722,5 +722,13 @@ export default { "line width":"线宽", "level":"水平", "vertical":"垂直", - "auxiliary lines":"辅助线" + "auxiliary lines":"辅助线", + "level point":"水平点数量", + "vertical point":"垂直点数量", + "point amount":"点数量", + "add control points":"增加", + "reduce control points":"减少", + "OK to delete you will lose the data you adjusted now":"确定删除你将失去现在调整的数据", + "Please enter the points you need to add":"请输入你所需要添加的点数", + "Whether to add control points":"是否添加控制点" };