【增加ID属性】
This commit is contained in:
parent
2de5ae92a9
commit
7d4124b580
@ -7,31 +7,35 @@ option java_outer_classname = "DeviceInfoProto";
|
||||
|
||||
// 区段
|
||||
message Section {
|
||||
string id = 1;
|
||||
|
||||
// 区段编码
|
||||
string code = 1;
|
||||
string code = 2;
|
||||
|
||||
// 区段类型
|
||||
graphicData.Section.SectionType type = 2;
|
||||
graphicData.Section.SectionType type = 3;
|
||||
|
||||
// a端公里标
|
||||
string paKilometerCode = 3;
|
||||
string paKilometerCode = 4;
|
||||
|
||||
// b端公里标
|
||||
string pbKilometerCode = 4;
|
||||
string pbKilometerCode = 5;
|
||||
|
||||
// 关联区段
|
||||
repeated Section children = 5;
|
||||
repeated Section children = 6;
|
||||
}
|
||||
|
||||
// 道岔
|
||||
message Switch {
|
||||
|
||||
string code = 1;
|
||||
string id = 1;
|
||||
|
||||
Section paSection = 2;
|
||||
string code = 2;
|
||||
|
||||
Section pbSection = 3;
|
||||
Section paSection = 3;
|
||||
|
||||
Section pcSection = 4;
|
||||
Section pbSection = 4;
|
||||
|
||||
Section pcSection = 5;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user