xian-ncc-da-message/protos/ws_message.proto

50 lines
1.2 KiB
Protocol Buffer
Raw Normal View History

2023-06-16 09:00:14 +08:00
syntax = "proto3";
package state; //模型的可变的状态数据
import "device_status.proto";
2023-06-26 14:47:27 +08:00
import "train.proto";
2023-06-16 09:59:58 +08:00
import "LineNetTrainOffsetDiagram.proto";
2023-06-16 09:00:14 +08:00
option java_package = "club.joylink.xiannccda.dto.protos";
option java_outer_classname = "WsMessageProto";
message WsLineMessage {
// 设备集中站
2023-06-16 09:59:58 +08:00
repeated state.Rtu rtu = 1;
2023-06-16 09:00:14 +08:00
// 车站
2023-06-16 09:59:58 +08:00
repeated state.Station station = 2;
2023-06-16 09:00:14 +08:00
//信号机
2023-06-16 09:59:58 +08:00
repeated state.Signal signal = 3;
2023-06-16 09:00:14 +08:00
//方向设备
2023-06-16 09:59:58 +08:00
repeated state.Entry entry = 4;
2023-06-16 09:00:14 +08:00
//道岔
2023-06-16 09:59:58 +08:00
repeated state.Switch switch = 5;
2023-06-16 09:00:14 +08:00
//轨道
2023-06-16 09:59:58 +08:00
repeated state.Track track = 6;
2023-06-16 09:00:14 +08:00
//站台
2023-06-16 09:59:58 +08:00
repeated state.Platform platform = 7;
2023-06-16 09:00:14 +08:00
//供电区段
2023-06-16 09:59:58 +08:00
repeated state.Scada scada = 8;
2023-06-16 09:00:14 +08:00
//防淹门
2023-06-16 09:59:58 +08:00
repeated state.WaterProofDoor waterProofDoor = 9;
2023-06-16 09:00:14 +08:00
//工作区
2023-06-16 09:59:58 +08:00
repeated state.WorkArea workArea = 10;
2023-06-16 09:00:14 +08:00
//区域自动驾驶
2023-06-16 09:59:58 +08:00
repeated state.Gama gama = 11;
2023-06-16 16:34:00 +08:00
//列车模式
2023-06-16 09:59:58 +08:00
repeated state.TrainMode trainMode = 12;
2023-06-16 16:34:00 +08:00
//信息源网络状态消息
2023-06-16 09:59:58 +08:00
repeated state.OccNccFepNetwork netWork = 13;
2023-06-16 16:34:00 +08:00
//列车信息
2023-06-26 14:47:27 +08:00
repeated train.TrainInfo train = 14;
2023-06-16 09:00:14 +08:00
}
2023-06-16 09:59:58 +08:00
// 线网信息
message WsLineNetMessage {
//线网车辆位置
repeated diagram.LineNetTrainOffsetDiagram diagram = 1;
2023-06-19 16:34:17 +08:00
//列车信息
2023-06-26 14:47:27 +08:00
repeated train.TrainInfo train = 2;
2023-06-16 09:59:58 +08:00
}