proto文件增加设备状态;实现应答器的相关接口
This commit is contained in:
parent
999608fa88
commit
00828fb909
@ -1,10 +1,12 @@
|
||||
syntax = "proto3";
|
||||
import "stationLayoutGraphics.proto";
|
||||
|
||||
package state;
|
||||
option java_package = "club.joylink.bjrtss.ats.verify.protos";
|
||||
option java_outer_classname = "DeviceStateProto";
|
||||
option go_package = "./ts/protos/state";
|
||||
|
||||
|
||||
//状态定义面向物理层即只定义物理状态,不定义逻辑层状态
|
||||
|
||||
//区段类型
|
||||
@ -446,6 +448,13 @@ message MkxJState {
|
||||
repeated ReplyState replyState = 2;
|
||||
}
|
||||
|
||||
// 应答器状态
|
||||
message BaliseState {
|
||||
uint32 id = 1;
|
||||
graphicData.KilometerSystem km = 2; //当前公里标
|
||||
bytes telegram = 3; //当前报文
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//仿真运行时状态变化量,当前时刻与上一时刻比较得到
|
||||
@ -486,6 +495,8 @@ message AllDevicesStatus{
|
||||
repeated KeyState KeyState = 10;
|
||||
// 站场图站台状态
|
||||
repeated PlatformState platformState = 11;
|
||||
// 应答器状态
|
||||
repeated BaliseState baliseState = 12;
|
||||
}
|
||||
|
||||
//服务器端向前端推送的设备状态信息
|
||||
|
Loading…
Reference in New Issue
Block a user