[修改]设备状态proto消息中增加计轴区段状态,原“所有区段状态”改为物理区段状态“
This commit is contained in:
parent
a5ebb6869d
commit
4a126b57ac
@ -30,7 +30,7 @@ message LinkState{
|
||||
repeated string trainId = 2;
|
||||
}
|
||||
|
||||
//区段状态
|
||||
//物理区段状态
|
||||
message SectionState{
|
||||
//区段索引
|
||||
uint32 id = 1;
|
||||
@ -45,6 +45,12 @@ message SectionState{
|
||||
bool axlePdrst = 6;
|
||||
}
|
||||
|
||||
//计轴区段状态
|
||||
message AxleCountingSectionState {
|
||||
uint32 id = 1;
|
||||
bool occupied = 2;
|
||||
}
|
||||
|
||||
//道岔状态
|
||||
message SwitchState{
|
||||
//道岔索引
|
||||
@ -816,7 +822,7 @@ message AllDevicesStatus{
|
||||
repeated TrainMapState trainState = 1;
|
||||
// 所有道岔状态
|
||||
repeated SwitchState switchState = 2;
|
||||
// 所有类型区段状态
|
||||
// 物理区段状态
|
||||
repeated SectionState sectionState = 3;
|
||||
// 所有继电器状态
|
||||
repeated ReplyState replyState = 4;
|
||||
@ -844,6 +850,8 @@ message AllDevicesStatus{
|
||||
repeated CkmState fymStates = 15;
|
||||
// 洗车机状态
|
||||
repeated XcjState xcjStates = 16;
|
||||
// 计轴区段状态
|
||||
repeated AxleCountingSectionState axleCountingSection = 17;
|
||||
}
|
||||
|
||||
//服务器端向前端推送的设备状态信息
|
||||
|
Loading…
Reference in New Issue
Block a user