42 lines
766 B
Protocol Buffer
42 lines
766 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 Section children = 4;
|
|
|
|
// 公里标
|
|
repeated graphicData.KilometerSystem kilometerSystem = 5;
|
|
|
|
// 转换后的公里标数字
|
|
repeated int64 convertKilometer = 7;
|
|
}
|
|
|
|
// 道岔
|
|
message Switch {
|
|
|
|
string id = 1;
|
|
|
|
string code = 2;
|
|
|
|
// 关联道岔的公里标
|
|
repeated graphicData.KilometerSystem kilometerSystem = 3;
|
|
|
|
// 转换后的公里标数字
|
|
repeated int64 convertKilometer = 4;
|
|
}
|
|
|