diff --git a/protos/device_info.proto b/protos/device_info.proto index cca1715..c0bc7d0 100644 --- a/protos/device_info.proto +++ b/protos/device_info.proto @@ -15,17 +15,14 @@ message Section { // 关联区段 repeated string childrenId = 3; - // 公里标 - repeated graphicData.KilometerSystem kilometerSystem = 4; - - // 转换后的公里标数字 - repeated int64 convertKilometer = 5; - // 物理区段Id - string physicalSectionId = 6; - + string physicalSectionId = 4; + // 目的地码 - string destinationCode = 7; + string destinationCode = 5; + + // 公里标信息 + DeviceKilometer kilometer = 6; } // 道岔 @@ -35,10 +32,16 @@ message Turnout { string code = 2; - // 关联道岔的公里标 - repeated graphicData.KilometerSystem kilometerSystem = 3; - - // 转换后的公里标数字 - repeated int64 convertKilometer = 4; + // 公里标信息 + DeviceKilometer kilometer = 3; } +// 公共属性 +message DeviceKilometer { + + int64 minKilometer = 1; + + int64 maxKilometer = 2; + + repeated graphicData.KilometerSystem kilometerSystem = 3; +} \ No newline at end of file