diff --git a/protos/device_info.proto b/protos/device_info.proto index e2ec4d8..539afcc 100644 --- a/protos/device_info.proto +++ b/protos/device_info.proto @@ -7,16 +7,16 @@ option java_outer_classname = "DeviceInfoProto"; // 区段 message Section { - string id = 1; + uint32 id = 1; // 区段编码 string code = 2; // 关联区段 - repeated string childrenId = 3; + repeated uint32 childrenId = 3; // 物理区段Id - string physicalSectionId = 4; + uint32 physicalSectionId = 4; // 目的地码 string destinationCode = 5; @@ -28,7 +28,7 @@ message Section { // 道岔 message Turnout { - string id = 1; + uint32 id = 1; string code = 2; diff --git a/protos/system_warn_message.proto b/protos/system_warn_message.proto new file mode 100644 index 0000000..023135a --- /dev/null +++ b/protos/system_warn_message.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + +package state; //模型的可变的状态数据 +//import "LineNetTrainOffsetDiagram.proto"; +option java_package = "club.joylink.xiannccda.dto.protos"; +option java_outer_classname = "SystemWarnMsgProto"; + +message WarnLineMessage{ + repeated WarnMessage msgs = 1; +} + +message WarnMessage { + int32 lineId = 1; + bool occRealConned = 2; + bool occUnrealConned = 3; +}