From 9841fd10c915ee74029c6f8db2669698c06e0ce2 Mon Sep 17 00:00:00 2001 From: xzb <223@qq.com> Date: Thu, 19 Oct 2023 17:39:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E5=8F=B7=E6=9C=BA=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/stationLayoutGraphics.proto | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/protos/stationLayoutGraphics.proto b/protos/stationLayoutGraphics.proto index f1c0501..7f3c829 100644 --- a/protos/stationLayoutGraphics.proto +++ b/protos/stationLayoutGraphics.proto @@ -234,18 +234,18 @@ message Signal { int32 index = 7; //索引 RelatedRef refDev = 8; //关联设备(区段/道岔) repeated string centralizedStations = 9; // 集中站列表 - // 信号机类型枚举 - enum ModelType{ - N = 0;//无效未知 - HL = 1;//红绿,从左向右,最左边为靠近灯座的灯 + // 信号机模型类型枚举 + // 从左向右,最左边为靠近灯座的灯 + enum Model{ + HLU = 0;//红绿黄 + HL = 1;//红绿, HLU_FU = 2;//红绿黄,封黄灯 - HLU = 3;//红绿黄 - HLU_FL = 4;//红绿黄,封绿 - AB = 5;//蓝白 - HBU = 6;//红白黄 + HLU_FL = 3;//红绿黄,封绿 + AB = 4;//蓝白 + HBU = 5;//红白黄 } - // 信号机类型 - ModelType mt = 10; + // 信号机模型类型 + Model mt = 10; } /** 物理区段(包含岔区和非岔区) */