xian-ncc-da-message/protos/device_info.proto
2023-06-27 14:56:19 +08:00

39 lines
582 B
Protocol Buffer

syntax = "proto3";
package state;
import "stationLayoutGraphics.proto";
option java_package = "club.joylink.xiannccda.dto.protos";
option java_outer_classname = "DeviceInfoProto";
// 区段
message Section {
string id = 1;
// 区段编码
string code = 2;
// 区段类型
graphicData.Section.SectionType type = 3;
// 公里标
repeated string kilometerCode = 4;
// 关联区段
repeated Section children = 5;
}
// 道岔
message Switch {
string id = 1;
string code = 2;
Section paSection = 3;
Section pbSection = 4;
Section pcSection = 5;
}