公里标增加方向

This commit is contained in:
Yuan 2023-08-04 16:35:51 +08:00
parent c87d9f5a41
commit 4de1eb0d59

View File

@ -26,7 +26,7 @@ message RtssGraphicStorage {
repeated StopPosition stopPositions = 18;
repeated SpksSwitch spksSwitchs = 19;
repeated EsbButton esbButtons = 20; //
repeated GatedBox gateBoxs = 21; // //
repeated GatedBox gateBoxs = 21; // //
repeated Transponder transponders = 22; //
}
@ -107,16 +107,16 @@ message CommonInfo {
message Platform {
CommonInfo common = 1;
string code = 2;
bool hasdoor = 3; //
string direction = 4; // --
int32 index = 5; //
bool hasdoor = 3; //
string direction = 4; // --
int32 index = 5; //
int32 refStationIndex = 6; //
}
message Station {
CommonInfo common = 1;
string code = 2;
//bool hasControl = 3; //
// bool hasControl = 3; //
bool concentrationStations = 4; //
// string kilometerCode = 5; //
KilometerSystem kilometerSystem = 6; //
@ -131,10 +131,11 @@ message TrainWindow {
message AxleCounting {
CommonInfo common = 1;
string code = 2; //
KilometerSystem kilometerSystem = 3; //
repeated RelatedRef axleCountingRef = 4; // id和端口
int32 index = 5; //
string code = 2; //
KilometerSystem kilometerSystem = 3; //
repeated RelatedRef axleCountingRef =
4; // id和端口
int32 index = 5; //
}
// message Train {
@ -147,7 +148,7 @@ message AxleCounting {
// string code = 2;
// }
message Turnout {//()
message Turnout { //()
CommonInfo common = 1;
string code = 2;
repeated Point pointA = 6; // A端坐标列表
@ -158,12 +159,19 @@ message Turnout {//(后端不关注)
RelatedRef pcRef = 11; // C端关联的设备
// KilometerSystem kilometerSystem = 12; //
repeated KilometerSystem kilometerSystem = 13; //
int32 index = 14; //
int32 index = 14; //
}
/** 左右行 **/
enum Direction {
LEFT = 0;
RIGHT = 1;
}
message KilometerSystem {
int64 kilometer = 1; //mm
int64 kilometer = 1; //mm
string coordinateSystem = 2; //
Direction direction = 3; //
}
message Signal {
@ -184,10 +192,10 @@ message Section {
}
CommonInfo common = 1;
string code = 2; //
repeated Point points = 3; //
RelatedRef paRef = 4; // A端关联的设备()()
RelatedRef pbRef = 5; // B端关联的设备()()
string code = 2; //
repeated Point points = 3; //
RelatedRef paRef = 4; // A端关联的设备()()
RelatedRef pbRef = 5; // B端关联的设备()()
SectionType sectionType = 6; //
repeated string axleCountings = 7; //
int32 index = 8; //
@ -230,11 +238,11 @@ message Transponder { // 应答器
CommonInfo common = 1;
string code = 2;
int32 transponderType = 3;
int32 index = 4; //
KilometerSystem kilometerSystem = 5; //
int32 index = 4; //
KilometerSystem kilometerSystem = 5; //
}
message SimpleRef{
message SimpleRef {
enum DeviceType {
Turnout = 0;
AxleCounting = 1;
@ -248,11 +256,15 @@ message SectionLink {
string code = 2;
repeated Point points = 3;
bool up = 4; //
SimpleRef aSimRef = 5; // SectionLink A端连接设备 AxleCounting/Turnout //
SimpleRef bSimRef = 6; // SectionLink B端连接设备 AxleCounting/Turnout //
RelatedRef aRef = 7; // SectionLink A端连接设备 SectionLink/Turnout
RelatedRef bRef = 8; //SectionLink B端连接设备 SectionLink/Turnout
int32 index = 9; //
SimpleRef aSimRef =
5; // SectionLink A端连接设备 AxleCounting/Turnout //
SimpleRef bSimRef =
6; // SectionLink B端连接设备 AxleCounting/Turnout //
RelatedRef aRef =
7; // SectionLink A端连接设备 SectionLink/Turnout
RelatedRef bRef = 8; // SectionLink B端连接设备
// SectionLink/Turnout
int32 index = 9; //
}
message AxleCountingSection { //
@ -262,7 +274,7 @@ message AxleCountingSection { // 计轴区段
RelatedRef paRef = 4; // A端关联的计轴
RelatedRef pbRef = 5; // B端关联的计轴
repeated TurnoutPosRef turnoutPos = 6; //--01
int32 index = 7; //
int32 index = 7; //
}
message LogicSection { //
@ -270,8 +282,9 @@ message LogicSection { // 逻辑区段
string code = 2; //
repeated Point points = 3;
string axleSectionId = 4; // Id
int32 index = 5; //
string turnoutId = 6; // idC端关联的轨道link
int32 index = 5; //
string turnoutId =
6; // idC端关联的轨道link
}
message StopPosition {
@ -281,32 +294,46 @@ message StopPosition {
}
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
bool flip = 3; //
CoachNum coachNum = 4; //
int32 index = 5; //
int32 index = 5; //
KilometerSystem kilometerSystem = 6;
}
message SpksSwitch {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
int32 index = 4; //
int32 refStand = 5; //
bool flip = 3; //
int32 index = 4; //
int32 refStand = 5; //
repeated string refSections = 6; // id
}
message EsbButton {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
int32 index = 4; //
bool flip = 3; //
int32 index = 4; //
int32 refStand = 5; //
}
message GatedBox{
message GatedBox {
CommonInfo common = 1;
string code = 2;
bool flip = 3; //
bool flip = 3; //
int32 index = 4; //
}
/** 坡度公里标 */
message SlopeKiloMarker {
CommonInfo common = 1;
string code = 2;
KilometerSystem kilometerSystem = 4; //
}
/** 弯径公里标 */
message turningRadiusKiloMarker {
CommonInfo common = 1;
string code = 2;
KilometerSystem kilometerSystem = 4; //
}