[修改]设备状态proto消息中增加计轴区段状态,原“所有区段状态”改为物理区段状态“

This commit is contained in:
thesai 2024-08-12 15:18:52 +08:00
parent a5ebb6869d
commit 4a126b57ac

View File

@ -30,7 +30,7 @@ message LinkState{
repeated string trainId = 2; repeated string trainId = 2;
} }
// //
message SectionState{ message SectionState{
// //
uint32 id = 1; uint32 id = 1;
@ -45,6 +45,12 @@ message SectionState{
bool axlePdrst = 6; bool axlePdrst = 6;
} }
//
message AxleCountingSectionState {
uint32 id = 1;
bool occupied = 2;
}
// //
message SwitchState{ message SwitchState{
// //
@ -816,7 +822,7 @@ message AllDevicesStatus{
repeated TrainMapState trainState = 1; repeated TrainMapState trainState = 1;
// //
repeated SwitchState switchState = 2; repeated SwitchState switchState = 2;
// //
repeated SectionState sectionState = 3; repeated SectionState sectionState = 3;
// //
repeated ReplyState replyState = 4; repeated ReplyState replyState = 4;
@ -844,6 +850,8 @@ message AllDevicesStatus{
repeated CkmState fymStates = 15; repeated CkmState fymStates = 15;
// //
repeated XcjState xcjStates = 16; repeated XcjState xcjStates = 16;
//
repeated AxleCountingSectionState axleCountingSection = 17;
} }
// //