【计算link结构】

This commit is contained in:
weizhihong 2023-08-04 13:45:45 +08:00
parent 83338e4476
commit 5bb3958b1e

View File

@ -29,6 +29,7 @@ message RtssGraphicStorage {
repeated GatedBox gateBoxs = 21; // // repeated GatedBox gateBoxs = 21; // //
repeated Transponder transponders = 22; // repeated Transponder transponders = 22; //
repeated Slope slopes = 23; // repeated Slope slopes = 23; //
repeated CalculateLink CalculateLink = 24; // link信息
} }
message Canvas { message Canvas {
@ -322,3 +323,18 @@ message Slope {
int64 slopeLong = 6; //-- int64 slopeLong = 6; //--
repeated string refDeviceId = 7; // repeated string refDeviceId = 7; //
} }
// link结构
message CalculateLink {
CommonInfo common = 1;
repeated Point points = 2;
int32 length = 3; //mm
RelatedRef aRelatedRef = 4; //A端
RelatedRef bRelatedRef = 5; //B端
repeated DevicePosition devicePositions = 6; //link上的位置
message DevicePosition{
int32 offset = 1;
string deviceId = 2;
}
}