xian-ncc-da-message/protos/device_info.proto
2023-07-20 17:39:03 +08:00

45 lines
809 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;
// 关联区段
repeated string childrenId = 3;
// 公里标
repeated graphicData.KilometerSystem kilometerSystem = 4;
// 转换后的公里标数字
repeated int64 convertKilometer = 5;
// 物理区段Id
string physicalSectionId = 6;
// 目的地码
string destinationCode = 7;
}
// 道岔
message Turnout {
string id = 1;
string code = 2;
// 关联道岔的公里标
repeated graphicData.KilometerSystem kilometerSystem = 3;
// 转换后的公里标数字
repeated int64 convertKilometer = 4;
}