修改protoc结构
This commit is contained in:
parent
b271b96e0f
commit
ea8b911846
@ -5,7 +5,7 @@ package iscsGraphicData;
|
||||
|
||||
message IscsGraphicStorage {
|
||||
repeated CCTVOfStationControlStorage cctvOfStationControlStorages = 1;
|
||||
repeated FASPlatformAlarmStorage fasPlatformAlarmStorages = 2;
|
||||
repeated FASOfPlatformAlarmStorage fasOfPlatformAlarmStorages = 2;
|
||||
}
|
||||
|
||||
message UniqueIdOfStationLayout {
|
||||
@ -14,14 +14,20 @@ message UniqueIdOfStationLayout {
|
||||
string mainCoordinateSystem = 3;//地图的公里标主坐标系
|
||||
}
|
||||
|
||||
message CommonGraphicStorage {
|
||||
repeated Arrow arrows = 1;
|
||||
repeated Text texts = 2;
|
||||
repeated Rect rects = 3;
|
||||
repeated Line lines = 4;
|
||||
}
|
||||
|
||||
message Arrow {
|
||||
common.CommonInfo common = 1;
|
||||
string code = 2;
|
||||
repeated common.Point points = 3;
|
||||
}
|
||||
|
||||
//Iscs文字
|
||||
message IscsText {
|
||||
message Text {
|
||||
common.CommonInfo common = 1;
|
||||
string code = 2;
|
||||
string content = 3;
|
||||
@ -38,6 +44,8 @@ message Rect {
|
||||
float height = 6; //高度
|
||||
int32 radius = 7; //圆角半径
|
||||
common.Point point = 8; // 画第一个点的坐标
|
||||
string fillColor = 9; // 填充色
|
||||
float alpha = 10; // 透明度
|
||||
}
|
||||
|
||||
message Line {
|
||||
@ -96,18 +104,12 @@ message TemperatureDetector {
|
||||
message CCTVOfStationControlStorage {
|
||||
string stationName = 1;
|
||||
common.Canvas canvas = 2;
|
||||
repeated Arrow arrows = 3;
|
||||
repeated IscsText iscsTexts = 4;
|
||||
repeated Rect rects = 5;
|
||||
repeated CCTVButton cctvButtons = 6;
|
||||
repeated Line lines = 7;
|
||||
CommonGraphicStorage commonGraphicStorage = 3;
|
||||
repeated CCTVButton cctvButtons = 4;
|
||||
}
|
||||
|
||||
message FASPlatformAlarmStorage {
|
||||
message FASOfPlatformAlarmStorage {
|
||||
string stationName = 1;
|
||||
common.Canvas canvas = 2;
|
||||
repeated Arrow arrows = 3;
|
||||
repeated IscsText iscsTexts = 4;
|
||||
repeated Rect rects = 5;
|
||||
repeated Line lines = 6;
|
||||
CommonGraphicStorage commonGraphicStorage = 3;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user