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