12345678910111213141516171819202122232425262728 |
- syntax = "proto2";
- package message;
- import "message_base.proto";
- import "singlechip_msg.proto";
- message Notify_request_msg
- {
- required Base_info base_info=1; //消息类型
- required string command_key=2;
- required Id_struct id_struct=3; //终端id
- required Car_info car_info=4; //车辆标识(车牌号)
- }
- message Notify_response_msg
- {
- required Base_info base_info=1; //消息类型
- required string command_key=2;
- required Id_struct id_struct=3; //终端id
- required Error_manager code=4; //请求结果码
- }
- message Notify_status_msg
- {
- required Base_info base_info=1; //消息类型
- required Id_struct id_struct=2;
- required Error_manager error_manager = 3;
- optional Singlechip_data singlechipData=4; //单片机的数据
- optional bool singlechip_validity = 5;//单片机数据有效性
- }
|