同步proto
This commit is contained in:
parent
550bd752f8
commit
f7634d7672
@ -3191,6 +3191,9 @@ export namespace state {
|
|||||||
timestamp?: number;
|
timestamp?: number;
|
||||||
lineId?: number;
|
lineId?: number;
|
||||||
receiveTime?: number;
|
receiveTime?: number;
|
||||||
|
bizWaitTimerGoing?: boolean;
|
||||||
|
bizWaitStartTimeSec?: number;
|
||||||
|
bizWaitTimeSec?: number;
|
||||||
}) {
|
}) {
|
||||||
super();
|
super();
|
||||||
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
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) {
|
if ("receiveTime" in data && data.receiveTime != undefined) {
|
||||||
this.receiveTime = data.receiveTime;
|
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() {
|
get emergstop() {
|
||||||
@ -3386,6 +3398,24 @@ export namespace state {
|
|||||||
set receiveTime(value: number) {
|
set receiveTime(value: number) {
|
||||||
pb_1.Message.setField(this, 21, value);
|
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: {
|
static fromObject(data: {
|
||||||
emergstop?: boolean;
|
emergstop?: boolean;
|
||||||
trainberth?: boolean;
|
trainberth?: boolean;
|
||||||
@ -3408,6 +3438,9 @@ export namespace state {
|
|||||||
timestamp?: number;
|
timestamp?: number;
|
||||||
lineId?: number;
|
lineId?: number;
|
||||||
receiveTime?: number;
|
receiveTime?: number;
|
||||||
|
bizWaitTimerGoing?: boolean;
|
||||||
|
bizWaitStartTimeSec?: number;
|
||||||
|
bizWaitTimeSec?: number;
|
||||||
}): Platform {
|
}): Platform {
|
||||||
const message = new Platform({});
|
const message = new Platform({});
|
||||||
if (data.emergstop != null) {
|
if (data.emergstop != null) {
|
||||||
@ -3473,6 +3506,15 @@ export namespace state {
|
|||||||
if (data.receiveTime != null) {
|
if (data.receiveTime != null) {
|
||||||
message.receiveTime = data.receiveTime;
|
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;
|
return message;
|
||||||
}
|
}
|
||||||
toObject() {
|
toObject() {
|
||||||
@ -3498,6 +3540,9 @@ export namespace state {
|
|||||||
timestamp?: number;
|
timestamp?: number;
|
||||||
lineId?: number;
|
lineId?: number;
|
||||||
receiveTime?: number;
|
receiveTime?: number;
|
||||||
|
bizWaitTimerGoing?: boolean;
|
||||||
|
bizWaitStartTimeSec?: number;
|
||||||
|
bizWaitTimeSec?: number;
|
||||||
} = {};
|
} = {};
|
||||||
if (this.emergstop != null) {
|
if (this.emergstop != null) {
|
||||||
data.emergstop = this.emergstop;
|
data.emergstop = this.emergstop;
|
||||||
@ -3562,6 +3607,15 @@ export namespace state {
|
|||||||
if (this.receiveTime != null) {
|
if (this.receiveTime != null) {
|
||||||
data.receiveTime = this.receiveTime;
|
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;
|
return data;
|
||||||
}
|
}
|
||||||
serialize(): Uint8Array;
|
serialize(): Uint8Array;
|
||||||
@ -3610,6 +3664,12 @@ export namespace state {
|
|||||||
writer.writeInt32(20, this.lineId);
|
writer.writeInt32(20, this.lineId);
|
||||||
if (this.receiveTime != 0)
|
if (this.receiveTime != 0)
|
||||||
writer.writeInt64(21, this.receiveTime);
|
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)
|
if (!w)
|
||||||
return writer.getResultBuffer();
|
return writer.getResultBuffer();
|
||||||
}
|
}
|
||||||
@ -3682,6 +3742,15 @@ export namespace state {
|
|||||||
case 21:
|
case 21:
|
||||||
message.receiveTime = reader.readInt64();
|
message.receiveTime = reader.readInt64();
|
||||||
break;
|
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();
|
default: reader.skipField();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 0f95f00449d14672b382f03727b34e339131786b
|
Subproject commit c1bd5beb501ab675459a5ef58d823c0f86be9000
|
Loading…
Reference in New Issue
Block a user