Merge branch 'master' of https://git.code.tencent.com/xian-ncc-da/xian-ncc-da-message
This commit is contained in:
commit
509c8f3f91
@ -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;
|
||||
|
||||
|
16
protos/system_warn_message.proto
Normal file
16
protos/system_warn_message.proto
Normal file
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user