去掉new

This commit is contained in:
joylink_zhaoerwei 2023-12-13 14:35:39 +08:00
parent 4c962bc7b0
commit dac1dc8116
2 changed files with 76 additions and 76 deletions

View File

@ -64,8 +64,8 @@ message DeviceRelateRelay {
} }
message Combinationtype { message Combinationtype {
string code = 1; string code = 1;
repeated string refRelays = 2;// repeated string oldrefRelays = 2;//
repeated uint32 newrefRelays = 3;// repeated uint32 refRelays = 3;//
} }
message UniqueIdType { message UniqueIdType {
@ -94,9 +94,9 @@ message CjDataItem {
Q=0; Q=0;
H=1; H=1;
} }
string relayId = 1;//Id string oldrelayId = 1;//Id
PostionType position = 2;//QH对应着吸合 PostionType position = 2;//QH对应着吸合
uint32 newrelayId = 3;//Id uint32 relayId = 3;//Id
} }
/* 驱动 */ /* 驱动 */
@ -111,6 +111,6 @@ message QdDataSet {
} }
message QdData { message QdData {
repeated string refRelays=1;//Id repeated string oldrefRelays=1;//Id
repeated uint32 newrefRelays=2;//Id repeated uint32 refRelays=2;//Id
} }

View File

@ -89,11 +89,11 @@ message ChildTransform {
} }
// //
message CommonInfo { message CommonInfo {
string id = 1; string oldid = 1;
string graphicType = 2; string graphicType = 2;
Transform transform = 3; Transform transform = 3;
repeated ChildTransform childTransforms = 4; repeated ChildTransform childTransforms = 4;
uint32 newId = 5; uint32 id = 5;
} }
// message Link { // message Link {
@ -131,12 +131,12 @@ message ConcentrationDividingLine {
CommonInfo common = 1; CommonInfo common = 1;
string code = 2; // string code = 2; //
repeated Point points = 3; // repeated Point points = 3; //
string refLeftStationId = 4;//id string oldrefLeftStationId = 4;//id
string refRightStationId = 5;//id string oldrefRightStationId = 5;//id
repeated NodeConWithSec nodeConWithSecs = 6;// 线 repeated NodeConWithSec nodeConWithSecs = 6;// 线
bool isOtherLineConcentrationDividingLine = 7;//线线 bool isOtherLineConcentrationDividingLine = 7;//线线
uint32 newrefLeftStationId = 8;//id uint32 refLeftStationId = 8;//id
uint32 newrefRightStationId = 9;//id uint32 refRightStationId = 9;//id
} }
message NodeConWithSec { message NodeConWithSec {
@ -158,21 +158,21 @@ message Platform {
//int32 refStationIndex = 6; // //int32 refStationIndex = 6; //
// repeated string centralizedStations = 7; // // repeated string centralizedStations = 7; //
//repeated RelatedRef platformRef = 8; // //repeated RelatedRef platformRef = 8; //
string refStationId = 9; //id string oldrefStationId = 9; //id
string refSectionId = 10; //id string oldrefSectionId = 10; //id
string refEsbRelayCode = 11;// string refEsbRelayCode = 11;//
TypeOfPlatform type = 12; // TypeOfPlatform type = 12; //
uint32 newrefStationId = 13; //id uint32 refStationId = 13; //id
uint32 newrefSectionId = 14; //id uint32 refSectionId = 14; //id
} }
message ScreenDoor { message ScreenDoor {
CommonInfo common = 1; CommonInfo common = 1;
string code = 2; string code = 2;
//int32 sonDoorAmount = 3; // //int32 sonDoorAmount = 3; //
string refPlatformId = 4; // string oldrefPlatformId = 4; //
//repeated ScreenDoorGroup screenDoorGroupList = 5;// //repeated ScreenDoorGroup screenDoorGroupList = 5;//
uint32 newRefPlatformId = 6; // uint32 refPlatformId = 6; //
} }
message ScreenDoorConfig { message ScreenDoorConfig {
@ -198,8 +198,8 @@ message Station {
string stationName = 9; // string stationName = 9; //
//string stationNameAcronym = 10; // //string stationNameAcronym = 10; //
bool depots = 11; // bool depots = 11; //
repeated string manageStations = 12; // -id repeated string oldmanageStations = 12; // -id
repeated uint32 newmanageStations = 13; // -id repeated uint32 manageStations = 13; // -id
} }
message TrainWindow { message TrainWindow {
@ -220,15 +220,15 @@ message AxleCounting {
// int32 index = 5; // // int32 index = 5; //
//bool invent = 6; //-- //bool invent = 6; //--
TypeDetectionPoint type = 7; // TypeDetectionPoint type = 7; //
repeated string centralizedStations = 8; // Id列表 repeated string oldcentralizedStations = 8; // Id列表
repeated uint32 newcentralizedStations = 9; // Id列表 repeated uint32 centralizedStations = 9; // Id列表
} }
message GenerateAxleCountingConfig { message GenerateAxleCountingConfig {
repeated string bbConnect = 1; //bb连接处生成计轴的道岔id() repeated string oldbbConnect = 1; //bb连接处生成计轴的道岔id()
repeated string noGenerateGroup = 2;// repeated string oldnoGenerateGroup = 2;//
repeated uint32 newbbConnect = 3; //bb连接处生成计轴的道岔id() repeated uint32 bbConnect = 3; //bb连接处生成计轴的道岔id()
repeated uint32 newnoGenerateGroup = 4;// repeated uint32 noGenerateGroup = 4;//
} }
// message Train { // message Train {
@ -260,15 +260,15 @@ message Turnout { //(后端不关注)
// KilometerSystem kilometerSystem = 12; // // KilometerSystem kilometerSystem = 12; //
repeated KilometerSystem kilometerSystem = 13; // repeated KilometerSystem kilometerSystem = 13; //
// int32 index = 14; // // int32 index = 14; //
string paTrackSectionId = 15; // A端轨道区段id string oldpaTrackSectionId = 15; // A端轨道区段id
string pbTrackSectionId = 16; // B端轨道区段id string oldpbTrackSectionId = 16; // B端轨道区段id
string pcTrackSectionId = 17; // C端轨道区段id string oldpcTrackSectionId = 17; // C端轨道区段id
SwitchMachineType switchMachineType = 18; // SwitchMachineType switchMachineType = 18; //
repeated string centralizedStations = 19; // Id列表 repeated string oldcentralizedStations = 19; // Id列表
repeated uint32 newcentralizedStations = 20; // Id列表 repeated uint32 centralizedStations = 20; // Id列表
uint32 newpaTrackSectionId = 21; // A端轨道区段id uint32 paTrackSectionId = 21; // A端轨道区段id
uint32 newpbTrackSectionId = 22; // B端轨道区段id uint32 pbTrackSectionId = 22; // B端轨道区段id
uint32 newpcTrackSectionId = 23; // C端轨道区段id uint32 pcTrackSectionId = 23; // C端轨道区段id
} }
@ -292,7 +292,7 @@ message Signal {
KilometerSystem kilometerSystem = 6; KilometerSystem kilometerSystem = 6;
// int32 index = 7; // // int32 index = 7; //
RelatedRef refDev = 8; /// RelatedRef refDev = 8; ///
repeated string centralizedStations = 9; // Id列表 repeated string oldcentralizedStations = 9; // Id列表
// //
// //
// //
@ -312,7 +312,7 @@ message Signal {
Model mt = 10; Model mt = 10;
//string belongStation = 11; // () //string belongStation = 11; // ()
Direction direction = 12; // Direction direction = 12; //
repeated uint32 newcentralizedStations = 13; // Id列表 repeated uint32 centralizedStations = 13; // Id列表
} }
/** 上下行(区段/信号机) */ /** 上下行(区段/信号机) */
@ -341,18 +341,18 @@ message Section {
RelatedRef paRef = 4; // A端关联的设备()() RelatedRef paRef = 4; // A端关联的设备()()
RelatedRef pbRef = 5; // B端关联的设备()() RelatedRef pbRef = 5; // B端关联的设备()()
SectionType sectionType = 6; // SectionType sectionType = 6; //
repeated string axleCountings = 7; // repeated string oldaxleCountings = 7; //
// int32 index = 8; // // int32 index = 8; //
string trackSectionId = 9; // id string oldtrackSectionId = 9; // id
bool isCurve = 10; // 线 bool isCurve = 10; // 线
int32 segmentsCount = 12; // 线 int32 segmentsCount = 12; // 线
repeated string centralizedStations = 13; // Id列表 repeated string oldcentralizedStations = 13; // Id列表
RunningDirection normalRunningDirection = 14; // RunningDirection normalRunningDirection = 14; //
bool isTurnBackZone = 15; // bool isTurnBackZone = 15; //
Direction direction = 16; // Direction direction = 16; //
repeated uint32 newaxleCountings = 17; // repeated uint32 axleCountings = 17; //
uint32 newtrackSectionId = 18; // id uint32 trackSectionId = 18; // id
repeated uint32 newcentralizedStations = 19; // Id列表 repeated uint32 centralizedStations = 19; // Id列表
} }
// //
@ -378,9 +378,9 @@ message RelatedRef {
} }
DeviceType deviceType = 1; // DeviceType deviceType = 1; //
string id = 2; //ID string oldid = 2; //ID
DevicePort devicePort = 3; // DevicePort devicePort = 3; //
uint32 newid = 4; uint32 id = 4;
} }
// //
@ -409,10 +409,10 @@ message Transponder { // 应答器
// int32 index = 4; // // int32 index = 4; //
KilometerSystem kilometerSystem = 5; // KilometerSystem kilometerSystem = 5; //
RelatedRef TransponderRef = 6; // RelatedRef TransponderRef = 6; //
repeated string centralizedStations = 7; // Id列表 repeated string oldcentralizedStations = 7; // Id列表
bytes fixedTelegram = 8;// bytes fixedTelegram = 8;//
TransponderTypeEnum type = 9;// TransponderTypeEnum type = 9;//
repeated uint32 newcentralizedStations = 10; // Id列表 repeated uint32 centralizedStations = 10; // Id列表
} }
message SimpleRef { message SimpleRef {
@ -421,8 +421,8 @@ message SimpleRef {
AxleCounting = 1; AxleCounting = 1;
} }
DeviceType deviceType = 1; DeviceType deviceType = 1;
string id = 2; string oldid = 2;
uint32 newid = 3; uint32 id = 3;
} }
message SectionLink { message SectionLink {
@ -455,11 +455,11 @@ message LogicSection { // 逻辑区段
CommonInfo common = 1; CommonInfo common = 1;
string code = 2; // string code = 2; //
repeated Point points = 3; repeated Point points = 3;
string axleSectionId = 4; // Id string oldaxleSectionId = 4; // Id
// int32 index = 5; // // int32 index = 5; //
string turnoutId = 6; // idC端关联的轨道link string oldturnoutId = 6; // idC端关联的轨道link
uint32 newaxleSectionId = 7; // Id uint32 axleSectionId = 7; // Id
uint32 newturnoutId = 8; // idC端关联的轨道link uint32 turnoutId = 8; // idC端关联的轨道link
} }
message TrackSection { // message TrackSection { //
@ -473,11 +473,11 @@ message TrackSection { //轨道区段
// int32 index = 4; // // int32 index = 4; //
TrackSectionType type = 5; // TrackSectionType type = 5; //
string destinationCode = 6; // string destinationCode = 6; //
repeated string trackLogicSection = 7; //id() repeated string oldtrackLogicSection = 7; //id()
// //id(/)(/) // //id(/)(/)
bool isCurve = 8; // 线 bool isCurve = 8; // 线
int32 segmentsCount = 9; // 线 int32 segmentsCount = 9; // 线
repeated uint32 newtrackLogicSection = 10; //id() repeated uint32 trackLogicSection = 10; //id()
} }
message TrackLogicSection { // message TrackLogicSection { //
@ -508,10 +508,10 @@ message SpksSwitch {
bool flip = 3; // bool flip = 3; //
// int32 index = 4; // // int32 index = 4; //
// int32 refStand = 5; // // int32 refStand = 5; //
repeated string refSections = 6; // id repeated string oldrefSections = 6; // id
string refStand = 7; // string oldrefStand = 7; //
repeated uint32 newrefSections = 8; // id repeated uint32 refSections = 8; // id
uint32 newrefStand = 9; // uint32 refStand = 9; //
} }
message EsbButton { message EsbButton {
@ -520,8 +520,8 @@ message EsbButton {
bool flip = 3; // bool flip = 3; //
// int32 index = 4; // // int32 index = 4; //
// int32 refStand = 5; // // int32 refStand = 5; //
string refStand = 6; // string oldrefStand = 6; //
uint32 newrefStand = 7; // uint32 refStand = 7; //
} }
message GatedBox { message GatedBox {
@ -529,9 +529,9 @@ message GatedBox {
string code = 2; string code = 2;
bool flip = 3; // bool flip = 3; //
// int32 index = 4; // // int32 index = 4; //
string refScreenDoor = 5; // string oldrefScreenDoor = 5; //
string refGatedBoxMapCode = 6; // Code string refGatedBoxMapCode = 6; // Code
uint32 newrefScreenDoor = 7; // uint32 refScreenDoor = 7; //
} }
/** 坡度公里标 */ /** 坡度公里标 */
@ -564,16 +564,16 @@ message Slope {
CommonInfo common = 1; CommonInfo common = 1;
repeated Point points = 2; repeated Point points = 2;
sint32 slopeNumber = 3; //-- sint32 slopeNumber = 3; //--
repeated string refDeviceId = 4; // () repeated string oldrefDeviceId = 4; // ()
repeated uint32 newrefDeviceId = 5; // () repeated uint32 refDeviceId = 5; // ()
} }
message Curvature { message Curvature {
CommonInfo common = 1; CommonInfo common = 1;
repeated Point points = 2; repeated Point points = 2;
sint32 curvatureNumber = 3; //线-- sint32 curvatureNumber = 3; //线--
repeated string refDeviceId = 4; // 线() repeated string oldrefDeviceId = 4; // 线()
repeated uint32 newrefDeviceId = 5; // 线() repeated uint32 refDeviceId = 5; // 线()
} }
// link结构 // link结构
@ -595,9 +595,9 @@ message CalculateLink {
message DepartureTimer { message DepartureTimer {
CommonInfo common = 1; CommonInfo common = 1;
string code = 2; string code = 2;
string refStand = 3; // string oldrefStand = 3; //
string runDirection = 4; // string runDirection = 4; //
uint32 newrefStand = 5; // uint32 refStand = 5; //
} }
message AutoReturnBox { message AutoReturnBox {
@ -605,8 +605,8 @@ message AutoReturnBox {
string code = 2; string code = 2;
bool flip = 3; // bool flip = 3; //
int32 index = 4; // int32 index = 4; //
string refStand = 5; // string oldrefStand = 5; //
uint32 newrefStand = 6; // uint32 refStand = 6; //
} }
message UniqueIdOfStationLayout { message UniqueIdOfStationLayout {
@ -630,14 +630,14 @@ message StationRelateDevice {
} }
message DeviceCombinationtype { message DeviceCombinationtype {
string code = 1; string code = 1;
repeated string refDevices = 2;// repeated string oldrefDevices = 2;//
repeated int32 newrefDevices = 3;// repeated int32 refDevices = 3;//
} }
message SectionCodePoint { message SectionCodePoint {
string centralizedStation = 1; string centralizedStation = 1;
repeated string sectionIds = 2; //id列表 repeated string oldsectionIds = 2; //id列表
repeated uint32 newsectionIds = 3; //id列表 repeated uint32 sectionIds = 3; //id列表
} }
// //
@ -659,6 +659,6 @@ message Train {
// 线 // 线
message OtherLine { message OtherLine {
string name = 1; string name = 1;
repeated string ids = 2; // id列表 repeated string oldids = 2; // id列表
repeated uint32 newids = 3; // id列表 repeated uint32 ids = 3; // id列表
} }