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;