修改proto文件编译逻辑;修改proto文件编译位置并修改其它文件对生成的文件的引用

This commit is contained in:
joylink_zhangsai 2024-01-11 10:24:53 +08:00
parent 19d48ccabc
commit 1a21f13cce
7 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ import "stationLayoutGraphics.proto";
package state; package state;
option java_package = "club.joylink.bjrtss.ats.verify.protos"; option java_package = "club.joylink.bjrtss.ats.verify.protos";
option java_outer_classname = "DeviceStateProto"; option java_outer_classname = "DeviceStateProto";
option go_package = "./ts/protos/state"; option go_package = "joylink.club/bj-rtsts-server/dto/state_proto";
// //

View File

@ -1,7 +1,7 @@
syntax = "proto3"; syntax = "proto3";
import "stationLayoutGraphics.proto"; import "stationLayoutGraphics.proto";
package ibpGraphicData; package ibpGraphicData;
option go_package = "./ts/protos/graphicData"; option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
message IBPGraphicStorage { message IBPGraphicStorage {
graphicData.Canvas canvas = 1; graphicData.Canvas canvas = 1;

View File

@ -1,6 +1,6 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "./ts/protos/graphicData"; option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
enum PictureType { enum PictureType {
/** 平面布置图 */ /** 平面布置图 */

View File

@ -2,7 +2,7 @@ syntax = "proto3";
import "stationLayoutGraphics.proto"; import "stationLayoutGraphics.proto";
package pslGraphicData; package pslGraphicData;
option go_package = "./ts/protos/graphicData"; option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
message PslGraphicStorage { message PslGraphicStorage {
graphicData.Canvas canvas = 1; graphicData.Canvas canvas = 1;

View File

@ -2,7 +2,7 @@ syntax = "proto3";
import "stationLayoutGraphics.proto"; import "stationLayoutGraphics.proto";
package relayCabinetGraphicData; package relayCabinetGraphicData;
option go_package = "./ts/protos/graphicData"; option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
message RelayCabinetGraphicStorage { message RelayCabinetGraphicStorage {
graphicData.Canvas canvas = 1; graphicData.Canvas canvas = 1;

View File

@ -1,7 +1,7 @@
syntax = "proto3"; syntax = "proto3";
package request; package request;
option go_package = "./dto/request_proto"; option go_package = "joylink.club/bj-rtsts-server/dto/request_proto";
// //
message Relay { message Relay {

View File

@ -3,7 +3,7 @@ syntax = "proto3";
package graphicData; package graphicData;
option java_package = "club.joylink.bjrtss.ats.verify.protos"; option java_package = "club.joylink.bjrtss.ats.verify.protos";
option java_outer_classname = "LayoutGraphicsProto"; option java_outer_classname = "LayoutGraphicsProto";
option go_package = "./ts/protos/graphicData"; option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
message RtssGraphicStorage { message RtssGraphicStorage {
Canvas canvas = 1; Canvas canvas = 1;