列车前端操作接口,列车连接三方映射接口及ws返回列车连接状态

This commit is contained in:
tiger_zhou 2024-03-15 16:03:46 +08:00
parent 225f92b91c
commit c0f73e7b5d
1 changed files with 15 additions and 0 deletions

View File

@ -6,6 +6,7 @@ package state;
option java_package = "club.joylink.bjrtss.ats.verify.protos";
option java_outer_classname = "DeviceStateProto";
option go_package = "joylink.club/bj-rtsts-server/dto/state_proto";
//option go_package = "dto/state_proto;";
//
@ -121,6 +122,17 @@ message StationState{
//
uint32 id = 1;
}
//
message TrainConnState{
bool conn = 1;
TrainConnType connType = 2;
enum TrainConnType{
NONE = 0;//
VOBC = 1; //
PC_SIM = 2; //PC仿真
}
}
//
message TrainState{
//
@ -169,6 +181,8 @@ message TrainState{
string tailDevicePort = 22;
// BTM状态
BTMState btmState = 23;
//
TrainConnState connState = 24;
}
//
@ -422,6 +436,7 @@ message TrainMapState{
string tailDevicePort = 68;
// BTM状态
BTMState btmState = 69;
TrainConnState connState = 70;
}
message BTMState {