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":"是否添加控制点" };