This commit is contained in:
soul-walker 2024-09-19 00:06:13 +08:00
commit a162241091
4 changed files with 53 additions and 17 deletions

View File

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

View File

@ -0,0 +1,41 @@
syntax = "proto3";
import "iscs_graphic_data.proto";
package FASGraphicData;
message FASGraphicStorage {
iscsGraphicData.Canvas canvas = 1;
repeated iscsGraphicData.Arrow arrows = 2;
repeated iscsGraphicData.IscsText iscsTexts = 3;
repeated iscsGraphicData.Rect rects = 4;
repeated ManualAlarmButton manualAlarmButtons = 5;
repeated HydrantAlarmButton hydrantAlarmButtons = 6;
repeated GasExtinguishing gasExtinguishings = 7;
}
message ManualAlarmButton { //
iscsGraphicData.CommonInfo common = 1;
string code = 2;
}
message HydrantAlarmButton { //
iscsGraphicData.CommonInfo common = 1;
string code = 2;
}
message GasExtinguishing { //
iscsGraphicData.CommonInfo common = 1;
string code = 2;
}
message SmokeDetector { //
iscsGraphicData.CommonInfo common = 1;
string code = 2;
}
message TemperatureDetector { //
iscsGraphicData.CommonInfo common = 1;
string code = 2;
}

View File

@ -1,10 +0,0 @@
syntax = "proto3";
import "iscs_graphic_data.proto";
package FireAlarmGraphicData;
message FireAlarmGraphicStorage {
iscsGraphicData.Canvas canvas = 1;
repeated iscsGraphicData.Arrow arrows = 2;
repeated iscsGraphicData.IscsText iscsTexts = 3;
}

View File

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