diff --git a/src/protos/system_warn_message.ts b/src/protos/system_warn_message.ts index 42bb039..97ac234 100644 --- a/src/protos/system_warn_message.ts +++ b/src/protos/system_warn_message.ts @@ -78,6 +78,7 @@ export namespace state { lineId?: number; occRealConned?: boolean; occUnrealConned?: boolean; + atsWarnShowCounter?: boolean; }) { super(); pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls); @@ -91,6 +92,9 @@ export namespace state { if ("occUnrealConned" in data && data.occUnrealConned != undefined) { this.occUnrealConned = data.occUnrealConned; } + if ("atsWarnShowCounter" in data && data.atsWarnShowCounter != undefined) { + this.atsWarnShowCounter = data.atsWarnShowCounter; + } } } get lineId() { @@ -111,10 +115,17 @@ export namespace state { set occUnrealConned(value: boolean) { pb_1.Message.setField(this, 3, value); } + get atsWarnShowCounter() { + return pb_1.Message.getFieldWithDefault(this, 4, false) as boolean; + } + set atsWarnShowCounter(value: boolean) { + pb_1.Message.setField(this, 4, value); + } static fromObject(data: { lineId?: number; occRealConned?: boolean; occUnrealConned?: boolean; + atsWarnShowCounter?: boolean; }): WarnMessage { const message = new WarnMessage({}); if (data.lineId != null) { @@ -126,6 +137,9 @@ export namespace state { if (data.occUnrealConned != null) { message.occUnrealConned = data.occUnrealConned; } + if (data.atsWarnShowCounter != null) { + message.atsWarnShowCounter = data.atsWarnShowCounter; + } return message; } toObject() { @@ -133,6 +147,7 @@ export namespace state { lineId?: number; occRealConned?: boolean; occUnrealConned?: boolean; + atsWarnShowCounter?: boolean; } = {}; if (this.lineId != null) { data.lineId = this.lineId; @@ -143,6 +158,9 @@ export namespace state { if (this.occUnrealConned != null) { data.occUnrealConned = this.occUnrealConned; } + if (this.atsWarnShowCounter != null) { + data.atsWarnShowCounter = this.atsWarnShowCounter; + } return data; } serialize(): Uint8Array; @@ -155,6 +173,8 @@ export namespace state { writer.writeBool(2, this.occRealConned); if (this.occUnrealConned != false) writer.writeBool(3, this.occUnrealConned); + if (this.atsWarnShowCounter != false) + writer.writeBool(4, this.atsWarnShowCounter); if (!w) return writer.getResultBuffer(); } @@ -173,6 +193,9 @@ export namespace state { case 3: message.occUnrealConned = reader.readBool(); break; + case 4: + message.atsWarnShowCounter = reader.readBool(); + break; default: reader.skipField(); } } diff --git a/xian-ncc-da-message b/xian-ncc-da-message index 0f95f00..6ae749d 160000 --- a/xian-ncc-da-message +++ b/xian-ncc-da-message @@ -1 +1 @@ -Subproject commit 0f95f00449d14672b382f03727b34e339131786b +Subproject commit 6ae749dad5f5aa90b78cea76e2d1d24451a25b46