From 850e79c28a6b415894378f74f689a3388dd8272d Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Wed, 20 Sep 2023 14:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E8=99=9A=E6=8B=9F=E8=AE=A1?= =?UTF-8?q?=E8=BD=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../properties/AxleCountingProperty.vue | 13 ----------- .../graphics/AxleCountingInteraction.ts | 6 ----- src/graphics/axleCounting/AxleCounting.ts | 8 ------- src/protos/stationLayoutGraphics.ts | 23 ------------------- 4 files changed, 50 deletions(-) diff --git a/src/components/draw-app/properties/AxleCountingProperty.vue b/src/components/draw-app/properties/AxleCountingProperty.vue index e5dd9c3..d614e73 100644 --- a/src/components/draw-app/properties/AxleCountingProperty.vue +++ b/src/components/draw-app/properties/AxleCountingProperty.vue @@ -52,15 +52,6 @@ @update:model-value="onUpdate" label="方向" > - ; axleCountingRef?: ReturnType[]; index?: number; - invent?: boolean; type?: AxleCounting.TypeDetectionPoint; }): AxleCounting { const message = new AxleCounting({}); @@ -1790,9 +1779,6 @@ export namespace graphicData { if (data.index != null) { message.index = data.index; } - if (data.invent != null) { - message.invent = data.invent; - } if (data.type != null) { message.type = data.type; } @@ -1805,7 +1791,6 @@ export namespace graphicData { kilometerSystem?: ReturnType; axleCountingRef?: ReturnType[]; index?: number; - invent?: boolean; type?: AxleCounting.TypeDetectionPoint; } = {}; if (this.common != null) { @@ -1823,9 +1808,6 @@ export namespace graphicData { if (this.index != null) { data.index = this.index; } - if (this.invent != null) { - data.invent = this.invent; - } if (this.type != null) { data.type = this.type; } @@ -1845,8 +1827,6 @@ export namespace graphicData { writer.writeRepeatedMessage(4, this.axleCountingRef, (item: RelatedRef) => item.serialize(writer)); if (this.index != 0) writer.writeInt32(5, this.index); - if (this.invent != false) - writer.writeBool(6, this.invent); if (this.type != AxleCounting.TypeDetectionPoint.AxleCounting) writer.writeEnum(7, this.type); if (!w) @@ -1873,9 +1853,6 @@ export namespace graphicData { case 5: message.index = reader.readInt32(); break; - case 6: - message.invent = reader.readBool(); - break; case 7: message.type = reader.readEnum(); break;