通用的button-类似组件button

This commit is contained in:
joylink_zhaoerwei 2024-10-16 17:04:53 +08:00
parent 4ce6d5206d
commit c3ebea56bd
1 changed files with 15 additions and 7 deletions

View File

@ -20,6 +20,7 @@ message CommonGraphicStorage {
repeated Rect rects = 3; repeated Rect rects = 3;
repeated Line lines = 4; repeated Line lines = 4;
repeated Circle circles = 5; repeated Circle circles = 5;
repeated Button buttons = 6;
} }
message Arrow { message Arrow {
@ -70,16 +71,24 @@ message Circle {
float alpha = 8; float alpha = 8;
} }
//CCTV按钮 message Button {
message CCTVButton {
enum ButtonType { enum ButtonType {
rect = 0; noIcon = 0;//Icon
monitor = 1; // cctvRect = 1;//
semicircle = 2; // cctvMonitor = 2; //
cctvSemicircle = 3; //
} }
common.CommonInfo common = 1; common.CommonInfo common = 1;
string code = 2; string code = 2;
ButtonType buttonType = 3; string codeColor = 3;
int32 codeFontSize = 4;
string belongSubMenu = 5;//ISCS子菜单
ButtonType buttonType = 6;//icon
float width = 7; //
float height = 8; //
int32 radius = 9; //_可变圆
string fillColor = 10; //
float alpha = 11; //
} }
// //
@ -117,7 +126,6 @@ message CCTVOfStationControlStorage {
string stationName = 1; string stationName = 1;
common.Canvas canvas = 2; common.Canvas canvas = 2;
CommonGraphicStorage commonGraphicStorage = 3; CommonGraphicStorage commonGraphicStorage = 3;
repeated CCTVButton cctvButtons = 4;
} }
message FASOfPlatformAlarmStorage { message FASOfPlatformAlarmStorage {