通用的button-类似组件button

This commit is contained in:
joylink_zhaoerwei 2024-10-16 17:04:53 +08:00
parent 4ce6d5206d
commit c3ebea56bd

View File

@ -20,6 +20,7 @@ message CommonGraphicStorage {
repeated Rect rects = 3;
repeated Line lines = 4;
repeated Circle circles = 5;
repeated Button buttons = 6;
}
message Arrow {
@ -70,16 +71,24 @@ message Circle {
float alpha = 8;
}
//CCTV按钮
message CCTVButton {
message Button {
enum ButtonType {
rect = 0;
monitor = 1; //
semicircle = 2; //
noIcon = 0;//Icon
cctvRect = 1;//
cctvMonitor = 2; //
cctvSemicircle = 3; //
}
common.CommonInfo common = 1;
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;
common.Canvas canvas = 2;
CommonGraphicStorage commonGraphicStorage = 3;
repeated CCTVButton cctvButtons = 4;
}
message FASOfPlatformAlarmStorage {