信号机模型枚举
This commit is contained in:
parent
fe2d65a91d
commit
f1baf048c5
@ -238,13 +238,18 @@ message Signal {
|
|||||||
repeated string centralizedStations = 9; // 集中站列表
|
repeated string centralizedStations = 9; // 集中站列表
|
||||||
// 信号机模型类型枚举
|
// 信号机模型类型枚举
|
||||||
// 从左向右,最左边为靠近灯座的灯
|
// 从左向右,最左边为靠近灯座的灯
|
||||||
|
// 如果没有说明,默认不封灯,无引导
|
||||||
|
// F-封 D-单 Y-有、带
|
||||||
|
// H-红 L-绿 U-黄 A-蓝 B-白
|
||||||
enum Model{
|
enum Model{
|
||||||
HLU = 0;//红绿黄
|
HL = 0; //2XH-1 红绿
|
||||||
HL = 1;//红绿,
|
HLU_FU = 1; //2XH-1 红绿黄,封黄灯,无引导
|
||||||
HLU_FU = 2;//红绿黄,封黄灯
|
HLU_DU_YY = 2; //3XH-1 红绿黄,不封灯,有单黄,带引导
|
||||||
HLU_FL = 3;//红绿黄,封绿
|
HLU_YY = 3; //3XH-2或JDXH 红绿黄,不封灯,无单黄,带引导
|
||||||
AB = 4;//蓝白
|
HLU_FL_DU_YY = 4;//3XH-3 红绿黄,封绿灯,有单黄,带引导
|
||||||
HBU = 5;//红白黄
|
HLU_DU = 5; //3XH-4 红绿黄,不封灯,有单黄,无引导
|
||||||
|
AB = 6; //DXCH 蓝白
|
||||||
|
HBU_DU = 7; //JCKXH 红白黄,不封灯,有单黄,无引导
|
||||||
}
|
}
|
||||||
// 信号机模型类型
|
// 信号机模型类型
|
||||||
Model mt = 10;
|
Model mt = 10;
|
||||||
|
Loading…
Reference in New Issue
Block a user