sectionLink

This commit is contained in:
fan 2023-07-12 13:04:55 +08:00
parent f6f49ec193
commit d2b0af4559

View File

@ -192,6 +192,7 @@ message RelatedRef {
Turnout = 1;
TrainWindow = 2;
AxleCounting = 3;
SectionLink = 4;
}
enum DevicePort {
@ -211,11 +212,24 @@ message Separator { // 分隔符
string separatorType = 3;
}
message SimpleRef{
enum DeviceType {
Turnout = 0;
AxleCounting = 1;
}
DeviceType deviceType = 1;
string id = 2;
}
message SectionLink {
CommonInfo common = 1;
string code = 2;
repeated Point points = 3;
string refDevice = 4;
bool up = 4;
SimpleRef aSimRef = 5;
SimpleRef bSimRef = 6;
RelatedRef aRef = 7;
RelatedRef bRef = 8;
}
message AxleCountingSection { //