This commit is contained in:
fan 2023-12-13 16:46:08 +08:00
commit 9c1d8889e2

View File

@ -21,7 +21,7 @@ enum SectionType{
//link的状态
message LinkState{
//link索引
string id = 1;
uint32 id = 1;
//link上的列车id列表
repeated string trainId = 2;
}
@ -29,7 +29,7 @@ message LinkState{
//
message SectionState{
//
string id = 1;
uint32 id = 1;
//
//true-false-
bool occupied = 3;
@ -40,7 +40,7 @@ message SectionState{
//
message SwitchState{
//
string id = 1;
uint32 id = 1;
//()
bool normal = 2;
//
@ -77,7 +77,7 @@ message SwitchState{
//
message SignalState{
//
string id = 1;
uint32 id = 1;
//
Signal.Aspect aspect = 2;
}
@ -107,7 +107,7 @@ message Signal {
//
message PlatformState{
//
string id = 1;
uint32 id = 1;
// EMP继电器状态
bool empj = 2;
// SPKS继电器状态
@ -118,7 +118,7 @@ message PlatformState{
//
message StationState{
//
string id = 1;
uint32 id = 1;
}
//
message TrainState{
@ -133,7 +133,7 @@ message TrainState{
//
bool show = 5;
// ID
string headDeviceId = 6;
uint32 headDeviceId = 6;
//
int64 headOffset = 7;
//
@ -264,7 +264,7 @@ message TrainVobcState {
//
message ReplyState {
//
string id = 1;
uint32 id = 1;
//
bool xh = 2;
//
@ -273,26 +273,26 @@ message ReplyState {
//
message ButtonState {
string id = 1;
uint32 id = 1;
bool down = 2;
bool active = 3; //
}
//
message AlarmState {
string id = 1;
uint32 id = 1;
bool active = 2;
}
//
message LightState {
string id = 1;
uint32 id = 1;
bool active = 2;
}
//
message PsdState {
string id = 1; //id
uint32 id = 1; //id
repeated AsdState asdStates = 2; //
bool mgj = 3; //
}
@ -307,7 +307,7 @@ message AsdState {
//
message KeyState {
string id = 1;
uint32 id = 1;
int32 gear = 2;
}