diff --git a/libraries/mogo-adas-data/src/main/proto/message_pad.proto b/libraries/mogo-adas-data/src/main/proto/message_pad.proto index b6ac7f2a10..0dc400ce96 100644 --- a/libraries/mogo-adas-data/src/main/proto/message_pad.proto +++ b/libraries/mogo-adas-data/src/main/proto/message_pad.proto @@ -287,6 +287,7 @@ message RecordData bool isRecord = 4; //采集指令, true: 采集, false: 停止采集 bool sustain = 5; //是否持续采集 uint32 bduration = 6; //前溯时长 + repeated string topics = 7; //topic列表 } // message definition for MsgTypeRecordResult @@ -386,7 +387,9 @@ message SetRainModeReq // message definition for MsgTypeRecordDataConfigReq message RecordDataConfigReq { - uint32 reqType = 1; // 0: all, 其他保留 + uint32 reqType = 1; // 0: all, 1:获取当前所有topic列表, 2:配置需要预加载的topic组合 + uint32 recordType = 2; // 0:不需要修改内置类型的topic组合, 1:需要修改内置类型的topic组合 + repeated string topicsNeedToCache = 3; } // message definition for MsgTypeRecordDataConfigResp @@ -394,11 +397,13 @@ message RecordDataType { uint32 id = 1; //采集类型id string desc = 2; //采集类型描述 + repeated string topics = 3; //采集类型必须采集的topic列表 } message RecordDataConfig { repeated RecordDataType recordTypes = 1; + repeated string allTopics = 2; //当前所有topic列表 } // message definition for MsgTypeSubscribeDataReq