通用的button-类似组件button
This commit is contained in:
parent
4ce6d5206d
commit
c3ebea56bd
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue