rts-sim-module/proto/src/component/signal.proto
2023-10-19 13:43:31 +08:00

36 lines
426 B
Protocol Buffer

syntax = "proto3";
package component;
option go_package = "./component/component_proto";
// 信号机
message Signal {
//信号机故障
enum Fault {
// 灯丝断丝
DS = 0;
}
//信号机故障列表
repeated Fault fault = 1;
}
// 灯
message Light{
//灯色
enum Color {
//无
N = 0;
//绿
L = 1;
//红
H = 2;
//黄
U = 3;
//白
B=4;
//蓝
A=5;
}
}