xian-ncc-da-message/protos/device_info.proto

45 lines
809 B
Protocol Buffer
Raw Normal View History

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-07-19 10:17:42 +08:00
repeated string childrenId = 3;
2023-06-29 16:53:48 +08:00
2023-06-30 14:03:58 +08:00
// 公里标
2023-07-19 10:17:42 +08:00
repeated graphicData.KilometerSystem kilometerSystem = 4;
2023-07-03 16:28:54 +08:00
2023-06-29 16:53:48 +08:00
// 转换后的公里标数字
2023-07-19 10:17:42 +08:00
repeated int64 convertKilometer = 5;
2023-07-19 09:20:54 +08:00
2023-07-19 10:49:30 +08:00
// 物理区段Id
string physicalSectionId = 6;
2023-07-20 17:39:03 +08:00
// 目的地码
string destinationCode = 7;
2023-06-27 10:48:04 +08:00
}
// 道岔
2023-07-03 16:28:54 +08:00
message Turnout {
2023-06-27 10:48:04 +08:00
2023-06-27 11:24:03 +08:00
string id = 1;
string code = 2;
2023-06-27 10:48:04 +08:00
2023-06-30 09:25:28 +08:00
// 关联道岔的公里标
2023-06-30 14:03:58 +08:00
repeated graphicData.KilometerSystem kilometerSystem = 3;
2023-06-27 10:48:04 +08:00
2023-06-29 16:53:48 +08:00
// 转换后的公里标数字
2023-06-30 14:03:58 +08:00
repeated int64 convertKilometer = 4;
2023-06-27 10:48:04 +08:00
}