各设备增加索引

This commit is contained in:
fan 2023-07-14 17:52:59 +08:00
parent 31212079c6
commit 5ead82f5bf

View File

@ -103,6 +103,8 @@ message Platform {
string code = 2; string code = 2;
bool hasdoor = 3; // bool hasdoor = 3; //
string direction = 4; // -- string direction = 4; // --
int32 index = 5; //
int32 refStationIndex = 6; //
} }
message Station { message Station {
@ -112,6 +114,7 @@ message Station {
bool concentrationStations = 4; // bool concentrationStations = 4; //
// string kilometerCode = 5; // // string kilometerCode = 5; //
KilometerSystem kilometerSystem = 6; // KilometerSystem kilometerSystem = 6; //
int32 index = 7;
} }
message TrainWindow { message TrainWindow {
@ -149,6 +152,7 @@ message Turnout {
RelatedRef pcRef = 11; // C端关联的设备 RelatedRef pcRef = 11; // C端关联的设备
// KilometerSystem kilometerSystem = 12; // // KilometerSystem kilometerSystem = 12; //
repeated KilometerSystem kilometerSystem = 13; // repeated KilometerSystem kilometerSystem = 13; //
int32 index = 14; //
} }
message KilometerSystem { message KilometerSystem {
@ -163,6 +167,7 @@ message Signal {
// int64 kilometer = 4; // int64 kilometer = 4;
// string coordinateSystem = 5; // string coordinateSystem = 5;
KilometerSystem kilometerSystem = 6; KilometerSystem kilometerSystem = 6;
int32 index = 7; //
} }
/** 物理区段(包含岔区和非岔区) */ /** 物理区段(包含岔区和非岔区) */