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