列车消息调整

This commit is contained in:
tiger_zhou 2024-05-10 16:17:15 +08:00
parent e4c55ea4b6
commit 0ed6b1d451

View File

@ -152,12 +152,12 @@ message TrainState{
int64 headOffset = 7;
//
string devicePort = 8;
// (A-B,-> )
bool pointTo = 9;
// -> ->
bool runDirection = 10;
//
bool headDirection = 11;
// (A-B,-> )
bool driftTo = 9;
// -> ->
bool trainRunUp = 10;
// 0=1= -> ,2= ->
uint32 trainActiveDirection = 11;
//
TrainDynamicState dynamicState = 12;
//
@ -418,11 +418,15 @@ message TrainMapState{
//
string devicePort = 8;
// (A-B,-> )
bool pointTo = 9;
// bool pointTo = 9;
bool driftTo = 9;
// -> ->
bool runDirection = 10;
// bool runDirection = 10;
bool trainRunUp = 10;
//
bool headDirection = 11;
// bool headDirection = 11;
// 0= 1=2=
uint32 trainActiveDirection = 11;
//
int64 trainKilometer = 12;
//