信号机显示枚举调整

添加第三方接口服务状态消息
This commit is contained in:
walker 2024-01-19 14:22:15 +08:00
parent d2d4e85e34
commit 3180214b10

View File

@ -84,22 +84,20 @@ message SignalState{
message Signal {
//
enum Aspect {
//
Non = 0;
//
OFF = 1;
//
OFF = 0;
//
H = 1;
//绿
L = 2;
//
H = 3;
//
U = 4;
U = 3;
//
HU = 5;
HU = 4;
//
B = 6;
B = 5;
//
A = 7;
A = 6;
}
}
@ -581,3 +579,33 @@ message SimulationStatus {
string description = 3;
}
// 仿
message SimulationThirdPartyApiService {
enum Type {
//
Undefined = 0;
//
Dynamics = 1;
//
SemiPhysicalTrain = 2;
}
//
enum State {
//
Normal = 0;
//
Error = 1;
}
//
repeated SimulationThirdPartyApiServiceState states = 1;
}
// 仿
message SimulationThirdPartyApiServiceState {
//
SimulationThirdPartyApiService.Type type = 1;
//
SimulationThirdPartyApiService.State state = 2;
}