|
@@ -15,7 +15,7 @@ export default class HistoryUtil {
|
|
|
point1.category == point2.category &&
|
|
|
point1.locationMode == point2.locationMode &&
|
|
|
point1.linkedBasePointId == point2.linkedBasePointId &&
|
|
|
- point1.linkedTestPointId == point2.linkedTestPointId
|
|
|
+ point1.linkedTextId == point2.linkedTextId
|
|
|
) {
|
|
|
return false;
|
|
|
} else {
|
|
@@ -29,6 +29,8 @@ export default class HistoryUtil {
|
|
|
line1.endId == line2.endId &&
|
|
|
line1.category == line2.category &&
|
|
|
line1.locationMode == line2.locationMode &&
|
|
|
+ line1.linkedFixPointId == line2.linkedFixPointId &&
|
|
|
+ line1.linkedBasePointId == line2.linkedBasePointId &&
|
|
|
line1.style == line2.style &&
|
|
|
line1.weight == line2.weight
|
|
|
) {
|
|
@@ -82,7 +84,8 @@ export default class HistoryUtil {
|
|
|
text1.value == text2.value &&
|
|
|
text1.angle == text2.angle &&
|
|
|
text1.fontSize == text2.fontSize &&
|
|
|
- text1.color == text2.color
|
|
|
+ text1.color == text2.color &&
|
|
|
+ text1.linkedTextId == text2.linkedTextId
|
|
|
) {
|
|
|
return false;
|
|
|
} else {
|
|
@@ -342,7 +345,7 @@ export default class HistoryUtil {
|
|
|
pointInfo.parent = JSON.parse(JSON.stringify(point2.parent));
|
|
|
pointInfo.locationMode = point2.locationMode;
|
|
|
pointInfo.linkedBasePointId = point2.linkedBasePointId;
|
|
|
- pointInfo.linkedTestPointId = point2.linkedTestPointId;
|
|
|
+ pointInfo.linkedTextId == point2.linkedTextId;
|
|
|
pointInfo.category = point2.category;
|
|
|
this.setPointInfo(pointInfo);
|
|
|
}
|
|
@@ -354,6 +357,8 @@ export default class HistoryUtil {
|
|
|
lineInfo.end = line2.end;
|
|
|
lineInfo.category = line2.category;
|
|
|
lineInfo.locationMode = line2.locationMode;
|
|
|
+ lineInfo.linkedFixPointId = line2.linkedFixPointId;
|
|
|
+ lineInfo.linkedBasePointId = line2.linkedBasePointId;
|
|
|
lineInfo.value = line2.value;
|
|
|
lineInfo.style = line2.style;
|
|
|
lineInfo.weight = line2.weight;
|
|
@@ -398,6 +403,7 @@ export default class HistoryUtil {
|
|
|
textInfo.angle = text2.angle;
|
|
|
textInfo.color = text2.color;
|
|
|
textInfo.fontSize = text2.fontSize;
|
|
|
+ textInfo.linkedPointId = text2.linkedPointId;
|
|
|
this.setTextInfo(textInfo);
|
|
|
}
|
|
|
|
|
@@ -598,7 +604,6 @@ export default class HistoryUtil {
|
|
|
data.category = point.category;
|
|
|
data.locationMode = point.locationMode;
|
|
|
data.linkedBasePointId = point.linkedBasePointId;
|
|
|
- data.linkedTestPointId = point.linkedTestPointId;
|
|
|
data.type = point.geoType;
|
|
|
return data;
|
|
|
}
|
|
@@ -610,6 +615,8 @@ export default class HistoryUtil {
|
|
|
data.end = line.endId;
|
|
|
data.category = line.category;
|
|
|
data.locationMode = line.locationMode;
|
|
|
+ data.linkedFixPointId = line.linkedFixPointId;
|
|
|
+ data.linkedBasePointId = line.linkedBasePointId;
|
|
|
data.type = line.geoType;
|
|
|
data.style = line.style;
|
|
|
data.weight = line.weight;
|
|
@@ -836,7 +843,7 @@ export default class HistoryUtil {
|
|
|
point.category = pointInfo.category;
|
|
|
point.locationMode = pointInfo.locationMode;
|
|
|
point.linkedBasePointId = pointInfo.linkedBasePointId;
|
|
|
- point.linkedTestPointId = pointInfo.linkedTestPointId;
|
|
|
+ point.linkedTextId = pointInfo.linkedTextId;
|
|
|
return point;
|
|
|
}
|
|
|
|
|
@@ -846,6 +853,8 @@ export default class HistoryUtil {
|
|
|
line.endId = lineInfo.end;
|
|
|
line.category = lineInfo.category;
|
|
|
line.locationMode = lineInfo.locationMode;
|
|
|
+ line.linkedFixPointId = lineInfo.linkedFixPointId;
|
|
|
+ line.linkedBasePointId = lineInfo.linkedBasePointId;
|
|
|
line.value = lineInfo.value;
|
|
|
line.style = lineInfo.style;
|
|
|
line.weight = lineInfo.weight;
|
|
@@ -893,6 +902,7 @@ export default class HistoryUtil {
|
|
|
text.angle = textInfo.angle;
|
|
|
text.fontSize = textInfo.fontSize;
|
|
|
text.color = textInfo.color;
|
|
|
+ text.linkedPointId = textInfo.linkedPointId;
|
|
|
}
|
|
|
|
|
|
setMagnifierInfo(magnifierInfo) {
|