修改protoc结构

This commit is contained in:
joylink_zhaoerwei 2024-10-10 14:36:56 +08:00
parent b271b96e0f
commit ea8b911846

View File

@ -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;
}