diff --git a/rtss-proto-msg b/rtss-proto-msg index 87726ae..0085ca4 160000 --- a/rtss-proto-msg +++ b/rtss-proto-msg @@ -1 +1 @@ -Subproject commit 87726ae0917aedf814210d9725ee354aa15bb1f9 +Subproject commit 0085ca4d61318b858e54c7e52780c9b7a018fab4 diff --git a/src/protos/iscs_graphic_data.ts b/src/protos/iscs_graphic_data.ts index 3faa48c..670ee08 100644 --- a/src/protos/iscs_graphic_data.ts +++ b/src/protos/iscs_graphic_data.ts @@ -2104,6 +2104,7 @@ export namespace iscsGraphicData { stationName?: string; canvas?: dependency_1.common.Canvas; commonGraphicStorage?: CommonGraphicStorage; + partition?: string; }) { super(); pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls); @@ -2117,6 +2118,9 @@ export namespace iscsGraphicData { if ("commonGraphicStorage" in data && data.commonGraphicStorage != undefined) { this.commonGraphicStorage = data.commonGraphicStorage; } + if ("partition" in data && data.partition != undefined) { + this.partition = data.partition; + } } } get stationName() { @@ -2143,10 +2147,17 @@ export namespace iscsGraphicData { get has_commonGraphicStorage() { return pb_1.Message.getField(this, 3) != null; } + get partition() { + return pb_1.Message.getFieldWithDefault(this, 4, "") as string; + } + set partition(value: string) { + pb_1.Message.setField(this, 4, value); + } static fromObject(data: { stationName?: string; canvas?: ReturnType; commonGraphicStorage?: ReturnType; + partition?: string; }): FASOfPlatformAlarmStorage { const message = new FASOfPlatformAlarmStorage({}); if (data.stationName != null) { @@ -2158,6 +2169,9 @@ export namespace iscsGraphicData { if (data.commonGraphicStorage != null) { message.commonGraphicStorage = CommonGraphicStorage.fromObject(data.commonGraphicStorage); } + if (data.partition != null) { + message.partition = data.partition; + } return message; } toObject() { @@ -2165,6 +2179,7 @@ export namespace iscsGraphicData { stationName?: string; canvas?: ReturnType; commonGraphicStorage?: ReturnType; + partition?: string; } = {}; if (this.stationName != null) { data.stationName = this.stationName; @@ -2175,6 +2190,9 @@ export namespace iscsGraphicData { if (this.commonGraphicStorage != null) { data.commonGraphicStorage = this.commonGraphicStorage.toObject(); } + if (this.partition != null) { + data.partition = this.partition; + } return data; } serialize(): Uint8Array; @@ -2187,6 +2205,8 @@ export namespace iscsGraphicData { writer.writeMessage(2, this.canvas, () => this.canvas.serialize(writer)); if (this.has_commonGraphicStorage) writer.writeMessage(3, this.commonGraphicStorage, () => this.commonGraphicStorage.serialize(writer)); + if (this.partition.length) + writer.writeString(4, this.partition); if (!w) return writer.getResultBuffer(); } @@ -2205,6 +2225,9 @@ export namespace iscsGraphicData { case 3: reader.readMessage(message.commonGraphicStorage, () => message.commonGraphicStorage = CommonGraphicStorage.deserialize(reader)); break; + case 4: + message.partition = reader.readString(); + break; default: reader.skipField(); } } diff --git a/src/protos/sync_data_message.ts b/src/protos/sync_data_message.ts index e3da8fa..ec6694c 100644 --- a/src/protos/sync_data_message.ts +++ b/src/protos/sync_data_message.ts @@ -198,7 +198,7 @@ export namespace sync_data_message { pb_1.Message.setField(this, 2, value); } get data() { - return pb_1.Message.getFieldWithDefault(this, 3, new Uint8Array(0)) as Uint8Array; + return pb_1.Message.getFieldWithDefault(this, 3, new Uint8Array()) as Uint8Array; } set data(value: Uint8Array) { pb_1.Message.setField(this, 3, value);