diff --git a/src/protos/device_status.ts b/src/protos/device_status.ts index 31b06c0..2981dc6 100644 --- a/src/protos/device_status.ts +++ b/src/protos/device_status.ts @@ -3191,6 +3191,9 @@ export namespace state { timestamp?: number; lineId?: number; receiveTime?: number; + bizWaitTimerGoing?: boolean; + bizWaitStartTimeSec?: number; + bizWaitTimeSec?: number; }) { super(); pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls); @@ -3258,6 +3261,15 @@ export namespace state { if ("receiveTime" in data && data.receiveTime != undefined) { this.receiveTime = data.receiveTime; } + if ("bizWaitTimerGoing" in data && data.bizWaitTimerGoing != undefined) { + this.bizWaitTimerGoing = data.bizWaitTimerGoing; + } + if ("bizWaitStartTimeSec" in data && data.bizWaitStartTimeSec != undefined) { + this.bizWaitStartTimeSec = data.bizWaitStartTimeSec; + } + if ("bizWaitTimeSec" in data && data.bizWaitTimeSec != undefined) { + this.bizWaitTimeSec = data.bizWaitTimeSec; + } } } get emergstop() { @@ -3386,6 +3398,24 @@ export namespace state { set receiveTime(value: number) { pb_1.Message.setField(this, 21, value); } + get bizWaitTimerGoing() { + return pb_1.Message.getFieldWithDefault(this, 22, false) as boolean; + } + set bizWaitTimerGoing(value: boolean) { + pb_1.Message.setField(this, 22, value); + } + get bizWaitStartTimeSec() { + return pb_1.Message.getFieldWithDefault(this, 23, 0) as number; + } + set bizWaitStartTimeSec(value: number) { + pb_1.Message.setField(this, 23, value); + } + get bizWaitTimeSec() { + return pb_1.Message.getFieldWithDefault(this, 24, 0) as number; + } + set bizWaitTimeSec(value: number) { + pb_1.Message.setField(this, 24, value); + } static fromObject(data: { emergstop?: boolean; trainberth?: boolean; @@ -3408,6 +3438,9 @@ export namespace state { timestamp?: number; lineId?: number; receiveTime?: number; + bizWaitTimerGoing?: boolean; + bizWaitStartTimeSec?: number; + bizWaitTimeSec?: number; }): Platform { const message = new Platform({}); if (data.emergstop != null) { @@ -3473,6 +3506,15 @@ export namespace state { if (data.receiveTime != null) { message.receiveTime = data.receiveTime; } + if (data.bizWaitTimerGoing != null) { + message.bizWaitTimerGoing = data.bizWaitTimerGoing; + } + if (data.bizWaitStartTimeSec != null) { + message.bizWaitStartTimeSec = data.bizWaitStartTimeSec; + } + if (data.bizWaitTimeSec != null) { + message.bizWaitTimeSec = data.bizWaitTimeSec; + } return message; } toObject() { @@ -3498,6 +3540,9 @@ export namespace state { timestamp?: number; lineId?: number; receiveTime?: number; + bizWaitTimerGoing?: boolean; + bizWaitStartTimeSec?: number; + bizWaitTimeSec?: number; } = {}; if (this.emergstop != null) { data.emergstop = this.emergstop; @@ -3562,6 +3607,15 @@ export namespace state { if (this.receiveTime != null) { data.receiveTime = this.receiveTime; } + if (this.bizWaitTimerGoing != null) { + data.bizWaitTimerGoing = this.bizWaitTimerGoing; + } + if (this.bizWaitStartTimeSec != null) { + data.bizWaitStartTimeSec = this.bizWaitStartTimeSec; + } + if (this.bizWaitTimeSec != null) { + data.bizWaitTimeSec = this.bizWaitTimeSec; + } return data; } serialize(): Uint8Array; @@ -3610,6 +3664,12 @@ export namespace state { writer.writeInt32(20, this.lineId); if (this.receiveTime != 0) writer.writeInt64(21, this.receiveTime); + if (this.bizWaitTimerGoing != false) + writer.writeBool(22, this.bizWaitTimerGoing); + if (this.bizWaitStartTimeSec != 0) + writer.writeInt64(23, this.bizWaitStartTimeSec); + if (this.bizWaitTimeSec != 0) + writer.writeInt64(24, this.bizWaitTimeSec); if (!w) return writer.getResultBuffer(); } @@ -3682,6 +3742,15 @@ export namespace state { case 21: message.receiveTime = reader.readInt64(); break; + case 22: + message.bizWaitTimerGoing = reader.readBool(); + break; + case 23: + message.bizWaitStartTimeSec = reader.readInt64(); + break; + case 24: + message.bizWaitTimeSec = reader.readInt64(); + break; default: reader.skipField(); } } diff --git a/xian-ncc-da-message b/xian-ncc-da-message index 0f95f00..c1bd5be 160000 --- a/xian-ncc-da-message +++ b/xian-ncc-da-message @@ -1 +1 @@ -Subproject commit 0f95f00449d14672b382f03727b34e339131786b +Subproject commit c1bd5beb501ab675459a5ef58d823c0f86be9000