From 2de479ce4bf563c50c06c9bff31fa20262e7c51c Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Tue, 19 Dec 2023 16:19:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=9A=84proto=20id=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_info.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/protos/device_info.proto b/protos/device_info.proto index e2ec4d8..539afcc 100644 --- a/protos/device_info.proto +++ b/protos/device_info.proto @@ -7,16 +7,16 @@ option java_outer_classname = "DeviceInfoProto"; // 区段 message Section { - string id = 1; + uint32 id = 1; // 区段编码 string code = 2; // 关联区段 - repeated string childrenId = 3; + repeated uint32 childrenId = 3; // 物理区段Id - string physicalSectionId = 4; + uint32 physicalSectionId = 4; // 目的地码 string destinationCode = 5; @@ -28,7 +28,7 @@ message Section { // 道岔 message Turnout { - string id = 1; + uint32 id = 1; string code = 2;