【计算link结构】
This commit is contained in:
parent
83338e4476
commit
5bb3958b1e
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user