diff --git a/protos/ibpGraphics.proto b/protos/ibpGraphics.proto index 16ddf28..3685b1d 100644 --- a/protos/ibpGraphics.proto +++ b/protos/ibpGraphics.proto @@ -6,6 +6,10 @@ package ibpGraphicData; message IBPGraphicStorage { graphicData.Canvas canvas = 1; repeated IBPButton ibpButtons = 2; + repeated IbpAlarm ibpAlarms = 3; + repeated IbpKey ibpKeys = 4; + repeated IbpArrow ibpArrows = 5; + repeated IBPText IBPTexts = 6; } message IBPButton { @@ -26,5 +30,31 @@ message IBPButton { message IBPText { graphicData.CommonInfo common = 1; - int32 size = 2; + string code = 2; + string content = 3; + string color = 4; + int32 fontSize = 5; +} + +message IbpAlarm { + graphicData.CommonInfo common = 1; + string code = 2; +} + +message IbpKey { + graphicData.CommonInfo common = 1; + string code = 2; +} + +message Point { + // x坐标 + float x = 1; + // y坐标 + float y = 2; +} + +message IbpArrow { + graphicData.CommonInfo common = 1; + string code = 2; + repeated Point points = 3; }