27 lines
518 B
Protocol Buffer
27 lines
518 B
Protocol Buffer
|
syntax = "proto3";
|
|||
|
|
|||
|
option java_package = "club.joylink.xiannccda.proto.data";
|
|||
|
option java_outer_classname = "LineNetTrainOffsetProto";
|
|||
|
//线网车辆位置
|
|||
|
message LineNetTrainOffset{
|
|||
|
//线路id
|
|||
|
int32 lineId = 1;
|
|||
|
//车组号
|
|||
|
string Group_id = 2;
|
|||
|
//方向
|
|||
|
int32 dir = 3;
|
|||
|
// true-到达,false-出发
|
|||
|
bool initType = 4;
|
|||
|
//位置
|
|||
|
int32 offset = 5;
|
|||
|
//目的地id
|
|||
|
int32 destinationId = 6;
|
|||
|
//后方车站
|
|||
|
int32 backId = 7;
|
|||
|
//是否删除
|
|||
|
bool show = 8;
|
|||
|
//完成率
|
|||
|
float rate = 9;
|
|||
|
}
|
|||
|
|