This commit is contained in:
fan 2023-07-14 15:36:49 +08:00
commit d52c6e3732
9 changed files with 22 additions and 22 deletions

View File

@ -7,12 +7,12 @@
label="id"
hint=""
/>
<q-input
<q-input
outlined
label="计轴索引编号"
type="textarea"
@blur="onUpdate"
v-model="axleCountingModel.indexNumber"
v-model="axleCountingModel.index"
lazy-rules
autogrow
/>

View File

@ -12,7 +12,7 @@
label="计轴区段索引编号"
type="textarea"
@blur="onUpdate"
v-model="axleCountingSectionModel.indexNumber"
v-model="axleCountingSectionModel.index"
lazy-rules
autogrow
/>

View File

@ -12,7 +12,7 @@
label="索引编号"
type="textarea"
@blur="onUpdate"
v-model="logicSectionModel.indexNumber"
v-model="logicSectionModel.index"
lazy-rules
autogrow
/>

View File

@ -44,11 +44,11 @@ export class AxleCountingData
set axleCountingRef(points: graphicData.RelatedRef[]) {
this.data.axleCountingRef = points;
}
get indexNumber(): number {
return this.data.indexNumber;
get index(): number {
return this.data.index;
}
set indexNumber(v: number) {
this.data.indexNumber = v;
set index(v: number) {
this.data.index = v;
}
clone(): AxleCountingData {
return new AxleCountingData(this.data.cloneMessage());

View File

@ -58,11 +58,11 @@ export class AxleCountingSectionData
set turnoutPosRef(points: ITurnoutPosRefData[]) {
this.data.turnoutPos = points.map((p) => new graphicData.TurnoutPosRef(p));
}
get indexNumber(): number {
return this.data.indexNumber;
get index(): number {
return this.data.index;
}
set indexNumber(v: number) {
this.data.indexNumber = v;
set index(v: number) {
this.data.index = v;
}
clone(): AxleCountingSectionData {
return new AxleCountingSectionData(this.data.cloneMessage());

View File

@ -45,11 +45,11 @@ export class LogicSectionData
set axleSectionId(v: string) {
this.data.axleSectionId = v;
}
get indexNumber(): number {
return this.data.indexNumber;
get index(): number {
return this.data.index;
}
set indexNumber(v: number) {
this.data.indexNumber = v;
set index(v: number) {
this.data.index = v;
}
get turnoutId(): string {
return this.data.turnoutId;

View File

@ -16,8 +16,8 @@ export interface IAxleCountingData extends GraphicData {
set kilometerSystem(v: KilometerSystem);
get axleCountingRef(): IRelatedRefData[]; //关联的设备
set axleCountingRef(ref: IRelatedRefData[]);
get indexNumber(): number; // 索引编号
set indexNumber(v: number);
get index(): number; // 索引编号
set index(v: number);
clone(): IAxleCountingData;
copyFrom(data: IAxleCountingData): void;
eq(other: IAxleCountingData): boolean;

View File

@ -28,8 +28,8 @@ export interface IAxleCountingSectionData extends GraphicData {
set pbRef(ref: IRelatedRefData | undefined);
get turnoutPosRef(): ITurnoutPosRefData[]; //关联道岔的定反位--0是定位1是反位
set turnoutPosRef(ref: ITurnoutPosRefData[]);
get indexNumber(): number; // 索引编号
set indexNumber(v: number);
get index(): number; // 索引编号
set index(v: number);
clone(): IAxleCountingSectionData;
copyFrom(data: IAxleCountingSectionData): void;
eq(other: IAxleCountingSectionData): boolean;

View File

@ -17,8 +17,8 @@ export interface ILogicSectionData extends GraphicData {
set points(points: IPointData[]);
get axleSectionId(): string; // 计轴区段ID
set axleSectionId(v: string);
get indexNumber(): number; // 索引编号
set indexNumber(v: number);
get index(): number; // 索引编号
set index(v: number);
get turnoutId(): string; // 关联岔芯的道岔id
set turnoutId(v: string);
clone(): ILogicSectionData;