应答器添加LEU索引数据

This commit is contained in:
joylink_fanyuhong 2024-07-11 16:29:10 +08:00
parent 2136bd3c0f
commit 9112a3c73a
3 changed files with 30 additions and 0 deletions

View File

@ -47,6 +47,20 @@
@blur="onUpdate" @blur="onUpdate"
label="原编号" label="原编号"
/> />
<q-input
outlined
class="q-mt-md"
v-model="transponderModel.leuIndex"
@blur="onUpdate"
label="LEU索引"
/>
<q-input
outlined
class="q-mt-md"
v-model="transponderModel.leuInsideIndex"
@blur="onUpdate"
label="LEU内部索引"
/>
<q-select <q-select
outlined outlined
class="q-mt-md" class="q-mt-md"

View File

@ -99,6 +99,18 @@ export class TransponderData
set originalCode(v: string) { set originalCode(v: string) {
this.data.originalCode = v; this.data.originalCode = v;
} }
get leuIndex(): number {
return this.data.leuIndex;
}
set leuIndex(v: number) {
this.data.leuIndex = v;
}
get leuInsideIndex(): number {
return this.data.leuInsideIndex;
}
set leuInsideIndex(v: number) {
this.data.leuInsideIndex = v;
}
clone(): TransponderData { clone(): TransponderData {
return new TransponderData(this.data.cloneMessage()); return new TransponderData(this.data.cloneMessage());
} }

View File

@ -39,6 +39,10 @@ export interface ITransponderData extends GraphicData {
set type(v: TransponderTypeEnum); set type(v: TransponderTypeEnum);
get originalCode(): string; //原编号 get originalCode(): string; //原编号
set originalCode(v: string); set originalCode(v: string);
get leuIndex(): number; //LEU索引
set leuIndex(v: number);
get leuInsideIndex(): number; //LEU内部索引
set leuInsideIndex(v: number);
clone(): ITransponderData; clone(): ITransponderData;
copyFrom(data: ITransponderData): void; copyFrom(data: ITransponderData): void;
eq(other: ITransponderData): boolean; eq(other: ITransponderData): boolean;