修改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 { 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;
} }