Merge branch 'develop' of http://120.46.212.6:3000/joylink/rts-sim-testing-client into develop
This commit is contained in:
commit
bdcd3ac6b2
File diff suppressed because it is too large
Load Diff
@ -7529,6 +7529,7 @@ export namespace graphicData {
|
|||||||
linkSection?: number;
|
linkSection?: number;
|
||||||
centralizedStations?: number[];
|
centralizedStations?: number[];
|
||||||
duanNum?: number;
|
duanNum?: number;
|
||||||
|
width?: number;
|
||||||
}) {
|
}) {
|
||||||
super();
|
super();
|
||||||
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [4], this.#one_of_decls);
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [4], this.#one_of_decls);
|
||||||
@ -7548,6 +7549,9 @@ export namespace graphicData {
|
|||||||
if ("duanNum" in data && data.duanNum != undefined) {
|
if ("duanNum" in data && data.duanNum != undefined) {
|
||||||
this.duanNum = data.duanNum;
|
this.duanNum = data.duanNum;
|
||||||
}
|
}
|
||||||
|
if ("width" in data && data.width != undefined) {
|
||||||
|
this.width = data.width;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
get common() {
|
get common() {
|
||||||
@ -7583,12 +7587,19 @@ export namespace graphicData {
|
|||||||
set duanNum(value: number) {
|
set duanNum(value: number) {
|
||||||
pb_1.Message.setField(this, 5, value);
|
pb_1.Message.setField(this, 5, value);
|
||||||
}
|
}
|
||||||
|
get width() {
|
||||||
|
return pb_1.Message.getFieldWithDefault(this, 6, 0) as number;
|
||||||
|
}
|
||||||
|
set width(value: number) {
|
||||||
|
pb_1.Message.setField(this, 6, value);
|
||||||
|
}
|
||||||
static fromObject(data: {
|
static fromObject(data: {
|
||||||
common?: ReturnType<typeof CommonInfo.prototype.toObject>;
|
common?: ReturnType<typeof CommonInfo.prototype.toObject>;
|
||||||
code?: string;
|
code?: string;
|
||||||
linkSection?: number;
|
linkSection?: number;
|
||||||
centralizedStations?: number[];
|
centralizedStations?: number[];
|
||||||
duanNum?: number;
|
duanNum?: number;
|
||||||
|
width?: number;
|
||||||
}): CarWashing {
|
}): CarWashing {
|
||||||
const message = new CarWashing({});
|
const message = new CarWashing({});
|
||||||
if (data.common != null) {
|
if (data.common != null) {
|
||||||
@ -7606,6 +7617,9 @@ export namespace graphicData {
|
|||||||
if (data.duanNum != null) {
|
if (data.duanNum != null) {
|
||||||
message.duanNum = data.duanNum;
|
message.duanNum = data.duanNum;
|
||||||
}
|
}
|
||||||
|
if (data.width != null) {
|
||||||
|
message.width = data.width;
|
||||||
|
}
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
toObject() {
|
toObject() {
|
||||||
@ -7615,6 +7629,7 @@ export namespace graphicData {
|
|||||||
linkSection?: number;
|
linkSection?: number;
|
||||||
centralizedStations?: number[];
|
centralizedStations?: number[];
|
||||||
duanNum?: number;
|
duanNum?: number;
|
||||||
|
width?: number;
|
||||||
} = {};
|
} = {};
|
||||||
if (this.common != null) {
|
if (this.common != null) {
|
||||||
data.common = this.common.toObject();
|
data.common = this.common.toObject();
|
||||||
@ -7631,6 +7646,9 @@ export namespace graphicData {
|
|||||||
if (this.duanNum != null) {
|
if (this.duanNum != null) {
|
||||||
data.duanNum = this.duanNum;
|
data.duanNum = this.duanNum;
|
||||||
}
|
}
|
||||||
|
if (this.width != null) {
|
||||||
|
data.width = this.width;
|
||||||
|
}
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
serialize(): Uint8Array;
|
serialize(): Uint8Array;
|
||||||
@ -7647,6 +7665,8 @@ export namespace graphicData {
|
|||||||
writer.writePackedUint32(4, this.centralizedStations);
|
writer.writePackedUint32(4, this.centralizedStations);
|
||||||
if (this.duanNum != 0)
|
if (this.duanNum != 0)
|
||||||
writer.writeUint32(5, this.duanNum);
|
writer.writeUint32(5, this.duanNum);
|
||||||
|
if (this.width != 0)
|
||||||
|
writer.writeUint32(6, this.width);
|
||||||
if (!w)
|
if (!w)
|
||||||
return writer.getResultBuffer();
|
return writer.getResultBuffer();
|
||||||
}
|
}
|
||||||
@ -7671,6 +7691,9 @@ export namespace graphicData {
|
|||||||
case 5:
|
case 5:
|
||||||
message.duanNum = reader.readUint32();
|
message.duanNum = reader.readUint32();
|
||||||
break;
|
break;
|
||||||
|
case 6:
|
||||||
|
message.width = reader.readUint32();
|
||||||
|
break;
|
||||||
default: reader.skipField();
|
default: reader.skipField();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user