From 2f39506cf65c9b9d9c69f5d9be60f5b1693ad9a5 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Thu, 16 Nov 2023 15:59:17 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E3=80=90=E5=88=97=E8=BD=A6=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/stationLayoutGraphics.proto | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/protos/stationLayoutGraphics.proto b/protos/stationLayoutGraphics.proto index 5509476..06ba229 100644 --- a/protos/stationLayoutGraphics.proto +++ b/protos/stationLayoutGraphics.proto @@ -533,3 +533,19 @@ message SectionCodePoint { string centralizedStation = 1; repeated string sectionIds = 2; //物理区段id列表 } + +// 列车信息 +message Train { + enum TrainModel { // 车型 + A = 0; + B = 1; + C = 2; + D = 3; + } + TrainModel trainModel = 1; // 车型 + int32 carriageLength = 2; // 列车车厢长度 + int32 totalLength = 3; // 总长度 + int32 minDiameter = 4; // 车轮的最小直径 + int32 maxDiameter = 5; // 车轮的最大直径 + string trainSets = 6; // 编组 +} \ No newline at end of file From 7aa3851130e47c52f91580d4c9d7bc70ec87f128 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 16 Nov 2023 16:22:35 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=BD=A6=E7=AB=99=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E8=BD=A6=E8=BE=86=E6=AE=B5=E5=92=8C=E7=AB=99=E5=90=8D=E7=AE=80?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/stationLayoutGraphics.proto | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/protos/stationLayoutGraphics.proto b/protos/stationLayoutGraphics.proto index 68a6d75..cb8fcae 100644 --- a/protos/stationLayoutGraphics.proto +++ b/protos/stationLayoutGraphics.proto @@ -163,6 +163,8 @@ message Station { int32 index = 7; string refIbpMapCode = 8; // 关联IBP地图Code string stationName = 9; //车站名 + string stationNameAcronym = 10; // 车站名缩写 + bool depots = 11; //是否车辆段 } message TrainWindow { @@ -554,4 +556,4 @@ message Train { int32 minDiameter = 4; // 车轮的最小直径 int32 maxDiameter = 5; // 车轮的最大直径 string trainSets = 6; // 编组 -} \ No newline at end of file +}