增加公共的矩形绘制
This commit is contained in:
parent
4e447beffa
commit
15378bc73d
@ -8,6 +8,7 @@ message CCTVGraphicStorage {
|
|||||||
repeated CCTVButton cctvButtons = 2;
|
repeated CCTVButton cctvButtons = 2;
|
||||||
repeated iscsGraphicData.Arrow arrows = 3;
|
repeated iscsGraphicData.Arrow arrows = 3;
|
||||||
repeated iscsGraphicData.IscsText iscsTexts = 4;
|
repeated iscsGraphicData.IscsText iscsTexts = 4;
|
||||||
|
repeated iscsGraphicData.Rect rects = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,4 +7,5 @@ message FireAlarmGraphicStorage {
|
|||||||
iscsGraphicData.Canvas canvas = 1;
|
iscsGraphicData.Canvas canvas = 1;
|
||||||
repeated iscsGraphicData.Arrow arrows = 2;
|
repeated iscsGraphicData.Arrow arrows = 2;
|
||||||
repeated iscsGraphicData.IscsText iscsTexts = 3;
|
repeated iscsGraphicData.IscsText iscsTexts = 3;
|
||||||
|
repeated iscsGraphicData.Rect rects = 4;
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,6 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package iscsGraphicData;
|
package iscsGraphicData;
|
||||||
|
|
||||||
message IscsGraphicStorage {
|
|
||||||
Canvas canvas = 1;
|
|
||||||
UniqueIdOfStationLayout UniqueIdPrefix = 2;//地图唯一信息
|
|
||||||
repeated Arrow arrows = 3;
|
|
||||||
repeated IscsText iscsTexts = 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
message Canvas {
|
message Canvas {
|
||||||
// 画布宽
|
// 画布宽
|
||||||
int32 width = 1;
|
int32 width = 1;
|
||||||
@ -83,3 +76,14 @@ message IscsText {
|
|||||||
string color = 4;
|
string color = 4;
|
||||||
int32 fontSize = 5;
|
int32 fontSize = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message Rect {
|
||||||
|
CommonInfo common = 1;
|
||||||
|
string code = 2;
|
||||||
|
int32 lineWidth = 3; // 线宽
|
||||||
|
string lineColor = 4; // 线色
|
||||||
|
float width = 5; //宽度
|
||||||
|
float height = 6; //高度
|
||||||
|
int32 radius = 7; //圆角半径
|
||||||
|
Point point = 8; // 画第一个点的坐标
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user