31 lines
699 B
Protocol Buffer
31 lines
699 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package em_data;
|
||
|
import "common.proto";
|
||
|
|
||
|
// 电子地图数据
|
||
|
message Em {
|
||
|
common.Canvas canvas = 1;
|
||
|
repeated Station stations = 2;
|
||
|
}
|
||
|
|
||
|
// 公里标
|
||
|
message KilometerMark {
|
||
|
// 公里标坐标系
|
||
|
string coordinate = 1;
|
||
|
// 公里标数值
|
||
|
int64 value = 2;
|
||
|
}
|
||
|
|
||
|
// 车站数据
|
||
|
message Station {
|
||
|
common.CommonInfo common = 1;
|
||
|
string name = 2; //车站名
|
||
|
string zhanName = 3; //车站站名
|
||
|
string namePinyin = 4; // 车站名拼音简写
|
||
|
KilometerMark km = 6; // 公里标
|
||
|
bool concentration = 10; // 是否集中站
|
||
|
bool depots = 11; // 是否车辆段
|
||
|
repeated uint32 manageStationIds = 13; // 集中站管理的车站-id
|
||
|
}
|