diff --git a/src/components/draw-app/properties/SectionProperty.vue b/src/components/draw-app/properties/SectionProperty.vue index 1f94e0c..15e6238 100644 --- a/src/components/draw-app/properties/SectionProperty.vue +++ b/src/components/draw-app/properties/SectionProperty.vue @@ -14,6 +14,11 @@ @blur="onUpdate" label="目的地码" /> + ; code?: string; @@ -3615,6 +3625,7 @@ export namespace graphicData { axleCountings?: string[]; children?: string[]; destinationCode?: string; + turning?: boolean; }): Section { const message = new Section({}); if (data.common != null) { @@ -3644,6 +3655,9 @@ export namespace graphicData { if (data.destinationCode != null) { message.destinationCode = data.destinationCode; } + if (data.turning != null) { + message.turning = data.turning; + } return message; } toObject() { @@ -3657,6 +3671,7 @@ export namespace graphicData { axleCountings?: string[]; children?: string[]; destinationCode?: string; + turning?: boolean; } = {}; if (this.common != null) { data.common = this.common.toObject(); @@ -3685,6 +3700,9 @@ export namespace graphicData { if (this.destinationCode != null) { data.destinationCode = this.destinationCode; } + if (this.turning != null) { + data.turning = this.turning; + } return data; } serialize(): Uint8Array; @@ -3709,6 +3727,8 @@ export namespace graphicData { writer.writeRepeatedString(8, this.children); if (this.destinationCode.length) writer.writeString(9, this.destinationCode); + if (this.turning != false) + writer.writeBool(10, this.turning); if (!w) return writer.getResultBuffer(); } @@ -3745,6 +3765,9 @@ export namespace graphicData { case 9: message.destinationCode = reader.readString(); break; + case 10: + message.turning = reader.readBool(); + break; default: reader.skipField(); } } diff --git a/xian-ncc-da-message b/xian-ncc-da-message index 464d121..444643d 160000 --- a/xian-ncc-da-message +++ b/xian-ncc-da-message @@ -1 +1 @@ -Subproject commit 464d12188c06e2f92d3879fb06ac56c1d4042e27 +Subproject commit 444643def119d639d49c6ce9be7836dea1a6eaf3