Compare commits

...

2 Commits

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 {