diff --git a/protos/tccGraphics.proto b/protos/tccGraphics.proto index 433c4fa..dd76ed6 100644 --- a/protos/tccGraphics.proto +++ b/protos/tccGraphics.proto @@ -10,6 +10,7 @@ message TccGraphicStorage { repeated TccText tccTexts = 3; repeated TccKey tccKeys = 4; repeated TccHandle tccHandles = 5; + repeated TccLight tccLights = 6; } /** TCC按钮 */ @@ -44,3 +45,17 @@ message TccHandle { graphicData.CommonInfo common = 1; string code = 2; } + +/** TCC灯 */ +message TccLight { + graphicData.CommonInfo common = 1; + string code = 2; + TccElementColor lightColor = 3; + bool activeLevel = 4; +} + +enum TccElementColor { + green = 0; + red = 1; + blue = 2; +}