2023-06-27 10:48:04 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package state;
|
|
|
|
import "stationLayoutGraphics.proto";
|
|
|
|
option java_package = "club.joylink.xiannccda.dto.protos";
|
|
|
|
option java_outer_classname = "DeviceInfoProto";
|
|
|
|
|
|
|
|
// 区段
|
|
|
|
message Section {
|
2023-06-27 11:24:03 +08:00
|
|
|
string id = 1;
|
|
|
|
|
2023-06-27 10:48:04 +08:00
|
|
|
// 区段编码
|
2023-06-27 11:24:03 +08:00
|
|
|
string code = 2;
|
2023-06-27 10:48:04 +08:00
|
|
|
|
|
|
|
// 区段类型
|
2023-06-27 11:24:03 +08:00
|
|
|
graphicData.Section.SectionType type = 3;
|
2023-06-27 10:48:04 +08:00
|
|
|
|
2023-06-27 14:56:19 +08:00
|
|
|
// 公里标
|
|
|
|
repeated string kilometerCode = 4;
|
2023-06-27 10:48:04 +08:00
|
|
|
|
|
|
|
// 关联区段
|
2023-06-27 14:56:19 +08:00
|
|
|
repeated Section children = 5;
|
2023-06-27 10:48:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 道岔
|
|
|
|
message Switch {
|
|
|
|
|
2023-06-27 11:24:03 +08:00
|
|
|
string id = 1;
|
|
|
|
|
|
|
|
string code = 2;
|
2023-06-27 10:48:04 +08:00
|
|
|
|
2023-06-27 11:24:03 +08:00
|
|
|
Section paSection = 3;
|
2023-06-27 10:48:04 +08:00
|
|
|
|
2023-06-27 11:24:03 +08:00
|
|
|
Section pbSection = 4;
|
2023-06-27 10:48:04 +08:00
|
|
|
|
2023-06-27 11:24:03 +08:00
|
|
|
Section pcSection = 5;
|
2023-06-27 10:48:04 +08:00
|
|
|
}
|
|
|
|
|