Merge branch 'master' of git.code.tencent.com:beijing-rtss-test/bj-rtss-message

This commit is contained in:
Yuan 2023-09-07 16:54:34 +08:00
commit cede84e136
3 changed files with 35 additions and 58 deletions

View File

@ -121,19 +121,19 @@ message TrainDynamicState {
//3线NcurveResistance,1=1KN
float curveResistance = 13;
//m/sspeed,1=1km/h
float speed = 14;
int32 speed = 14;
//1m/sheadSpeed1,1=1km/h
float headSensorSpeed1 = 15;
int32 headSensorSpeed1 = 15;
//2m/sheadSpeed2,1=1km/h
float headSensorSpeed2 = 16;
int32 headSensorSpeed2 = 16;
//1m/stailSpeed1,1=1km/h
float tailSensorSpeed1 = 17;
int32 tailSensorSpeed1 = 17;
//2m/stailSpeed2,1=1km/h
float tailSensorSpeed2 = 18;
int32 tailSensorSpeed2 = 18;
//m/sheadRadarSpeed,1=1km/h
float headRadarSpeed = 19;
int32 headRadarSpeed = 19;
//m/stailRadarSpeed,1=1km/h
float tailRadarSpeed = 20;
int32 tailRadarSpeed = 20;
}
// vobc发过来的列车信息
@ -222,3 +222,21 @@ message PushedDevicesStatus{
//
AllDevicesStatus allStatus = 3;
}
// 仿
message SimulationStatus {
string simulationId = 1;
int32 mapId = 2;
int32 projectId = 3;
}
//
message MemoryDataStatus {
repeated SimulationStatus allSimulations = 1;
repeated SimulationStatus addSimulations = 2;
repeated SimulationStatus removeSimulations = 3;
}

View File

@ -1,67 +1,21 @@
syntax = "proto3";
import "stationLayoutGraphics.proto";
package graphicData;
option java_package = "club.joylink.bjrtss.ats.verify.protos";
option java_outer_classname = "LayoutGraphicsProto";
package relayCabinetGraphicData;
option go_package = "./ats/verify/protos/graphicData";
message RelayCabinetGraphicStorage {
Canvas canvas = 1;
graphicData.Canvas canvas = 1;
repeated RelayCabinet relayCabinets = 2;
repeated Relay relays = 3;
}
message Canvas {
//
int32 width = 1;
//
int32 height = 2;
//
string backgroundColor = 3;
//
Transform viewportTransform = 4;
}
message Point {
// x坐标
float x = 1;
// y坐标
float y = 2;
}
//
message Transform {
//
Point position = 1;
//
Point scale = 2;
//
float rotation = 3;
//
Point skew = 4;
}
//
message ChildTransform {
//
string name = 1;
//
Transform transform = 2;
}
//
message CommonInfo {
string id = 1;
string graphicType = 2;
Transform transform = 3;
repeated ChildTransform childTransforms = 4;
}
message RelayCabinet {
CommonInfo common = 1;
graphicData.CommonInfo common = 1;
string code = 2;
}
message Relay {
CommonInfo common = 1;
graphicData.CommonInfo common = 1;
string code = 2;
}

View File

@ -137,6 +137,10 @@ message TrainWindow {
}
message AxleCounting {
enum TypeDetectionPoint {
AxleCounting = 0;
SectionBoundary=1;
}
CommonInfo common = 1;
string code = 2; //
KilometerSystem kilometerSystem = 3; //
@ -144,6 +148,7 @@ message AxleCounting {
4; // id和端口
int32 index = 5; //
bool invent = 6; //--
TypeDetectionPoint type = 7; //
}
// message Train {