From 5eecd80622b952aa88c53372f92ff6d333296753 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Fri, 19 Jan 2024 15:29:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/packages/Turnout/common/TurnoutConfig.d.ts | 2 +- src/packages/Turnout/common/TurnoutConfig.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/packages/Turnout/common/TurnoutConfig.d.ts b/components/packages/Turnout/common/TurnoutConfig.d.ts index 73712fe..5264a7a 100644 --- a/components/packages/Turnout/common/TurnoutConfig.d.ts +++ b/components/packages/Turnout/common/TurnoutConfig.d.ts @@ -53,7 +53,7 @@ export interface ITurnoutData extends GraphicData { pcTrackSectionId?: number; switchMachineType?: SwitchMachineType; centralizedStations?: number[]; - centralizedStation?: number[]; + centralizedStation?: number; clone(): ITurnoutData; copyFrom(data: ITurnoutData): void; eq(other: ITurnoutData): boolean; diff --git a/src/packages/Turnout/common/TurnoutConfig.ts b/src/packages/Turnout/common/TurnoutConfig.ts index de68959..c9ede81 100644 --- a/src/packages/Turnout/common/TurnoutConfig.ts +++ b/src/packages/Turnout/common/TurnoutConfig.ts @@ -58,7 +58,7 @@ export interface ITurnoutData extends GraphicData { pcTrackSectionId?: number; switchMachineType?: SwitchMachineType; // 转辙机类型--北京 centralizedStations?: number[]; // 集中站Id列表--北京 - centralizedStation?: number[]; // 所属集中站--西安 + centralizedStation?: number; // 所属集中站--西安 clone(): ITurnoutData; copyFrom(data: ITurnoutData): void; eq(other: ITurnoutData): boolean;