diff --git a/components/packages/Transponder/TransponderConfig.d.ts b/components/packages/Transponder/TransponderConfig.d.ts index 03e7d4f..415bf7f 100644 --- a/components/packages/Transponder/TransponderConfig.d.ts +++ b/components/packages/Transponder/TransponderConfig.d.ts @@ -1,7 +1,12 @@ +import { IRelatedRef, KilometerSystem } from 'common/common'; import { GraphicData } from 'jl-graphic'; export interface ITransponderData extends GraphicData { get code(): string; set code(v: string); + get kilometerSystem(): KilometerSystem; + set kilometerSystem(v: KilometerSystem); + get TransponderRef(): IRelatedRef; + set TransponderRef(v: IRelatedRef); get centralizedStations(): number[]; set centralizedStations(v: number[]); get fixedTelegram(): Uint8Array; diff --git a/src/packages/Transponder/TransponderConfig.ts b/src/packages/Transponder/TransponderConfig.ts index 67751c3..133e65d 100644 --- a/src/packages/Transponder/TransponderConfig.ts +++ b/src/packages/Transponder/TransponderConfig.ts @@ -1,12 +1,13 @@ +import { IRelatedRef, KilometerSystem } from 'common/common'; import { GraphicData } from 'jl-graphic'; export interface ITransponderData extends GraphicData { get code(): string; // 编号 set code(v: string); - // get kilometerSystem(): KilometerSystem; - // set kilometerSystem(v: KilometerSystem); - // get TransponderRef(): IRelatedRefData; - // set TransponderRef(v: IRelatedRefData); + get kilometerSystem(): KilometerSystem; + set kilometerSystem(v: KilometerSystem); + get TransponderRef(): IRelatedRef; + set TransponderRef(v: IRelatedRef); get centralizedStations(): number[]; set centralizedStations(v: number[]); get fixedTelegram(): Uint8Array; // 无源应答器固定报文