From 7d4124b580bbab05e074a23078aa65ac13b96f0b Mon Sep 17 00:00:00 2001 From: weizhihong Date: Tue, 27 Jun 2023 11:24:03 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0ID=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_info.proto | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/protos/device_info.proto b/protos/device_info.proto index 6e7f55d..fe997f4 100644 --- a/protos/device_info.proto +++ b/protos/device_info.proto @@ -7,31 +7,35 @@ option java_outer_classname = "DeviceInfoProto"; // 区段 message Section { + string id = 1; + // 区段编码 - string code = 1; + string code = 2; // 区段类型 - graphicData.Section.SectionType type = 2; + graphicData.Section.SectionType type = 3; // a端公里标 - string paKilometerCode = 3; + string paKilometerCode = 4; // b端公里标 - string pbKilometerCode = 4; + string pbKilometerCode = 5; // 关联区段 - repeated Section children = 5; + repeated Section children = 6; } // 道岔 message Switch { - string code = 1; + string id = 1; - Section paSection = 2; + string code = 2; - Section pbSection = 3; + Section paSection = 3; - Section pcSection = 4; + Section pbSection = 4; + + Section pcSection = 5; }