增加linux编译器 && 目录结构修改

This commit is contained in:
Yuan 2023-06-06 15:10:15 +08:00
parent 9aa54608cd
commit eb0340f7d2
17 changed files with 128 additions and 0 deletions

Binary file not shown.

View File

View File

@ -0,0 +1,128 @@
syntax = "proto3";
package graphicData;
message RtssGraphicStorage {
Canvas canvas = 1;
repeated Link links = 2;
repeated IscsFan iscsFans = 3;
repeated Platform Platforms = 4;
repeated Station stations = 5;
repeated Rect Rects = 6;
repeated Train train = 7;
}
message Canvas {
//
int32 width = 1;
//
int32 height = 2;
//
string backgroundColor = 3;
//
Transform viewportTransform = 4;
}
message Point {
// x坐标
float x = 1;
// y坐标
float y = 2;
}
//
message Transform {
//
Point position = 1;
//
Point scale = 2;
//
float rotation = 3;
//
Point skew = 4;
}
//
message ChildTransform {
//
string name = 1;
//
Transform transform = 2;
}
//
message CommonInfo {
string id = 1;
string graphicType = 2;
Transform transform = 3;
repeated ChildTransform childTransforms = 4;
}
message Link {
CommonInfo common = 1;
string code = 2;
bool curve = 3; // 线
int32 segmentsCount = 4; // 线
int32 lineWidth = 5; // 线
string lineColor = 6; // 线
repeated Point points = 7; //
}
message Rect {
CommonInfo common = 1;
string code = 2;
int32 lineWidth = 3; // 线
string lineColor = 4; // 线
Point point = 5; //
float width = 6; //
float height = 7; //
repeated Point points = 8; //
}
message Platform {
CommonInfo common = 1;
string code = 2;
bool hasdoor = 3; //
string trainDirection = 4; // --
int32 lineWidth = 5; // 线
string lineColor = 6; // 线
string lineColorDoor = 7; // 线
Point point = 8; //
float width = 9; //
float height = 10; //
repeated string orbitCode = 11; //
}
message Station {
CommonInfo common = 1;
string code = 2;
bool hasCircle = 3; // --线
int32 radius = 4; //
int32 borderWidth = 5; // 线
string borderColor = 6; //
string fillColor = 7; //
string codeColor = 8; //
int32 codeFontSize = 9; //
Point point = 10; //
Point circlePoint = 11; //
}
message Train {
CommonInfo common = 1;
string code = 2;
string codeColor = 3; //
int32 codeFontSize = 4; //
Point point = 5; //
string trainDirection = 6; //
bool hasBorder = 7; //
int32 borderWidth = 8; // 线
string borderColor = 9; //
string headColor = 10; //
string bodyColor = 11; //
}
message IscsFan {
CommonInfo common = 1;
string code = 2;
}
message Turnout {}