列车状态-运行方向

This commit is contained in:
xzb 2023-07-18 09:40:15 +08:00
parent 04303f8802
commit 0e8a73e102

View File

@ -50,17 +50,21 @@ message SwitchState{
message TrainState{
//
string id = 1;
//
//true -
//false -
bool up = 2;
//link的索引
string headLinkId = 2;
string headLinkId = 3;
//link内的偏移量mm
int64 headLinkOffset = 3;
int64 headLinkOffset = 4;
//link的索引
string tailLinkId = 4;
string tailLinkId = 5;
//link内的偏移量mm
int64 tailLinkOffset = 5;
int64 tailLinkOffset = 6;
//link的索引的列表
//
repeated string occupiedLinkId = 6;
repeated string occupiedLinkIndex = 7;
}
////////////////////////////////////////////////////////////////////////////