From 94d315b21bcb21fb81e0e9ba0fe97ca18480b701 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 4 Jul 2024 15:33:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=BD=A6=E9=A9=BE=E9=A9=B6=E5=8F=B0?= =?UTF-8?q?=E5=8A=A0=E7=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/tccGraphics.proto | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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; +}