修改proto文件编译逻辑;修改proto文件编译位置并修改其它文件对生成的文件的引用
This commit is contained in:
parent
19d48ccabc
commit
1a21f13cce
@ -4,7 +4,7 @@ import "stationLayoutGraphics.proto";
|
||||
package state;
|
||||
option java_package = "club.joylink.bjrtss.ats.verify.protos";
|
||||
option java_outer_classname = "DeviceStateProto";
|
||||
option go_package = "./ts/protos/state";
|
||||
option go_package = "joylink.club/bj-rtsts-server/dto/state_proto";
|
||||
|
||||
|
||||
//状态定义面向物理层即只定义物理状态,不定义逻辑层状态
|
||||
|
@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
import "stationLayoutGraphics.proto";
|
||||
package ibpGraphicData;
|
||||
option go_package = "./ts/protos/graphicData";
|
||||
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
|
||||
|
||||
message IBPGraphicStorage {
|
||||
graphicData.Canvas canvas = 1;
|
||||
|
@ -1,6 +1,6 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option go_package = "./ts/protos/graphicData";
|
||||
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
|
||||
|
||||
enum PictureType {
|
||||
/** 平面布置图 */
|
||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
import "stationLayoutGraphics.proto";
|
||||
|
||||
package pslGraphicData;
|
||||
option go_package = "./ts/protos/graphicData";
|
||||
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
|
||||
|
||||
message PslGraphicStorage {
|
||||
graphicData.Canvas canvas = 1;
|
||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
||||
import "stationLayoutGraphics.proto";
|
||||
|
||||
package relayCabinetGraphicData;
|
||||
option go_package = "./ts/protos/graphicData";
|
||||
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
|
||||
|
||||
message RelayCabinetGraphicStorage {
|
||||
graphicData.Canvas canvas = 1;
|
||||
|
@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package request;
|
||||
option go_package = "./dto/request_proto";
|
||||
option go_package = "joylink.club/bj-rtsts-server/dto/request_proto";
|
||||
|
||||
// 继电器
|
||||
message Relay {
|
||||
|
@ -3,7 +3,7 @@ syntax = "proto3";
|
||||
package graphicData;
|
||||
option java_package = "club.joylink.bjrtss.ats.verify.protos";
|
||||
option java_outer_classname = "LayoutGraphicsProto";
|
||||
option go_package = "./ts/protos/graphicData";
|
||||
option go_package = "joylink.club/bj-rtsts-server/dto/data_proto";
|
||||
|
||||
message RtssGraphicStorage {
|
||||
Canvas canvas = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user