道岔公里标
This commit is contained in:
parent
7dcd8cac17
commit
4eb6f82f33
@ -316,16 +316,10 @@ export class TurnoutData extends GraphicDataBase implements ITurnoutData {
|
|||||||
get kilometerSystem(): KilometerSystem[] {
|
get kilometerSystem(): KilometerSystem[] {
|
||||||
return this.data.kilometerSystem.length > 0
|
return this.data.kilometerSystem.length > 0
|
||||||
? this.data.kilometerSystem
|
? this.data.kilometerSystem
|
||||||
: [
|
: (this.data.kilometerSystem = [
|
||||||
new graphicData.KilometerSystem({
|
new graphicData.KilometerSystem(),
|
||||||
coordinateSystem: '',
|
new graphicData.KilometerSystem(),
|
||||||
kilometer: 0,
|
]);
|
||||||
}),
|
|
||||||
new graphicData.KilometerSystem({
|
|
||||||
coordinateSystem: '',
|
|
||||||
kilometer: 0,
|
|
||||||
}),
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
set kilometerSystem(value: KilometerSystem[]) {
|
set kilometerSystem(value: KilometerSystem[]) {
|
||||||
this.data.kilometerSystem = value.map(
|
this.data.kilometerSystem = value.map(
|
||||||
|
Loading…
Reference in New Issue
Block a user