This commit is contained in:
fan 2023-06-16 13:44:12 +08:00
commit b817d7d21d
2 changed files with 38 additions and 17 deletions

View File

@ -20,6 +20,7 @@ message RtssGraphicStorage {
repeated TrainLine trainLines = 13;
repeated PathLine pathLines = 14;
repeated Polygon polygons = 15;
repeated TrainWindow trainWindows = 16;
}
message Canvas {
@ -107,6 +108,7 @@ message Station {
CommonInfo common = 1;
string code = 2;
bool hasControl = 3; //
bool concentrationStations=4; //
}
message StationLine {
@ -115,6 +117,11 @@ message StationLine {
bool hasTransfer = 3; //
}
message TrainWindow {
CommonInfo common = 1;
string code = 2;
}
message Train {
CommonInfo common = 1;
string code = 2;

View File

@ -2,40 +2,54 @@ syntax = "proto3";
package state; //
import "device_status.proto";
import "LineNetTrainOffsetDiagram.proto";
option java_package = "club.joylink.xiannccda.dto.protos";
option java_outer_classname = "WsMessageProto";
message WsLineMessage {
//线
int32 lineId = 1;
//
repeated state.Rtu rtu = 2;
repeated state.Rtu rtu = 1;
//
repeated state.Station station = 3;
repeated state.Station station = 2;
//
repeated state.Signal signal = 4;
repeated state.Signal signal = 3;
//
repeated state.Entry entry = 5;
repeated state.Entry entry = 4;
//
repeated state.Switch switch = 6;
repeated state.Switch switch = 5;
//
repeated state.Track track = 7;
repeated state.Track track = 6;
//
repeated state.Platform platform = 8;
repeated state.Platform platform = 7;
//
repeated state.Scada scada = 9;
repeated state.Scada scada = 8;
//
repeated state.WaterProofDoor waterProofDoor = 10;
repeated state.WaterProofDoor waterProofDoor = 9;
//
repeated state.WorkArea workArea = 11;
repeated state.WorkArea workArea = 10;
//
repeated state.Gama gama = 12;
repeated state.Gama gama = 11;
//
repeated state.TrainMode trainMode = 13;
repeated state.TrainMode trainMode = 12;
//
repeated state.OccNccFepNetwork netWork = 14;
repeated state.OccNccFepNetwork netWork = 13;
}
message WsMessage {
repeated WsLineMessage message = 1;
// 线
message WsLineNetMessage {
//线
repeated diagram.LineNetTrainOffsetDiagram diagram = 1;
}
//
message WsMessage {
oneof message_oneOf {
// 线
WsLineMessage lineMessage = 1;
// 线
WsLineNetMessage lineNetMessage = 2;
}
}