From 1a6376096f8fca13523a5936695bbea661349feb Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Thu, 4 Jan 2024 16:17:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=AD=94=E5=99=A8=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/packages/Transponder/TransponderConfig.d.ts | 5 +++++ src/packages/Transponder/TransponderConfig.ts | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) 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; // 无源应答器固定报文